Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001391/0.001391, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001594/0.001594, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.893/1.893, allocations: 230.6 MB / 258.2 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 47.92 kB / 378.9 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.4532, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004959/0.4581, allocations: 2.399 MB / 434.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.4598, allocations: 0.6585 MB / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.46, allocations: 4 kB / 435.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.4602, allocations: 31.64 kB / 435.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.4604, allocations: 71.34 kB / 435.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.4607, allocations: 63.86 kB / 435.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.4611, allocations: 274.7 kB / 435.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.4613, allocations: 68.75 kB / 435.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.4615, allocations: 107.6 kB / 436 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.4617, allocations: 107.5 kB / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.4617, allocations: 24 kB / 436.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-05/0.4618, allocations: 28 kB / 436.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.4619, allocations: 47.78 kB / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.462, allocations: 95.59 kB / 436.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004365/0.4624, allocations: 257.8 kB / 436.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4624, allocations: 3.938 kB / 436.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4624, allocations: 0 / 436.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.4624, allocations: 3.938 kB / 436.5 MB, free: 2.484 MB / 334.1 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.001135/0.4636, allocations: 489.6 kB / 437 MB, free: 1.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.4636, allocations: 8.031 kB / 437 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.4637, allocations: 32.8 kB / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.4641, allocations: 170.6 kB / 437.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.4641, allocations: 16.81 kB / 437.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/0.4642, allocations: 24.38 kB / 437.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005557/0.4647, allocations: 251.9 kB / 437.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.4647, allocations: 7.891 kB / 437.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.4648, allocations: 8 kB / 437.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.4648, allocations: 4 kB / 437.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005028/0.4653, allocations: 161.7 kB / 437.7 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.4667, allocations: 0.6929 MB / 438.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.4672, allocations: 146.7 kB / 438.5 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.4674, allocations: 68.83 kB / 438.6 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.4674, allocations: 4 kB / 438.6 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.4675, allocations: 38.5 kB / 438.6 MB, free: 260 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.4675, allocations: 0 / 438.6 MB, free: 260 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001051/0.4685, allocations: 254.3 kB / 438.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.4686, allocations: 55.34 kB / 438.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.4688, allocations: 171.2 kB / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.4688, allocations: 25.7 kB / 439.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.4689, allocations: 152.3 kB / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.076e-05/0.469, allocations: 59.48 kB / 439.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.171e-05/0.4691, allocations: 41.7 kB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4692, allocations: 330.8 kB / 439.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.4694, allocations: 51.91 kB / 439.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.4696, allocations: 92.25 kB / 439.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.47, allocations: 143.2 kB / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.47, allocations: 0 / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006067/0.4706, allocations: 218.2 kB / 440.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4706, allocations: 7.938 kB / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.4706, allocations: 0 / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002309/0.4709, allocations: 40.77 kB / 440.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.4711, allocations: 44.03 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.4726, allocations: 1.331 MB / 441.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.4728, allocations: 31.89 kB / 441.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.4728, allocations: 4 kB / 441.6 MB, free: 13.04 MB / 350.1 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.000156/0.473, allocations: 141.8 kB / 441.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/0.473, allocations: 19.91 kB / 441.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/0.4731, allocations: 13.81 kB / 441.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.4731, allocations: 4 kB / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4731, allocations: 0 / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4731, allocations: 3.984 kB / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008813/0.474, allocations: 442.8 kB / 442.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.474, allocations: 0 / 442.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.4742, allocations: 31.98 kB / 442.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001467/0.4743, allocations: 24.84 kB / 442.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.4743, allocations: 12.08 kB / 442.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.4757, allocations: 1.343 MB / 443.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4757, allocations: 0 / 443.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008165/0.4765, allocations: 359.6 kB / 444 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.434e-05/0.4766, allocations: 27.86 kB / 444 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.4767, allocations: 4 kB / 444.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.4769, allocations: 15.98 kB / 444.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.636e-05/0.477, allocations: 23.89 kB / 444.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.477, allocations: 4 kB / 444.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.4771, allocations: 120 kB / 444.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4771, allocations: 4.062 kB / 444.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004333/0.4775, allocations: 55.89 kB / 444.3 MB, free: 10.23 MB / 350.1 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.0001191/0.4777, allocations: 103.2 kB / 444.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006539/0.4783, allocations: 250.5 kB / 444.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.4783, allocations: 4 kB / 444.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.4787, allocations: 190.8 kB / 444.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.4791, allocations: 27.92 kB / 444.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.4802, allocations: 470 kB / 445.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.4803, allocations: 129.2 kB / 445.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.508e-05/0.4804, allocations: 13.36 kB / 445.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.4805, allocations: 15.44 kB / 445.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4805, allocations: 0 / 445.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of Templates: time 0.007726/0.4882, allocations: 2.647 MB / 448.1 MB, free: 6.375 MB / 350.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.424401319003664]