Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009599/0.0009599, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009985/0.0009985, allocations: 166.7 kB / 24.99 MB, free: 8.789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9575/0.9575, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 273 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/3.163e-05, allocations: 2.312 kB / 273 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005738/0.005769, allocations: 5.026 MB / 278.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002458/0.008227, allocations: 1.324 MB / 279.4 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004473/0.008675, allocations: 15.88 kB / 279.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004432/0.009118, allocations: 158.6 kB / 279.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006971/0.009815, allocations: 353 kB / 279.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.01028, allocations: 231.5 kB / 280.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.01151, allocations: 1.222 MB / 281.4 MB, free: 9.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003547/0.01187, allocations: 218.5 kB / 281.6 MB, free: 9.277 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008575/0.01272, allocations: 0.6783 MB / 282.3 MB, free: 8.598 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000533/0.01326, allocations: 378.9 kB / 282.6 MB, free: 8.227 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.0134, allocations: 104 kB / 282.7 MB, free: 8.125 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.01356, allocations: 104 kB / 282.8 MB, free: 8.023 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.01371, allocations: 231.2 kB / 283.1 MB, free: 7.797 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004112/0.01412, allocations: 387.1 kB / 283.4 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009515/0.01507, allocations: 0.7902 MB / 284.2 MB, free: 6.625 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.01508, allocations: 4 kB / 284.2 MB, free: 6.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01508, allocations: 0 / 284.2 MB, free: 6.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.01509, allocations: 0 / 284.2 MB, free: 6.621 MB / 266.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.002051/0.01715, allocations: 1.38 MB / 285.6 MB, free: 5.184 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.01718, allocations: 8.031 kB / 285.6 MB, free: 5.176 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.01738, allocations: 160.3 kB / 285.8 MB, free: 5.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000657/0.01804, allocations: 0.5098 MB / 286.3 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.01821, allocations: 297.2 kB / 286.6 MB, free: 4.133 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.44e-05/0.01829, allocations: 68.38 kB / 286.6 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.01933, allocations: 1.523 MB / 288.2 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.01934, allocations: 3.938 kB / 288.2 MB, free: 2.215 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/0.01939, allocations: 28 kB / 288.2 MB, free: 2.188 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.0194, allocations: 16 kB / 288.2 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005929/0.02, allocations: 295.6 kB / 288.5 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.02222, allocations: 1.483 MB / 290 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005849/0.02281, allocations: 390.3 kB / 290.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.02312, allocations: 214 kB / 290.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.641e-05/0.02317, allocations: 20.64 kB / 290.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.0232, allocations: 50.05 kB / 290.6 MB, free: 15.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=73): time 2.444e-06/0.0232, allocations: 0 / 290.6 MB, free: 15.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=73): time 0.002114/0.02532, allocations: 1.031 MB / 291.7 MB, free: 14.62 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003641/0.02568, allocations: 0.8234 MB / 292.5 MB, free: 13.6 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005202/0.0262, allocations: 0.6089 MB / 293.1 MB, free: 12.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.02625, allocations: 45.7 kB / 293.1 MB, free: 12.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.02645, allocations: 404 kB / 293.5 MB, free: 12.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.02659, allocations: 261.7 kB / 293.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.02675, allocations: 152.3 kB / 293.9 MB, free: 12.11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.02692, allocations: 0.5625 MB / 294.5 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.02717, allocations: 207 kB / 294.7 MB, free: 11.31 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.02779, allocations: 1.294 MB / 296 MB, free: 9.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004985/0.02829, allocations: 442.7 kB / 296.4 MB, free: 9.219 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.02829, allocations: 0 / 296.4 MB, free: 9.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001111/0.0294, allocations: 0.8688 MB / 297.3 MB, free: 8.289 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.02945, allocations: 93.17 kB / 297.4 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.02946, allocations: 0 / 297.4 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004762/0.02994, allocations: 202.5 kB / 297.6 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.03026, allocations: 127.9 kB / 297.7 MB, free: 7.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1123/0.1426, allocations: 7.791 MB / 305.5 MB, free: 40.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006798/0.1433, allocations: 82.69 kB / 305.6 MB, free: 40.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/0.1433, allocations: 24.61 kB / 305.6 MB, free: 40.2 MB / 282.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.0002469/0.1436, allocations: 205 kB / 305.8 MB, free: 40.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.1437, allocations: 112.6 kB / 305.9 MB, free: 40.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.1439, allocations: 89.45 kB / 306 MB, free: 40.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.1439, allocations: 13.53 kB / 306 MB, free: 40.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1439, allocations: 5.266 kB / 306 MB, free: 40.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001213/0.1451, allocations: 0.9292 MB / 307 MB, free: 39.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.1473, allocations: 1.386 MB / 308.3 MB, free: 39.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1473, allocations: 1.781 kB / 308.3 MB, free: 39.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/0.1478, allocations: 140.1 kB / 308.5 MB, free: 39.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000423/0.1482, allocations: 153.2 kB / 308.6 MB, free: 39.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.392e-05/0.1483, allocations: 13.77 kB / 308.6 MB, free: 39.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003065/0.1513, allocations: 5.944 MB / 314.6 MB, free: 33.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1513, allocations: 1.781 kB / 314.6 MB, free: 33.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.1529, allocations: 0.9506 MB / 315.5 MB, free: 33.31 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002715/0.1531, allocations: 167.8 kB / 315.7 MB, free: 33.22 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.772e-05/0.1532, allocations: 16.5 kB / 315.7 MB, free: 33.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.1536, allocations: 44.64 kB / 315.8 MB, free: 33.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.1538, allocations: 67.95 kB / 315.8 MB, free: 33.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.1539, allocations: 19.45 kB / 315.8 MB, free: 33.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003949/0.1542, allocations: 410.2 kB / 316.3 MB, free: 32.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1542, allocations: 2.344 kB / 316.3 MB, free: 32.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007729/0.155, allocations: 281.7 kB / 316.5 MB, free: 32.95 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.0001322/0.1552, allocations: 121.9 kB / 316.6 MB, free: 32.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.1563, allocations: 1.372 MB / 318 MB, free: 31.76 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.1563, allocations: 5.953 kB / 318 MB, free: 31.76 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006877/0.157, allocations: 0.7883 MB / 318.8 MB, free: 31.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008176/0.1578, allocations: 243.9 kB / 319.1 MB, free: 31.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.1602, allocations: 1.452 MB / 320.5 MB, free: 30.3 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.1604, allocations: 163 kB / 320.7 MB, free: 30.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003729/0.1607, allocations: 100.4 kB / 320.8 MB, free: 30.2 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.1609, allocations: 67.91 kB / 320.8 MB, free: 30.19 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1609, allocations: 0 / 320.8 MB, free: 30.19 MB / 282.7 MB Notification: Performance of Templates: time 0.01772/0.1786, allocations: 19.35 MB / 340.2 MB, free: 14.98 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.2937480818945915]