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.00118/0.00118, allocations: 100.2 kB / 18.39 MB, free: 4.531 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.001155/0.001155, allocations: 188.3 kB / 19.33 MB, free: 3.605 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.524/1.524, allocations: 205.1 MB / 225.2 MB, free: 12.2 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.001214/0.001214, allocations: 51.92 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08383/0.08505, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003683/0.08877, allocations: 2.463 MB / 378.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.09, allocations: 0.6473 MB / 378.9 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.09015, allocations: 4 kB / 378.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.0903, allocations: 35.64 kB / 379 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.09044, allocations: 67.42 kB / 379 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.0907, allocations: 63.84 kB / 379.1 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.09099, allocations: 266.8 kB / 379.3 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.09119, allocations: 107.4 kB / 379.4 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.09132, allocations: 103.6 kB / 379.5 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.09148, allocations: 111.5 kB / 379.7 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.09152, allocations: 20 kB / 379.7 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.439e-05/0.09161, allocations: 24 kB / 379.7 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.09167, allocations: 43.84 kB / 379.7 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.09178, allocations: 123.4 kB / 379.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.09207, allocations: 259 kB / 380.1 MB, free: 256 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.09208, allocations: 0 / 380.1 MB, free: 256 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09209, allocations: 0 / 380.1 MB, free: 256 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.0921, allocations: 0 / 380.1 MB, free: 256 kB / 318.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.167/0.2591, allocations: 0.5334 MB / 380.6 MB, free: 13.13 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2592, allocations: 15.44 kB / 380.7 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.2593, allocations: 29.33 kB / 380.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.2596, allocations: 235.2 kB / 380.9 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.2597, allocations: 17.3 kB / 380.9 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.2597, allocations: 20.72 kB / 381 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004426/0.2602, allocations: 231.5 kB / 381.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.2602, allocations: 0 / 381.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.2602, allocations: 13.03 kB / 381.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.2602, allocations: 5.844 kB / 381.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003683/0.2606, allocations: 157.2 kB / 381.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.2618, allocations: 0.8102 MB / 382.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/0.2622, allocations: 164.1 kB / 382.3 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.2623, allocations: 81.8 kB / 382.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.2624, allocations: 5.594 kB / 382.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.2624, allocations: 36.41 kB / 382.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.2624, allocations: 0 / 382.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008303/0.2632, allocations: 336.6 kB / 382.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.2633, allocations: 52.78 kB / 382.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.2634, allocations: 180.3 kB / 383 MB, free: 12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.2635, allocations: 31.11 kB / 383 MB, free: 11.97 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/0.2635, allocations: 152.8 kB / 383.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.2636, allocations: 50.75 kB / 383.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.507e-05/0.2636, allocations: 37.64 kB / 383.3 MB, free: 11.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.059e-05/0.2637, allocations: 328.4 kB / 383.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.2639, allocations: 60.45 kB / 383.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.264, allocations: 92.91 kB / 383.7 MB, free: 11.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.2644, allocations: 150.4 kB / 383.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2644, allocations: 0 / 383.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005107/0.2649, allocations: 220.1 kB / 384.1 MB, free: 11.19 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.2649, allocations: 9.844 kB / 384.1 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2649, allocations: 4.5 kB / 384.1 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.2652, allocations: 33.83 kB / 384.1 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.2653, allocations: 38.64 kB / 384.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008923/0.2662, allocations: 1.46 MB / 385.6 MB, free: 9.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.2664, allocations: 33.89 kB / 385.7 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.2664, allocations: 12.31 kB / 385.7 MB, free: 9.699 MB / 318.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 9.823e-05/0.2665, allocations: 130.7 kB / 385.8 MB, free: 9.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.2666, allocations: 13.41 kB / 385.8 MB, free: 9.566 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.206e-05/0.2666, allocations: 26.92 kB / 385.9 MB, free: 9.551 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2666, allocations: 2.031 kB / 385.9 MB, free: 9.551 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2666, allocations: 2.281 kB / 385.9 MB, free: 9.551 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2667, allocations: 1.078 kB / 385.9 MB, free: 9.551 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006501/0.2673, allocations: 0.5219 MB / 386.4 MB, free: 9.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2673, allocations: 5.281 kB / 386.4 MB, free: 9.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.2675, allocations: 28.44 kB / 386.4 MB, free: 9.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.2676, allocations: 33.27 kB / 386.5 MB, free: 9.125 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.2676, allocations: 0.6562 kB / 386.5 MB, free: 9.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007556/0.2684, allocations: 1.469 MB / 387.9 MB, free: 7.676 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2684, allocations: 0.5625 kB / 387.9 MB, free: 7.676 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005535/0.2689, allocations: 357.4 kB / 388.3 MB, free: 7.453 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/0.269, allocations: 103.8 kB / 388.4 MB, free: 7.344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.269, allocations: 1.281 kB / 388.4 MB, free: 7.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.2693, allocations: 26.75 kB / 388.4 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.2693, allocations: 21.05 kB / 388.4 MB, free: 7.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.2693, allocations: 10.72 kB / 388.4 MB, free: 7.324 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.642e-05/0.2694, allocations: 129.8 kB / 388.6 MB, free: 7.234 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2694, allocations: 0 / 388.6 MB, free: 7.234 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003197/0.2698, allocations: 54.69 kB / 388.6 MB, free: 7.227 MB / 318.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 9.35e-05/0.2699, allocations: 106.5 kB / 388.7 MB, free: 7.129 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004844/0.2704, allocations: 259 kB / 389 MB, free: 6.973 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2704, allocations: 0 / 389 MB, free: 6.973 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.2706, allocations: 191.6 kB / 389.2 MB, free: 6.836 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.2709, allocations: 28.3 kB / 389.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007339/0.2717, allocations: 488.3 kB / 389.7 MB, free: 6.504 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.2719, allocations: 0.732 MB / 390.4 MB, free: 5.805 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.107e-05/0.2719, allocations: 21.69 kB / 390.4 MB, free: 5.797 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2719, allocations: 0 / 390.4 MB, free: 5.797 MB / 318.1 MB Notification: Performance of Templates: time 0.0057/0.2776, allocations: 3.178 MB / 393.6 MB, free: 5.535 MB / 318.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 -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