Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 80.88 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 146 kB / 23.94 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.42e-05, allocations: 3.656 kB / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002994/0.003019, allocations: 2.374 MB / 321.3 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009681/0.003987, allocations: 0.6252 MB / 321.9 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.00411, allocations: 3.375 kB / 321.9 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.004237, allocations: 32.98 kB / 321.9 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.004363, allocations: 74.64 kB / 322 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.004604, allocations: 65.31 kB / 322.1 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.004856, allocations: 272.5 kB / 322.3 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.005014, allocations: 73.53 kB / 322.4 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.005184, allocations: 152.5 kB / 322.6 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.005321, allocations: 77.78 kB / 322.6 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.005361, allocations: 21.56 kB / 322.7 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.37e-05/0.005444, allocations: 31.95 kB / 322.7 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.444e-05/0.005489, allocations: 47.19 kB / 322.7 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.259e-05/0.005582, allocations: 79 kB / 322.8 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.005904, allocations: 267.8 kB / 323.1 MB, free: 0.957 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.005907, allocations: 1.281 kB / 323.1 MB, free: 0.957 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.42e-07/0.005908, allocations: 3.938 kB / 323.1 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.005913, allocations: 4 kB / 323.1 MB, free: 0.9492 MB / 286.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.0008643/0.006777, allocations: 485.5 kB / 323.6 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.00681, allocations: 9.406 kB / 323.6 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.006918, allocations: 27.84 kB / 323.6 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.007147, allocations: 184.1 kB / 323.8 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.007162, allocations: 18.52 kB / 323.8 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.007203, allocations: 21.78 kB / 323.8 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004278/0.007631, allocations: 252.2 kB / 324.1 MB, free: 240 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.007647, allocations: 0.9844 kB / 324.1 MB, free: 240 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.00767, allocations: 6.75 kB / 324.1 MB, free: 236 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.007679, allocations: 13.66 kB / 324.1 MB, free: 228 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/0.008077, allocations: 156.2 kB / 324.2 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.009316, allocations: 0.69 MB / 324.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.009719, allocations: 149.6 kB / 325.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.009908, allocations: 71.78 kB / 325.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.009922, allocations: 1.375 kB / 325.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.01003, allocations: 33.92 kB / 325.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.01004, allocations: 0 / 325.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009176/0.01095, allocations: 265.9 kB / 325.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.011, allocations: 54.25 kB / 325.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.01118, allocations: 157.7 kB / 325.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.01121, allocations: 31.92 kB / 325.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.01134, allocations: 159.9 kB / 325.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/0.01139, allocations: 54.27 kB / 325.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.199e-05/0.01147, allocations: 41.89 kB / 325.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.01163, allocations: 323.3 kB / 326.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.01181, allocations: 56.67 kB / 326.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.01202, allocations: 99.36 kB / 326.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.01237, allocations: 144 kB / 326.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.01237, allocations: 0 / 326.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000518/0.01289, allocations: 215 kB / 326.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.01291, allocations: 5.594 kB / 326.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.01291, allocations: 1.703 kB / 326.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/0.01312, allocations: 37.47 kB / 326.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.01329, allocations: 35.73 kB / 326.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.0149, allocations: 1.342 MB / 328.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.01509, allocations: 22.55 kB / 328.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.0151, allocations: 9.469 kB / 328.2 MB, free: 13.07 MB / 302.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.0001447/0.01525, allocations: 133.5 kB / 328.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.01529, allocations: 20.69 kB / 328.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.01541, allocations: 19.78 kB / 328.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01542, allocations: 2.719 kB / 328.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.01542, allocations: 1.547 kB / 328.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01543, allocations: 1.406 kB / 328.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008378/0.01626, allocations: 443.7 kB / 328.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.01627, allocations: 8.516 kB / 328.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.01643, allocations: 29.12 kB / 328.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/0.01656, allocations: 32.39 kB / 328.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.01657, allocations: 2.297 kB / 328.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.01785, allocations: 1.34 MB / 330.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.01785, allocations: 5.266 kB / 330.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007845/0.01863, allocations: 353.3 kB / 330.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.0188, allocations: 30.69 kB / 330.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.01882, allocations: 1.828 kB / 330.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.01904, allocations: 21.36 kB / 330.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/0.01911, allocations: 20.67 kB / 330.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.01913, allocations: 6.5 kB / 330.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.01924, allocations: 122.8 kB / 330.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01924, allocations: 0 / 330.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003735/0.01962, allocations: 58.7 kB / 330.8 MB, free: 10.91 MB / 302.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.0001331/0.01975, allocations: 104.4 kB / 330.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007339/0.02048, allocations: 250.5 kB / 331.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02048, allocations: 4 kB / 331.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.02081, allocations: 192.1 kB / 331.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.02113, allocations: 29.95 kB / 331.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008432/0.02197, allocations: 413.6 kB / 331.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.0221, allocations: 126.5 kB / 331.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.454e-05/0.02218, allocations: 15.58 kB / 331.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.02223, allocations: 15.67 kB / 331.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.02223, allocations: 5.281 kB / 332 MB, free: 10.12 MB / 302.1 MB Notification: Performance of Templates: time 0.006895/0.02912, allocations: 2.365 MB / 334.3 MB, free: 9.43 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.407670177519321]