Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002187/0.002187, allocations: 87.92 kB / 20.96 MB, free: 3.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 141.1 kB / 24.25 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.015e-05, allocations: 6.312 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.007513/0.007543, allocations: 5.001 MB / 272.3 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.01031, allocations: 1.273 MB / 273.6 MB, free: 440 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003465/0.01066, allocations: 15.88 kB / 273.6 MB, free: 424 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004472/0.0111, allocations: 154.6 kB / 273.8 MB, free: 268 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007721/0.01188, allocations: 357 kB / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007352/0.01261, allocations: 231.5 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.01412, allocations: 1.226 MB / 275.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004133/0.01454, allocations: 218.5 kB / 275.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009629/0.0155, allocations: 0.6744 MB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006236/0.01612, allocations: 390.9 kB / 276.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.0163, allocations: 104 kB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.0165, allocations: 108 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.01675, allocations: 227.2 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005075/0.01725, allocations: 391.1 kB / 277.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.01881, allocations: 1.254 MB / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.01882, allocations: 4 kB / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01882, allocations: 0 / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.01883, allocations: 0 / 278.9 MB, free: 11.09 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.002762/0.0216, allocations: 1.431 MB / 280.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.02163, allocations: 12.02 kB / 280.3 MB, free: 9.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002998/0.02193, allocations: 160.3 kB / 280.5 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.02296, allocations: 0.5332 MB / 281 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003114/0.02327, allocations: 293.2 kB / 281.3 MB, free: 8.527 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003384/0.02361, allocations: 76.31 kB / 281.4 MB, free: 8.453 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/0.02579, allocations: 1.682 MB / 283.1 MB, free: 6.449 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.02581, allocations: 3.938 kB / 283.1 MB, free: 6.445 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-05/0.02589, allocations: 28 kB / 283.1 MB, free: 6.418 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.0259, allocations: 12 kB / 283.1 MB, free: 6.406 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.02728, allocations: 0.5517 MB / 283.7 MB, free: 5.855 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003667/0.03094, allocations: 1.753 MB / 285.4 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.03223, allocations: 0.5761 MB / 286 MB, free: 3.477 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007931/0.03303, allocations: 353.2 kB / 286.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.447e-05/0.0331, allocations: 12.66 kB / 286.4 MB, free: 3.113 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.651e-05/0.03316, allocations: 54.03 kB / 286.4 MB, free: 3.051 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.264e-06/0.03316, allocations: 0 / 286.4 MB, free: 3.051 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.004894/0.03805, allocations: 1.402 MB / 287.8 MB, free: 1.629 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007957/0.03885, allocations: 0.8234 MB / 288.6 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1071/0.146, allocations: 0.7703 MB / 289.4 MB, free: 32.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001837/0.1461, allocations: 44.45 kB / 289.4 MB, free: 32.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.1464, allocations: 424.4 kB / 289.9 MB, free: 32.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.1466, allocations: 279.8 kB / 290.1 MB, free: 32.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/0.1469, allocations: 161.8 kB / 290.3 MB, free: 32.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.147, allocations: 0.6002 MB / 290.9 MB, free: 31.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/0.1476, allocations: 334.5 kB / 291.2 MB, free: 31.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009026/0.1485, allocations: 1.47 MB / 292.7 MB, free: 30.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.1497, allocations: 0.6898 MB / 293.4 MB, free: 29.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1497, allocations: 1.094 kB / 293.4 MB, free: 29.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002344/0.152, allocations: 1.156 MB / 294.5 MB, free: 29.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.1521, allocations: 88.62 kB / 294.6 MB, free: 29.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.1521, allocations: 1.281 kB / 294.6 MB, free: 29.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000906/0.153, allocations: 262.2 kB / 294.9 MB, free: 29.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/0.1536, allocations: 131.7 kB / 295 MB, free: 29.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006308/0.1599, allocations: 8.524 MB / 303.5 MB, free: 21.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008018/0.1607, allocations: 89.92 kB / 303.6 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/0.1608, allocations: 25.78 kB / 303.6 MB, free: 21.2 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.0002809/0.161, allocations: 257.9 kB / 303.9 MB, free: 20.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.1612, allocations: 112.2 kB / 304 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.1614, allocations: 85.42 kB / 304.1 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.1614, allocations: 11.56 kB / 304.1 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.1614, allocations: 7 kB / 304.1 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002068/0.1634, allocations: 1.183 MB / 305.3 MB, free: 20.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003288/0.1667, allocations: 1.788 MB / 307.1 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1667, allocations: 1.188 kB / 307.1 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006429/0.1674, allocations: 130.6 kB / 307.2 MB, free: 19.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007033/0.1681, allocations: 224.2 kB / 307.4 MB, free: 19.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/0.1681, allocations: 14.38 kB / 307.4 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005001/0.1731, allocations: 6.53 MB / 314 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1731, allocations: 0 / 314 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/0.1758, allocations: 1.387 MB / 315.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003552/0.1761, allocations: 165.4 kB / 315.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.1762, allocations: 29.81 kB / 315.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006114/0.1769, allocations: 43.14 kB / 315.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.177, allocations: 65.98 kB / 315.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.1771, allocations: 22.66 kB / 315.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004607/0.1775, allocations: 0.5016 MB / 316.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1775, allocations: 0 / 316.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007925/0.1783, allocations: 280.3 kB / 316.4 MB, free: 12.14 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.0001338/0.1784, allocations: 128.5 kB / 316.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.1802, allocations: 1.633 MB / 318.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1802, allocations: 4 kB / 318.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.1812, allocations: 0.9132 MB / 319.1 MB, free: 9.523 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008875/0.1821, allocations: 248.6 kB / 319.4 MB, free: 9.305 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.1843, allocations: 1.514 MB / 320.9 MB, free: 7.773 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.1845, allocations: 346.4 kB / 321.2 MB, free: 7.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003406/0.1848, allocations: 98.16 kB / 321.3 MB, free: 7.312 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.185, allocations: 64.5 kB / 321.4 MB, free: 7.25 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.185, allocations: 4 kB / 321.4 MB, free: 7.246 MB / 266.7 MB Notification: Performance of Templates: time 0.03/0.215, allocations: 19.36 MB / 340.7 MB, free: 4.273 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.28955853509251]