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.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.001528/0.001528, allocations: 84.3 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001104/0.001104, allocations: 169.6 kB / 25.6 MB, free: 8.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9397/0.9397, allocations: 158.6 MB / 187.5 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 251.4 MB, free: 7.148 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.338e-05, allocations: 2.312 kB / 251.4 MB, free: 7.145 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002831/0.002854, allocations: 2.483 MB / 253.9 MB, free: 4.645 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009348/0.003789, allocations: 0.6358 MB / 254.6 MB, free: 4 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.003905, allocations: 7.938 kB / 254.6 MB, free: 3.992 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.00403, allocations: 31.66 kB / 254.6 MB, free: 3.961 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.00415, allocations: 75.33 kB / 254.7 MB, free: 3.887 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.004404, allocations: 67.78 kB / 254.7 MB, free: 3.82 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.004634, allocations: 274.6 kB / 255 MB, free: 3.551 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.004776, allocations: 67.95 kB / 255.1 MB, free: 3.484 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.004921, allocations: 147.7 kB / 255.2 MB, free: 3.34 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.005032, allocations: 87.7 kB / 255.3 MB, free: 3.254 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.005062, allocations: 24 kB / 255.3 MB, free: 3.23 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-05/0.00514, allocations: 27.94 kB / 255.4 MB, free: 3.203 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.769e-05/0.005177, allocations: 43.83 kB / 255.4 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.977e-05/0.005237, allocations: 79.83 kB / 255.5 MB, free: 3.082 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.005447, allocations: 187.3 kB / 255.7 MB, free: 2.898 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005449, allocations: 0 / 255.7 MB, free: 2.898 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.00545, allocations: 0 / 255.7 MB, free: 2.898 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.005453, allocations: 0 / 255.7 MB, free: 2.898 MB / 234.7 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.0008127/0.006266, allocations: 0.5546 MB / 256.2 MB, free: 2.309 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.006305, allocations: 15.98 kB / 256.2 MB, free: 2.293 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.00641, allocations: 52.69 kB / 256.3 MB, free: 2.242 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.006574, allocations: 180.1 kB / 256.5 MB, free: 2.039 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.00659, allocations: 20.88 kB / 256.5 MB, free: 2.016 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.006616, allocations: 24.31 kB / 256.5 MB, free: 1.992 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.006834, allocations: 211.4 kB / 256.7 MB, free: 1.762 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.006845, allocations: 192 / 256.7 MB, free: 1.762 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.006861, allocations: 12.38 kB / 256.7 MB, free: 1.75 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.006869, allocations: 7.938 kB / 256.7 MB, free: 1.742 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.218e-05/0.006961, allocations: 65.44 kB / 256.8 MB, free: 1.68 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000698/0.007659, allocations: 0.7468 MB / 257.5 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.007827, allocations: 115.1 kB / 257.6 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.007869, allocations: 47.59 kB / 257.7 MB, free: 0.707 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.007879, allocations: 4 kB / 257.7 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.007897, allocations: 33.39 kB / 257.7 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.007899, allocations: 0 / 257.7 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003358/0.008235, allocations: 185 kB / 257.9 MB, free: 480 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.008257, allocations: 51.41 kB / 258 MB, free: 416 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.008359, allocations: 210.5 kB / 258.2 MB, free: 188 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.008373, allocations: 29.7 kB / 258.2 MB, free: 152 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/0.00846, allocations: 199.2 kB / 258.4 MB, free: 15.95 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.00849, allocations: 51.53 kB / 258.4 MB, free: 15.89 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.008535, allocations: 47.34 kB / 258.5 MB, free: 15.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.008647, allocations: 0.5001 MB / 259 MB, free: 15.33 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.688e-05/0.008674, allocations: 19.98 kB / 259 MB, free: 15.31 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.483e-05/0.008729, allocations: 74.33 kB / 259.1 MB, free: 15.21 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.49e-05/0.008814, allocations: 109.4 kB / 259.2 MB, free: 15.09 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.008816, allocations: 0 / 259.2 MB, free: 15.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001705/0.008986, allocations: 153.2 kB / 259.3 MB, free: 14.93 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.009001, allocations: 8 kB / 259.3 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.009007, allocations: 0 / 259.3 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.009167, allocations: 31.66 kB / 259.4 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.539e-05/0.009242, allocations: 31.92 kB / 259.4 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008449/0.01009, allocations: 1.78 MB / 261.2 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.764e-05/0.01014, allocations: 23.95 kB / 261.2 MB, free: 12.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.01015, allocations: 8 kB / 261.2 MB, free: 12.93 MB / 250.7 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 8.805e-05/0.01024, allocations: 164.6 kB / 261.4 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.01027, allocations: 23.84 kB / 261.4 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.229e-05/0.01029, allocations: 21.8 kB / 261.4 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01029, allocations: 4 kB / 261.4 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.0103, allocations: 0 / 261.4 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.0103, allocations: 0 / 261.4 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003218/0.01062, allocations: 409.2 kB / 261.8 MB, free: 12.27 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01062, allocations: 0 / 261.8 MB, free: 12.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.651e-05/0.01069, allocations: 27.92 kB / 261.9 MB, free: 12.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.968e-05/0.01076, allocations: 31.8 kB / 261.9 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.01076, allocations: 0 / 261.9 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009941/0.01176, allocations: 1.78 MB / 263.7 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01176, allocations: 8.016 kB / 263.7 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.01197, allocations: 303.3 kB / 264 MB, free: 9.988 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.012, allocations: 19.94 kB / 264 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.01202, allocations: 4 kB / 264 MB, free: 9.965 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-05/0.01208, allocations: 11.98 kB / 264 MB, free: 9.953 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.01213, allocations: 19.97 kB / 264 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.01213, allocations: 4 kB / 264 MB, free: 9.93 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.016e-05/0.01218, allocations: 160.8 kB / 264.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01218, allocations: 32 / 264.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001916/0.01237, allocations: 63.84 kB / 264.2 MB, free: 9.711 MB / 250.7 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 7.325e-05/0.01245, allocations: 103.2 kB / 264.3 MB, free: 9.602 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.01267, allocations: 255.9 kB / 264.6 MB, free: 9.332 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01267, allocations: 0 / 264.6 MB, free: 9.332 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.01279, allocations: 225.4 kB / 264.8 MB, free: 9.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.013, allocations: 47.95 kB / 264.9 MB, free: 9.043 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006446/0.01364, allocations: 402.3 kB / 265.3 MB, free: 8.625 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.342e-05/0.0137, allocations: 83.91 kB / 265.3 MB, free: 8.523 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.031e-05/0.01375, allocations: 17.48 kB / 265.4 MB, free: 8.504 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.765e-05/0.01384, allocations: 98.19 kB / 265.5 MB, free: 8.406 MB / 250.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01384, allocations: 4 kB / 265.5 MB, free: 8.402 MB / 250.7 MB Notification: Performance of Templates: time 0.004194/0.01804, allocations: 2.612 MB / 268.1 MB, free: 5.82 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6888438276946545]