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.001005/0.001005, allocations: 85.95 kB / 23 MB, free: 1.5 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.001009/0.001009, allocations: 177.5 kB / 26.4 MB, free: 7.973 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.9393/0.9393, allocations: 158.6 MB / 188.3 MB, free: 2.789 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.593e-06/1.593e-06, allocations: 0 / 252.2 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.679e-05, allocations: 10.25 kB / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005178/0.005205, allocations: 4.952 MB / 257.2 MB, free: 2.25 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.007661, allocations: 1.321 MB / 258.5 MB, free: 0.918 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004618/0.008123, allocations: 15.94 kB / 258.5 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004285/0.008552, allocations: 158.6 kB / 258.7 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006622/0.009214, allocations: 360.8 kB / 259.1 MB, free: 400 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.009652, allocations: 223.6 kB / 259.3 MB, free: 176 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001344/0.011, allocations: 1.226 MB / 260.5 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003126/0.01131, allocations: 214.5 kB / 260.7 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008065/0.01212, allocations: 0.6861 MB / 261.4 MB, free: 14.03 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008321/0.01295, allocations: 386.9 kB / 261.8 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.0131, allocations: 104 kB / 261.9 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.01323, allocations: 107.9 kB / 262 MB, free: 13.44 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.01335, allocations: 223.2 kB / 262.2 MB, free: 13.22 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003498/0.0137, allocations: 391.1 kB / 262.6 MB, free: 12.84 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007962/0.0145, allocations: 0.7824 MB / 263.4 MB, free: 12.05 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.01451, allocations: 0 / 263.4 MB, free: 12.05 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01451, allocations: 0 / 263.4 MB, free: 12.05 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.044e-05/0.01454, allocations: 0 / 263.4 MB, free: 12.05 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.001785/0.01632, allocations: 1.384 MB / 264.7 MB, free: 10.61 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.01638, allocations: 19.97 kB / 264.8 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.01659, allocations: 156.3 kB / 264.9 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005917/0.01718, allocations: 488.8 kB / 265.4 MB, free: 9.934 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.01736, allocations: 297.2 kB / 265.7 MB, free: 9.59 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.054e-05/0.01744, allocations: 72.38 kB / 265.8 MB, free: 9.52 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009678/0.01841, allocations: 1.476 MB / 267.2 MB, free: 7.719 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.01843, allocations: 7.922 kB / 267.2 MB, free: 7.711 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.01847, allocations: 24 kB / 267.3 MB, free: 7.688 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.01848, allocations: 19.94 kB / 267.3 MB, free: 7.668 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.01884, allocations: 238.2 kB / 267.5 MB, free: 7.434 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.02106, allocations: 1.378 MB / 268.9 MB, free: 6.023 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004993/0.02156, allocations: 347.9 kB / 269.2 MB, free: 5.68 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.02179, allocations: 185.4 kB / 269.4 MB, free: 5.496 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/0.02184, allocations: 20.66 kB / 269.4 MB, free: 5.477 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.02188, allocations: 53.98 kB / 269.5 MB, free: 5.414 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 2.264e-06/0.02188, allocations: 0 / 269.5 MB, free: 5.414 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.00185/0.02373, allocations: 0.9485 MB / 270.4 MB, free: 4.441 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002764/0.02401, allocations: 0.8234 MB / 271.3 MB, free: 3.422 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.02443, allocations: 0.5929 MB / 271.8 MB, free: 2.816 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.02447, allocations: 41.7 kB / 271.9 MB, free: 2.77 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.02472, allocations: 408 kB / 272.3 MB, free: 2.363 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.02489, allocations: 265.6 kB / 272.5 MB, free: 2.102 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.02507, allocations: 152.3 kB / 272.7 MB, free: 1.945 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002274/0.02529, allocations: 0.5663 MB / 273.3 MB, free: 1.367 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.02549, allocations: 179 kB / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006493/0.02614, allocations: 1.271 MB / 274.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.0265, allocations: 390.6 kB / 275.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.02651, allocations: 0 / 275.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001249/0.02776, allocations: 0.8063 MB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.534e-05/0.02781, allocations: 85.11 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.02782, allocations: 3.984 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004177/0.02824, allocations: 178.7 kB / 276.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.02855, allocations: 131.8 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004845/0.03339, allocations: 7.688 MB / 284 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005348/0.03393, allocations: 83.53 kB / 284.1 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.03396, allocations: 19.98 kB / 284.1 MB, free: 5.609 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.0002393/0.0342, allocations: 220.3 kB / 284.3 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.03433, allocations: 103.5 kB / 284.4 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.466e-05/0.03443, allocations: 87.02 kB / 284.5 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.03443, allocations: 8 kB / 284.5 MB, free: 5.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.03444, allocations: 0 / 284.5 MB, free: 5.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008745/0.03531, allocations: 0.8743 MB / 285.4 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.03708, allocations: 1.252 MB / 286.6 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.03708, allocations: 0 / 286.6 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/0.03742, allocations: 135.8 kB / 286.7 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003316/0.03776, allocations: 155 kB / 286.9 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.03778, allocations: 12 kB / 286.9 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003976/0.04176, allocations: 5.835 MB / 292.7 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.04176, allocations: 0 / 292.7 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.04297, allocations: 0.8693 MB / 293.6 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.04324, allocations: 167.2 kB / 293.8 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-05/0.04331, allocations: 20.19 kB / 293.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.04359, allocations: 39.97 kB / 293.8 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.04373, allocations: 72.52 kB / 293.9 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.04375, allocations: 15.98 kB / 293.9 MB, free: 11.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002526/0.04401, allocations: 378.9 kB / 294.3 MB, free: 10.83 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-08/0.04401, allocations: 0 / 294.3 MB, free: 10.83 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007192/0.04473, allocations: 283.8 kB / 294.6 MB, free: 10.55 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.0001458/0.04487, allocations: 123.1 kB / 294.7 MB, free: 10.42 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.0459, allocations: 1.317 MB / 296 MB, free: 8.977 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.04591, allocations: 4 kB / 296 MB, free: 8.973 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008606/0.04677, allocations: 0.7714 MB / 296.8 MB, free: 8.145 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006058/0.04737, allocations: 242.9 kB / 297 MB, free: 7.902 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.04934, allocations: 1.427 MB / 298.4 MB, free: 6.434 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.04946, allocations: 165.1 kB / 298.6 MB, free: 6.254 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000267/0.04972, allocations: 102.1 kB / 298.7 MB, free: 6.152 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005813/0.0503, allocations: 437.9 kB / 299.1 MB, free: 5.723 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.05031, allocations: 0 / 299.1 MB, free: 5.723 MB / 282.7 MB Notification: Performance of Templates: time 0.02399/0.07429, allocations: 21.02 MB / 320.2 MB, free: 0.7188 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.406924780923873]