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.0009652/0.0009652, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001102/0.001102, allocations: 142.1 kB / 24.89 MB, free: 8.777 MB / 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 0.9756/0.9756, allocations: 173.4 MB / 201.5 MB, free: 8.754 MB / 186.7 MB " [Timeout remaining time 179] 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.312e-06/1.312e-06, allocations: 0 / 268.5 MB, free: 5.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221e-05/1.353e-05, allocations: 6.312 kB / 268.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.003892/0.003906, allocations: 4.999 MB / 273.5 MB, free: 0.957 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.00545, allocations: 1.331 MB / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.005651, allocations: 15.88 kB / 274.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003293/0.00598, allocations: 170.5 kB / 275 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004536/0.006434, allocations: 352.9 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.006709, allocations: 231.6 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007668/0.007476, allocations: 1.233 MB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002429/0.007719, allocations: 224.5 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004646/0.008183, allocations: 0.6783 MB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000361/0.008544, allocations: 390.9 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.523e-05/0.00864, allocations: 107.9 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.008741, allocations: 104 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.008867, allocations: 227.2 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.009165, allocations: 383.2 kB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006435/0.009809, allocations: 0.7863 MB / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.009812, allocations: 3.984 kB / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.009813, allocations: 0 / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.009819, allocations: 0 / 279.7 MB, free: 10.73 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.001143/0.01096, allocations: 1.236 MB / 280.9 MB, free: 9.445 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.01099, allocations: 8.031 kB / 280.9 MB, free: 9.438 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.01111, allocations: 124.8 kB / 281.1 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.0116, allocations: 378.1 kB / 281.4 MB, free: 8.918 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.01175, allocations: 301.2 kB / 281.7 MB, free: 8.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.43e-05/0.01182, allocations: 76.36 kB / 281.8 MB, free: 8.496 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007531/0.01258, allocations: 1.406 MB / 283.2 MB, free: 6.801 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.01259, allocations: 7.922 kB / 283.2 MB, free: 6.793 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.01263, allocations: 28 kB / 283.2 MB, free: 6.766 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.01264, allocations: 16 kB / 283.3 MB, free: 6.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.0129, allocations: 198.2 kB / 283.4 MB, free: 6.555 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.01427, allocations: 1.016 MB / 284.5 MB, free: 5.523 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.01475, allocations: 315.8 kB / 284.8 MB, free: 5.199 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.01493, allocations: 170.6 kB / 284.9 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.01497, allocations: 20.66 kB / 285 MB, free: 5.012 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.01499, allocations: 47.16 kB / 285 MB, free: 4.957 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 1.883e-06/0.015, allocations: 0 / 285 MB, free: 4.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.00147/0.01647, allocations: 0.8169 MB / 285.8 MB, free: 4.121 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002137/0.01668, allocations: 0.8234 MB / 286.6 MB, free: 3.102 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.01697, allocations: 0.5 MB / 287.1 MB, free: 2.594 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.01701, allocations: 45.7 kB / 287.2 MB, free: 2.543 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.01712, allocations: 251.2 kB / 287.4 MB, free: 2.293 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.01724, allocations: 261.6 kB / 287.7 MB, free: 2.035 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.01738, allocations: 146.6 kB / 287.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.01748, allocations: 390.6 kB / 288.2 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.01762, allocations: 163.1 kB / 288.4 MB, free: 1.316 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1037/0.1213, allocations: 1.167 MB / 289.5 MB, free: 30.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000533/0.1218, allocations: 365.9 kB / 289.9 MB, free: 29.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.1218, allocations: 0.9375 kB / 289.9 MB, free: 29.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001098/0.1229, allocations: 0.6698 MB / 290.6 MB, free: 29.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.123, allocations: 87.75 kB / 290.7 MB, free: 29.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.123, allocations: 1.375 kB / 290.7 MB, free: 29.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004512/0.1234, allocations: 161 kB / 290.8 MB, free: 29.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/0.1239, allocations: 174.5 kB / 291 MB, free: 29.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002866/0.1268, allocations: 5.31 MB / 296.3 MB, free: 24.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.1271, allocations: 83.58 kB / 296.4 MB, free: 24.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.1272, allocations: 19.8 kB / 296.4 MB, free: 24.92 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.0001747/0.1273, allocations: 164.3 kB / 296.6 MB, free: 24.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.1274, allocations: 86.67 kB / 296.6 MB, free: 24.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.723e-05/0.1275, allocations: 87.97 kB / 296.7 MB, free: 24.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1275, allocations: 7.688 kB / 296.7 MB, free: 24.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.1275, allocations: 0 / 296.7 MB, free: 24.78 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006794/0.1282, allocations: 0.7814 MB / 297.5 MB, free: 24.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.1296, allocations: 0.9536 MB / 298.5 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1296, allocations: 4.938 kB / 298.5 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/0.13, allocations: 174.6 kB / 298.6 MB, free: 23.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002807/0.1303, allocations: 136.6 kB / 298.8 MB, free: 23.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.1303, allocations: 15.52 kB / 298.8 MB, free: 23.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/0.1322, allocations: 4.052 MB / 302.8 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1322, allocations: 3.984 kB / 302.8 MB, free: 20.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009058/0.1331, allocations: 0.6973 MB / 303.5 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.1333, allocations: 96.81 kB / 303.6 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.1333, allocations: 19.03 kB / 303.7 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.1336, allocations: 38.78 kB / 303.7 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.1337, allocations: 70.72 kB / 303.8 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.1338, allocations: 15.94 kB / 303.8 MB, free: 20.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002099/0.134, allocations: 245 kB / 304 MB, free: 20.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.134, allocations: 0 / 304 MB, free: 20.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005299/0.1345, allocations: 283.5 kB / 304.3 MB, free: 20.19 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.0001076/0.1346, allocations: 107.7 kB / 304.4 MB, free: 20.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007393/0.1353, allocations: 1.067 MB / 305.5 MB, free: 19.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.1354, allocations: 8 kB / 305.5 MB, free: 19.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004384/0.1358, allocations: 0.5866 MB / 306.1 MB, free: 18.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.1363, allocations: 246.5 kB / 306.3 MB, free: 18.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.138, allocations: 1.345 MB / 307.7 MB, free: 18.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.1381, allocations: 166.4 kB / 307.8 MB, free: 18.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002691/0.1383, allocations: 102.4 kB / 307.9 MB, free: 18.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005891/0.1389, allocations: 387.4 kB / 308.3 MB, free: 18.11 MB / 266.7 MB Notification: Performance of SimCode: time 1.252e-06/0.1389, allocations: 0 / 308.3 MB, free: 18.11 MB / 266.7 MB Notification: Performance of Templates: time 0.01813/0.1571, allocations: 20.77 MB / 329.1 MB, free: 180 kB / 266.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 -s gbode -gbm=radauIIA3 -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","",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.120841902680695]