Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.0009142/0.0009142, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001046/0.001046, allocations: 169.2 kB / 25.33 MB, free: 9.02 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 1.01/1.01, allocations: 158.6 MB / 187.2 MB, free: 2.93 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.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 251 MB, free: 7.527 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.097e-05, allocations: 6.25 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006233/0.006264, allocations: 5.037 MB / 256.1 MB, free: 2.445 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002436/0.0087, allocations: 1.325 MB / 257.4 MB, free: 1.113 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000546/0.009246, allocations: 15.88 kB / 257.4 MB, free: 1.098 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005025/0.009748, allocations: 158.6 kB / 257.6 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006646/0.01041, allocations: 349 kB / 257.9 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.01094, allocations: 235.5 kB / 258.1 MB, free: 376 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.01222, allocations: 1.23 MB / 259.4 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.01261, allocations: 210.5 kB / 259.6 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.01368, allocations: 0.6783 MB / 260.3 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005063/0.01419, allocations: 394.9 kB / 260.6 MB, free: 13.85 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.01434, allocations: 104 kB / 260.7 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.01449, allocations: 104 kB / 260.8 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.01462, allocations: 227.2 kB / 261.1 MB, free: 13.42 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003796/0.015, allocations: 383.2 kB / 261.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008804/0.01588, allocations: 0.8019 MB / 262.2 MB, free: 12.24 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.01588, allocations: 0 / 262.2 MB, free: 12.24 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.01589, allocations: 0 / 262.2 MB, free: 12.24 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.751e-05/0.01591, allocations: 0 / 262.2 MB, free: 12.24 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001838/0.01775, allocations: 1.376 MB / 263.6 MB, free: 10.81 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.01781, allocations: 15.98 kB / 263.6 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002656/0.01808, allocations: 160.3 kB / 263.8 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008132/0.01889, allocations: 0.5059 MB / 264.3 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.0191, allocations: 297.2 kB / 264.6 MB, free: 9.754 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.01922, allocations: 72.38 kB / 264.7 MB, free: 9.684 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.0205, allocations: 1.515 MB / 266.2 MB, free: 7.844 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.02052, allocations: 3.938 kB / 266.2 MB, free: 7.84 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.314e-05/0.02058, allocations: 28 kB / 266.2 MB, free: 7.812 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.0206, allocations: 12 kB / 266.2 MB, free: 7.801 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005698/0.02117, allocations: 295.6 kB / 266.5 MB, free: 7.512 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.02357, allocations: 1.475 MB / 268 MB, free: 6 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006563/0.02423, allocations: 388.4 kB / 268.4 MB, free: 5.609 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.02459, allocations: 217.3 kB / 268.6 MB, free: 5.395 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-05/0.02465, allocations: 20.64 kB / 268.6 MB, free: 5.375 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.02468, allocations: 46.05 kB / 268.6 MB, free: 5.32 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 3.586e-06/0.02469, allocations: 0 / 268.6 MB, free: 5.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.002126/0.02681, allocations: 1.035 MB / 269.7 MB, free: 4.262 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00027/0.02708, allocations: 0.8311 MB / 270.5 MB, free: 3.234 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005146/0.0276, allocations: 0.6167 MB / 271.1 MB, free: 2.605 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.02765, allocations: 45.7 kB / 271.2 MB, free: 2.555 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.02786, allocations: 388.1 kB / 271.5 MB, free: 2.168 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.02801, allocations: 261.7 kB / 271.8 MB, free: 1.91 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.02818, allocations: 152.3 kB / 272 MB, free: 1.754 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.02836, allocations: 0.5586 MB / 272.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.02862, allocations: 207 kB / 272.7 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006524/0.02927, allocations: 1.306 MB / 274 MB, free: 15.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/0.02978, allocations: 434.7 kB / 274.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.02978, allocations: 0 / 274.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001252/0.03103, allocations: 0.8805 MB / 275.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.698e-05/0.03109, allocations: 81.11 kB / 275.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.0311, allocations: 4 kB / 275.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004811/0.03158, allocations: 194.5 kB / 275.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.0319, allocations: 135.8 kB / 275.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005167/0.03707, allocations: 7.799 MB / 283.5 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005678/0.03764, allocations: 87.52 kB / 283.6 MB, free: 5.098 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.03768, allocations: 24 kB / 283.6 MB, free: 5.074 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002716/0.03795, allocations: 208.5 kB / 283.8 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.03808, allocations: 107.5 kB / 283.9 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.673e-05/0.03818, allocations: 94.94 kB / 284 MB, free: 4.656 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.03818, allocations: 8 kB / 284 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.03819, allocations: 192 / 284 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001006/0.0392, allocations: 0.9329 MB / 285 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.04109, allocations: 1.389 MB / 286.4 MB, free: 2.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.0411, allocations: 4 kB / 286.4 MB, free: 2.148 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.04145, allocations: 131.8 kB / 286.5 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003743/0.04182, allocations: 159 kB / 286.7 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.876e-05/0.04187, allocations: 12 kB / 286.7 MB, free: 1.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003732/0.0456, allocations: 5.943 MB / 292.6 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.04561, allocations: 0 / 292.6 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.04702, allocations: 0.9398 MB / 293.5 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002946/0.04731, allocations: 175.3 kB / 293.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.553e-05/0.04738, allocations: 12 kB / 293.7 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.04767, allocations: 43.95 kB / 293.8 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.04784, allocations: 76.45 kB / 293.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.04787, allocations: 16 kB / 293.9 MB, free: 10.24 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003695/0.04824, allocations: 415 kB / 294.3 MB, free: 9.844 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04824, allocations: 0 / 294.3 MB, free: 9.844 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007503/0.04899, allocations: 279.8 kB / 294.5 MB, free: 9.57 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001742/0.04916, allocations: 123.2 kB / 294.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.0506, allocations: 1.368 MB / 296 MB, free: 7.945 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.0506, allocations: 4 kB / 296 MB, free: 7.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007087/0.05131, allocations: 0.791 MB / 296.8 MB, free: 7.094 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007232/0.05204, allocations: 238.9 kB / 297.1 MB, free: 6.855 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.05469, allocations: 1.454 MB / 298.5 MB, free: 5.363 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.05486, allocations: 169.1 kB / 298.7 MB, free: 5.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003355/0.0552, allocations: 94.17 kB / 298.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.05535, allocations: 60.5 kB / 298.8 MB, free: 5.027 MB / 282.7 MB Notification: Performance of SimCode: time 2.384e-06/0.05535, allocations: 4 kB / 298.8 MB, free: 5.023 MB / 282.7 MB Notification: Performance of Templates: time 0.02783/0.08318, allocations: 19.34 MB / 318.2 MB, free: 1.695 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.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: 3.5470335548743606]