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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=20000,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=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 103.3 kB / 18.35 MB, free: 4.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 188 kB / 19.29 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 47.94 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09046/0.09175, allocations: 46.63 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00449/0.09629, allocations: 2.462 MB / 331.2 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.09775, allocations: 0.6436 MB / 331.8 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.09797, allocations: 7.938 kB / 331.8 MB, free: 0.625 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.0982, allocations: 35.64 kB / 331.9 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.09837, allocations: 71.34 kB / 331.9 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.09869, allocations: 67.84 kB / 332 MB, free: 464 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.099, allocations: 262.8 kB / 332.3 MB, free: 200 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.09922, allocations: 103.4 kB / 332.4 MB, free: 100 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.09935, allocations: 95.64 kB / 332.5 MB, free: 4 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.09952, allocations: 107.7 kB / 332.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.09956, allocations: 24 kB / 332.6 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.895e-05/0.09966, allocations: 27.98 kB / 332.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.09971, allocations: 47.83 kB / 332.7 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.09983, allocations: 123.4 kB / 332.8 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.1001, allocations: 258.9 kB / 333 MB, free: 15.43 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.1002, allocations: 4 kB / 333 MB, free: 15.42 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1002, allocations: 3.938 kB / 333 MB, free: 15.42 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1002, allocations: 0 / 333 MB, free: 15.42 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.0009582/0.1011, allocations: 0.542 MB / 333.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.1012, allocations: 15.89 kB / 333.6 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.1013, allocations: 24.66 kB / 333.6 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.1016, allocations: 228.3 kB / 333.8 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1017, allocations: 20.81 kB / 333.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.1017, allocations: 24.38 kB / 333.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.1021, allocations: 230.1 kB / 334.1 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1022, allocations: 0 / 334.1 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.1022, allocations: 8 kB / 334.1 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1022, allocations: 4 kB / 334.1 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/0.1027, allocations: 153.7 kB / 334.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.104, allocations: 0.8204 MB / 335.1 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.1043, allocations: 162.6 kB / 335.3 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.1045, allocations: 80.77 kB / 335.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.1046, allocations: 7.938 kB / 335.3 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.1046, allocations: 34.56 kB / 335.4 MB, free: 12.89 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.1046, allocations: 0 / 335.4 MB, free: 12.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008719/0.1055, allocations: 339.2 kB / 335.7 MB, free: 12.54 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.1055, allocations: 55.41 kB / 335.8 MB, free: 12.47 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.1057, allocations: 178.6 kB / 335.9 MB, free: 12.28 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.1058, allocations: 33.64 kB / 336 MB, free: 12.24 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1059, allocations: 148.1 kB / 336.1 MB, free: 12.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.1059, allocations: 47.25 kB / 336.2 MB, free: 12.04 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/0.106, allocations: 41.72 kB / 336.2 MB, free: 12 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1061, allocations: 330.8 kB / 336.5 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.1063, allocations: 55.97 kB / 336.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.1064, allocations: 88.25 kB / 336.7 MB, free: 11.51 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.1067, allocations: 151.3 kB / 336.8 MB, free: 11.35 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.1068, allocations: 8 kB / 336.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004299/0.1072, allocations: 210.1 kB / 337 MB, free: 11.12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1072, allocations: 8 kB / 337 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1072, allocations: 8.062 kB / 337 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002103/0.1074, allocations: 44.75 kB / 337.1 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.1076, allocations: 27.98 kB / 337.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/0.1092, allocations: 1.469 MB / 338.6 MB, free: 9.422 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.1094, allocations: 31.8 kB / 338.6 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.1094, allocations: 8 kB / 338.6 MB, free: 9.383 MB / 286.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.0001238/0.1095, allocations: 141.8 kB / 338.8 MB, free: 9.234 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.1096, allocations: 15.81 kB / 338.8 MB, free: 9.219 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.1096, allocations: 21.88 kB / 338.8 MB, free: 9.199 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1096, allocations: 0 / 338.8 MB, free: 9.199 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1096, allocations: 0 / 338.8 MB, free: 9.199 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1096, allocations: 3.938 kB / 338.8 MB, free: 9.195 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009383/0.1106, allocations: 0.5186 MB / 339.3 MB, free: 8.617 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.1106, allocations: 4 kB / 339.3 MB, free: 8.613 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.1108, allocations: 27.98 kB / 339.3 MB, free: 8.586 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/0.1109, allocations: 32.83 kB / 339.4 MB, free: 8.551 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.1109, allocations: 4 kB / 339.4 MB, free: 8.547 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.1119, allocations: 1.457 MB / 340.8 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1119, allocations: 3.938 kB / 340.8 MB, free: 6.949 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006102/0.1125, allocations: 356.1 kB / 341.2 MB, free: 6.582 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.247e-05/0.1126, allocations: 104.9 kB / 341.3 MB, free: 6.461 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.1127, allocations: 4 kB / 341.3 MB, free: 6.457 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.1129, allocations: 19.97 kB / 341.3 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.113, allocations: 19.91 kB / 341.3 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.113, allocations: 12.06 kB / 341.3 MB, free: 6.406 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.929e-05/0.1131, allocations: 124.3 kB / 341.5 MB, free: 6.285 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1131, allocations: 0 / 341.5 MB, free: 6.285 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003354/0.1135, allocations: 55.91 kB / 341.5 MB, free: 6.23 MB / 286.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.000142/0.1136, allocations: 103.1 kB / 341.6 MB, free: 6.117 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005428/0.1142, allocations: 270.7 kB / 341.9 MB, free: 5.84 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1142, allocations: 0 / 341.9 MB, free: 5.84 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002602/0.1145, allocations: 194.5 kB / 342.1 MB, free: 5.637 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.1148, allocations: 31.92 kB / 342.1 MB, free: 5.605 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008123/0.1156, allocations: 459.8 kB / 342.6 MB, free: 5.133 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.116, allocations: 0.7398 MB / 343.3 MB, free: 4.363 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.046e-05/0.1161, allocations: 17.55 kB / 343.3 MB, free: 4.348 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.1162, allocations: 15.44 kB / 343.3 MB, free: 4.332 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1162, allocations: 0 / 343.3 MB, free: 4.332 MB / 286.1 MB Notification: Performance of Templates: time 0.005906/0.1221, allocations: 2.432 MB / 345.8 MB, free: 1.906 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches