Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001362/0.001362, allocations: 120.5 kB / 18.45 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 215.8 kB / 19.41 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.464/1.464, allocations: 227.7 MB / 247.9 MB, free: 10.19 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 63.88 kB / 359.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2386, allocations: 50.54 MB / 410.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003909/0.2425, allocations: 2.519 MB / 412.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.2438, allocations: 0.6778 MB / 413.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.2439, allocations: 8 kB / 413.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.2441, allocations: 39.64 kB / 413.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.2442, allocations: 67.34 kB / 413.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.2445, allocations: 63.86 kB / 413.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000322/0.2448, allocations: 262.8 kB / 413.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.245, allocations: 71.42 kB / 413.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.2451, allocations: 107.6 kB / 414 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.2453, allocations: 111.5 kB / 414.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.2453, allocations: 20 kB / 414.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.298e-05/0.2454, allocations: 28 kB / 414.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.2455, allocations: 51.83 kB / 414.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.2456, allocations: 119.4 kB / 414.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.2459, allocations: 258.9 kB / 414.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2459, allocations: 0 / 414.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.2459, allocations: 0 / 414.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.2459, allocations: 0 / 414.6 MB, free: 13.03 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.001011/0.2469, allocations: 0.5456 MB / 415.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.247, allocations: 8.031 kB / 415.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.2471, allocations: 36.8 kB / 415.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.2474, allocations: 232.4 kB / 415.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.2474, allocations: 16.81 kB / 415.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.2475, allocations: 16.38 kB / 415.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.2479, allocations: 234.1 kB / 415.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.248, allocations: 3.953 kB / 415.6 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.248, allocations: 12 kB / 415.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.248, allocations: 8 kB / 415.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004004/0.2484, allocations: 153.7 kB / 415.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.2498, allocations: 0.8129 MB / 416.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.2502, allocations: 154.5 kB / 416.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.2504, allocations: 72.83 kB / 416.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.2504, allocations: 4 kB / 416.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.2504, allocations: 30.56 kB / 416.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.2504, allocations: 0 / 416.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009434/0.2513, allocations: 339.2 kB / 417.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.2514, allocations: 55.41 kB / 417.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.2516, allocations: 178.6 kB / 417.4 MB, free: 9.914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.2516, allocations: 29.7 kB / 417.5 MB, free: 9.879 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.2518, allocations: 144.2 kB / 417.6 MB, free: 9.734 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.745e-05/0.2518, allocations: 67.53 kB / 417.7 MB, free: 9.668 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.591e-05/0.2519, allocations: 37.72 kB / 417.7 MB, free: 9.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.2521, allocations: 334.8 kB / 418 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.2522, allocations: 51.97 kB / 418.1 MB, free: 9.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.2524, allocations: 93.75 kB / 418.2 MB, free: 9.133 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.2527, allocations: 142.7 kB / 418.3 MB, free: 8.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2527, allocations: 0 / 418.3 MB, free: 8.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004965/0.2532, allocations: 230 kB / 418.5 MB, free: 8.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2533, allocations: 4 kB / 418.6 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2533, allocations: 4 kB / 418.6 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/0.2535, allocations: 28.83 kB / 418.6 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.2536, allocations: 35.98 kB / 418.6 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.255, allocations: 1.477 MB / 420.1 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.2552, allocations: 35.88 kB / 420.1 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.2552, allocations: 4 kB / 420.1 MB, free: 7.008 MB / 334.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.2554, allocations: 133.7 kB / 420.3 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.2554, allocations: 19.91 kB / 420.3 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.25e-05/0.2555, allocations: 21.86 kB / 420.3 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2555, allocations: 4 kB / 420.3 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2555, allocations: 0 / 420.3 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2555, allocations: 3.938 kB / 420.3 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008262/0.2563, allocations: 0.5186 MB / 420.8 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2563, allocations: 4 kB / 420.8 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.2565, allocations: 23.98 kB / 420.9 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001142/0.2566, allocations: 32.83 kB / 420.9 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.2566, allocations: 4 kB / 420.9 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.2579, allocations: 1.47 MB / 422.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.2579, allocations: 8 kB / 422.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/0.2586, allocations: 355.1 kB / 422.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.2587, allocations: 101 kB / 422.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.2587, allocations: 8 kB / 422.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.2589, allocations: 24.03 kB / 422.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.2589, allocations: 15.97 kB / 422.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-06/0.259, allocations: 4 kB / 422.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.2591, allocations: 136.2 kB / 423 MB, free: 3.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2591, allocations: 0 / 423 MB, free: 3.891 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003412/0.2594, allocations: 59.89 kB / 423.1 MB, free: 3.832 MB / 334.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.000136/0.2596, allocations: 103.2 kB / 423.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005844/0.2601, allocations: 261.2 kB / 423.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2601, allocations: 0 / 423.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002801/0.2604, allocations: 186.8 kB / 423.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.2607, allocations: 35.3 kB / 423.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008511/0.2616, allocations: 470 kB / 424.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.262, allocations: 0.7359 MB / 424.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.41e-05/0.2621, allocations: 13.55 kB / 424.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.2621, allocations: 15.44 kB / 424.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of SimCode: time 7.32e-07/0.2621, allocations: 0 / 424.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of Templates: time 0.00651/0.2686, allocations: 2.469 MB / 427.3 MB, free: 15.5 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches