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.0009984/0.0009984, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001199/0.001199, allocations: 167.6 kB / 25.7 MB, free: 8.438 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.08/1.08, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.513e-06/1.513e-06, allocations: 0 / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.207e-05, allocations: 6.312 kB / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004514/0.004536, allocations: 5.01 MB / 256.6 MB, free: 2.184 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.006933, allocations: 1.379 MB / 258 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.007252, allocations: 11.94 kB / 258 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003597/0.007612, allocations: 170.5 kB / 258.1 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005338/0.008146, allocations: 352.9 kB / 258.5 MB, free: 276 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.008522, allocations: 231.5 kB / 258.7 MB, free: 44 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009827/0.009504, allocations: 1.229 MB / 259.9 MB, free: 14.81 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002885/0.009793, allocations: 224.5 kB / 260.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006358/0.01043, allocations: 0.6783 MB / 260.8 MB, free: 13.89 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000383/0.01081, allocations: 390.9 kB / 261.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.01092, allocations: 104 kB / 261.3 MB, free: 13.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.01103, allocations: 104 kB / 261.4 MB, free: 13.31 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.01115, allocations: 223.2 kB / 261.6 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002659/0.01141, allocations: 383.2 kB / 262 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006573/0.01207, allocations: 0.7863 MB / 262.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.01207, allocations: 0 / 262.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.01207, allocations: 0 / 262.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.01209, allocations: 3.984 kB / 262.8 MB, free: 11.92 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.001284/0.01337, allocations: 1.232 MB / 264 MB, free: 10.64 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.01341, allocations: 15.98 kB / 264 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.01355, allocations: 128.8 kB / 264.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.01404, allocations: 382.1 kB / 264.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002258/0.01427, allocations: 293.2 kB / 264.8 MB, free: 9.758 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.481e-05/0.01436, allocations: 84.3 kB / 264.9 MB, free: 9.676 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009285/0.01528, allocations: 1.402 MB / 266.3 MB, free: 7.984 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.0153, allocations: 3.938 kB / 266.3 MB, free: 7.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.064e-05/0.01534, allocations: 28 kB / 266.3 MB, free: 7.953 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.01536, allocations: 12 kB / 266.4 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.01565, allocations: 202.3 kB / 266.6 MB, free: 7.742 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.01717, allocations: 1.019 MB / 267.6 MB, free: 6.711 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003781/0.01755, allocations: 311.9 kB / 267.9 MB, free: 6.398 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.01773, allocations: 166.5 kB / 268 MB, free: 6.234 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.01777, allocations: 16.66 kB / 268.1 MB, free: 6.219 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.01781, allocations: 55.16 kB / 268.1 MB, free: 6.156 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 2.655e-06/0.01781, allocations: 0 / 268.1 MB, free: 6.156 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.001561/0.01937, allocations: 0.813 MB / 268.9 MB, free: 5.324 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002533/0.01962, allocations: 0.8234 MB / 269.7 MB, free: 4.305 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.01994, allocations: 0.4961 MB / 270.2 MB, free: 3.801 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.01998, allocations: 49.64 kB / 270.3 MB, free: 3.746 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.0201, allocations: 251.2 kB / 270.5 MB, free: 3.496 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.02022, allocations: 265.6 kB / 270.8 MB, free: 3.234 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.02036, allocations: 142.6 kB / 270.9 MB, free: 3.09 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.02047, allocations: 394.6 kB / 271.3 MB, free: 2.695 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.02062, allocations: 163.1 kB / 271.5 MB, free: 2.52 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005697/0.02119, allocations: 1.172 MB / 272.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.02151, allocations: 366 kB / 273 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.02152, allocations: 0 / 273 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000745/0.02226, allocations: 0.6687 MB / 273.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.28e-05/0.02232, allocations: 89.11 kB / 273.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.02232, allocations: 0 / 273.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003644/0.02269, allocations: 163.3 kB / 273.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.02308, allocations: 183.7 kB / 274.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/0.02624, allocations: 5.301 MB / 279.4 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/0.02659, allocations: 91.55 kB / 279.5 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.02662, allocations: 23.94 kB / 279.5 MB, free: 9.711 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.0001628/0.02678, allocations: 153.8 kB / 279.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-05/0.02687, allocations: 83.91 kB / 279.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.05e-05/0.02695, allocations: 83.02 kB / 279.8 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.02695, allocations: 11.94 kB / 279.8 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.02696, allocations: 0 / 279.8 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006895/0.02765, allocations: 0.784 MB / 280.6 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.02891, allocations: 0.9679 MB / 281.6 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.02891, allocations: 4 kB / 281.6 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.02931, allocations: 167.7 kB / 281.8 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002695/0.02958, allocations: 138.4 kB / 281.9 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.02961, allocations: 12 kB / 281.9 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002365/0.03197, allocations: 4.052 MB / 286 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.03197, allocations: 0 / 286 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008274/0.0328, allocations: 0.6932 MB / 286.7 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.03298, allocations: 91.31 kB / 286.7 MB, free: 2.027 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.03304, allocations: 20.06 kB / 286.8 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.0333, allocations: 39.97 kB / 286.8 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.03342, allocations: 72.53 kB / 286.9 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.03344, allocations: 12 kB / 286.9 MB, free: 1.887 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001757/0.03361, allocations: 256.5 kB / 287.1 MB, free: 1.637 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03361, allocations: 0 / 287.1 MB, free: 1.637 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000525/0.03414, allocations: 287.7 kB / 287.4 MB, free: 1.355 MB / 266.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.000129/0.03427, allocations: 100.5 kB / 287.5 MB, free: 1.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008533/0.03512, allocations: 1.064 MB / 288.6 MB, free: 80 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.03513, allocations: 8 kB / 288.6 MB, free: 72 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004764/0.03561, allocations: 0.5912 MB / 289.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.03612, allocations: 238.8 kB / 289.4 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.03787, allocations: 1.347 MB / 290.8 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.03798, allocations: 169.1 kB / 290.9 MB, free: 13.63 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002675/0.03824, allocations: 102.3 kB / 291 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005559/0.0388, allocations: 381 kB / 291.4 MB, free: 13.16 MB / 282.7 MB Notification: Performance of SimCode: time 1.001e-06/0.0388, allocations: 4 kB / 291.4 MB, free: 13.16 MB / 282.7 MB Notification: Performance of Templates: time 0.02304/0.06184, allocations: 20.75 MB / 312.1 MB, free: 8.406 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 -s gbode -gbm=radauIIA3 -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.2547786692157388]