Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 99.53 kB / 21.73 MB, free: 2.688 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002111/0.002111, allocations: 169.1 kB / 25.03 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 250.3 MB, free: 7.855 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.649e-05, allocations: 2.312 kB / 250.3 MB, free: 7.852 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004636/0.004672, allocations: 2.471 MB / 252.8 MB, free: 5.363 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.006452, allocations: 0.6358 MB / 253.4 MB, free: 4.719 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.006591, allocations: 4 kB / 253.4 MB, free: 4.715 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.006768, allocations: 31.66 kB / 253.5 MB, free: 4.684 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.006951, allocations: 75.28 kB / 253.6 MB, free: 4.609 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.007292, allocations: 67.83 kB / 253.6 MB, free: 4.543 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003822/0.007675, allocations: 270.7 kB / 253.9 MB, free: 4.277 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.007902, allocations: 71.92 kB / 254 MB, free: 4.207 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.008146, allocations: 147.7 kB / 254.1 MB, free: 4.062 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.008328, allocations: 91.7 kB / 254.2 MB, free: 3.973 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.757e-05/0.008375, allocations: 20 kB / 254.2 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.595e-05/0.008471, allocations: 24 kB / 254.2 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.008535, allocations: 51.77 kB / 254.3 MB, free: 3.879 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.008655, allocations: 83.83 kB / 254.4 MB, free: 3.797 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.009085, allocations: 267.1 kB / 254.6 MB, free: 3.535 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.009089, allocations: 0 / 254.6 MB, free: 3.535 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.00909, allocations: 0 / 254.6 MB, free: 3.535 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.009097, allocations: 0 / 254.6 MB, free: 3.535 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001053/0.01015, allocations: 0.5622 MB / 255.2 MB, free: 2.938 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.01019, allocations: 11.98 kB / 255.2 MB, free: 2.926 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.01037, allocations: 44.8 kB / 255.2 MB, free: 2.883 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.0107, allocations: 192.5 kB / 255.4 MB, free: 2.664 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.01073, allocations: 16.88 kB / 255.4 MB, free: 2.648 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.117e-05/0.01078, allocations: 28.38 kB / 255.5 MB, free: 2.621 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005058/0.01128, allocations: 258.7 kB / 255.7 MB, free: 2.348 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.0113, allocations: 192 / 255.7 MB, free: 2.348 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.01132, allocations: 8.375 kB / 255.7 MB, free: 2.34 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.01134, allocations: 7.938 kB / 255.7 MB, free: 2.332 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003687/0.01171, allocations: 149.9 kB / 255.9 MB, free: 2.188 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.01324, allocations: 0.8244 MB / 256.7 MB, free: 1.309 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.01366, allocations: 159 kB / 256.9 MB, free: 1.141 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.01384, allocations: 67.66 kB / 256.9 MB, free: 1.07 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.01386, allocations: 4 kB / 256.9 MB, free: 1.066 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.0139, allocations: 37.39 kB / 257 MB, free: 1.02 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.0139, allocations: 0 / 257 MB, free: 1.02 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008674/0.01477, allocations: 256.1 kB / 257.2 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.01483, allocations: 51.41 kB / 257.3 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.01507, allocations: 234.6 kB / 257.5 MB, free: 464 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.01509, allocations: 33.7 kB / 257.5 MB, free: 424 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.01526, allocations: 199 kB / 257.7 MB, free: 220 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.762e-05/0.01533, allocations: 59.59 kB / 257.8 MB, free: 160 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-05/0.01542, allocations: 55.36 kB / 257.8 MB, free: 96 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0003115/0.01573, allocations: 0.4962 MB / 258.3 MB, free: 15.59 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.01587, allocations: 47.97 kB / 258.4 MB, free: 15.54 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.01605, allocations: 106.3 kB / 258.5 MB, free: 15.41 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.01634, allocations: 157.8 kB / 258.6 MB, free: 15.24 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01634, allocations: 4 kB / 258.7 MB, free: 15.24 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004709/0.01681, allocations: 209.1 kB / 258.9 MB, free: 15.02 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.01683, allocations: 4 kB / 258.9 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.01684, allocations: 4 kB / 258.9 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002586/0.0171, allocations: 39.66 kB / 258.9 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.01725, allocations: 39.86 kB / 258.9 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.01935, allocations: 1.865 MB / 260.8 MB, free: 12.94 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.01949, allocations: 23.88 kB / 260.8 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.0195, allocations: 4 kB / 260.8 MB, free: 12.91 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001819/0.01968, allocations: 172.7 kB / 261 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.01974, allocations: 35.77 kB / 261 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.73e-05/0.0198, allocations: 21.8 kB / 261.1 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.0198, allocations: 4.031 kB / 261.1 MB, free: 12.67 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.0198, allocations: 0 / 261.1 MB, free: 12.67 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01981, allocations: 4 kB / 261.1 MB, free: 12.67 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000806/0.02061, allocations: 0.5008 MB / 261.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.02062, allocations: 0 / 261.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.02076, allocations: 27.98 kB / 261.6 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001441/0.0209, allocations: 31.67 kB / 261.6 MB, free: 12.06 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.02092, allocations: 4 kB / 261.6 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001704/0.02263, allocations: 1.869 MB / 263.5 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02263, allocations: 0 / 263.5 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006555/0.02328, allocations: 399.3 kB / 263.9 MB, free: 9.648 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.02335, allocations: 19.94 kB / 263.9 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.02337, allocations: 0 / 263.9 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.02352, allocations: 16.2 kB / 263.9 MB, free: 9.613 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.12e-05/0.02361, allocations: 27.94 kB / 263.9 MB, free: 9.586 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.02362, allocations: 0 / 263.9 MB, free: 9.586 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.02377, allocations: 164.8 kB / 264.1 MB, free: 9.426 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02377, allocations: 0 / 264.1 MB, free: 9.426 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000342/0.02411, allocations: 71.78 kB / 264.2 MB, free: 9.355 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000146/0.02426, allocations: 95.19 kB / 264.3 MB, free: 9.254 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006249/0.02488, allocations: 320 kB / 264.6 MB, free: 8.922 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.02489, allocations: 4 kB / 264.6 MB, free: 8.918 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003322/0.02522, allocations: 260.8 kB / 264.8 MB, free: 8.645 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.02556, allocations: 31.88 kB / 264.9 MB, free: 8.613 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008819/0.02644, allocations: 422.5 kB / 265.3 MB, free: 8.172 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.02659, allocations: 125.2 kB / 265.4 MB, free: 8.031 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.253e-05/0.02666, allocations: 17.47 kB / 265.4 MB, free: 8.012 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.02671, allocations: 20.5 kB / 265.4 MB, free: 7.992 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02671, allocations: 0 / 265.4 MB, free: 7.992 MB / 250.7 MB Notification: Performance of Templates: time 0.007471/0.03418, allocations: 2.436 MB / 267.9 MB, free: 5.582 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.853660169988871]