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.0009956/0.0009956, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001325/0.001325, allocations: 169.7 kB / 24.82 MB, free: 8.934 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.9915/0.9915, allocations: 177.1 MB / 205.3 MB, free: 5.461 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 2.004e-06/2.004e-06, allocations: 0 / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.217e-05, allocations: 2.312 kB / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.00668/0.006702, allocations: 4.96 MB / 278.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002755/0.009457, allocations: 1.324 MB / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004179/0.009875, allocations: 11.94 kB / 279.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004198/0.01029, allocations: 158.6 kB / 279.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006559/0.01095, allocations: 356.9 kB / 280.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.01139, allocations: 227.6 kB / 280.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.01258, allocations: 1.225 MB / 281.6 MB, free: 8.984 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/0.01293, allocations: 218.5 kB / 281.8 MB, free: 8.762 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007552/0.01369, allocations: 0.6783 MB / 282.5 MB, free: 8.082 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004847/0.01417, allocations: 390.8 kB / 282.9 MB, free: 7.699 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.01432, allocations: 104 kB / 283 MB, free: 7.598 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.01449, allocations: 104 kB / 283.1 MB, free: 7.496 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.01466, allocations: 223.2 kB / 283.3 MB, free: 7.277 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003809/0.01504, allocations: 387.2 kB / 283.7 MB, free: 6.898 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008478/0.01589, allocations: 0.7824 MB / 284.5 MB, free: 6.113 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.01589, allocations: 0 / 284.5 MB, free: 6.113 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01589, allocations: 0 / 284.5 MB, free: 6.113 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.01591, allocations: 0 / 284.5 MB, free: 6.113 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.001834/0.01774, allocations: 1.388 MB / 285.9 MB, free: 4.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.01778, allocations: 8.031 kB / 285.9 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/0.018, allocations: 164.3 kB / 286 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006307/0.01863, allocations: 488.8 kB / 286.5 MB, free: 3.992 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.01883, allocations: 293.2 kB / 286.8 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.01894, allocations: 72.38 kB / 286.9 MB, free: 3.582 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.02008, allocations: 1.476 MB / 288.4 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.0201, allocations: 7.875 kB / 288.4 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.729e-05/0.02016, allocations: 28 kB / 288.4 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.02018, allocations: 19.94 kB / 288.4 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004398/0.02062, allocations: 238.2 kB / 288.6 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.02292, allocations: 1.386 MB / 290 MB, free: 76 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1212/0.1441, allocations: 347 kB / 290.4 MB, free: 25.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.1444, allocations: 177 kB / 290.5 MB, free: 25.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.922e-05/0.1444, allocations: 19 kB / 290.6 MB, free: 25.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.1445, allocations: 55.53 kB / 290.6 MB, free: 25.65 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.034e-06/0.1445, allocations: 0 / 290.6 MB, free: 25.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001996/0.1465, allocations: 0.9439 MB / 291.6 MB, free: 25.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.1466, allocations: 0.8253 MB / 292.4 MB, free: 24.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004392/0.147, allocations: 0.5935 MB / 293 MB, free: 24.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.191e-05/0.1471, allocations: 45.03 kB / 293 MB, free: 24.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.1472, allocations: 413 kB / 293.4 MB, free: 24.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.1473, allocations: 264.4 kB / 293.7 MB, free: 24.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.1475, allocations: 153.7 kB / 293.8 MB, free: 24.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1476, allocations: 0.5732 MB / 294.4 MB, free: 23.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.1478, allocations: 173.4 kB / 294.6 MB, free: 23.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/0.1482, allocations: 1.273 MB / 295.8 MB, free: 22.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.1486, allocations: 382.8 kB / 296.2 MB, free: 21.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1486, allocations: 7.984 kB / 296.2 MB, free: 21.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000945/0.1495, allocations: 0.7987 MB / 297 MB, free: 21.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.1495, allocations: 85.53 kB / 297.1 MB, free: 21.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1496, allocations: 1.031 kB / 297.1 MB, free: 21.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000399/0.15, allocations: 185.8 kB / 297.3 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.1503, allocations: 131.1 kB / 297.4 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002913/0.1532, allocations: 7.68 MB / 305.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/0.1536, allocations: 87.34 kB / 305.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.1536, allocations: 23.81 kB / 305.2 MB, free: 14.32 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.0001498/0.1537, allocations: 210.9 kB / 305.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.1538, allocations: 107.4 kB / 305.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.366e-05/0.1539, allocations: 85.8 kB / 305.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1539, allocations: 7.422 kB / 305.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1539, allocations: 7.938 kB / 305.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007473/0.1547, allocations: 0.8718 MB / 306.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.1562, allocations: 1.256 MB / 307.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1562, allocations: 0 / 307.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.1565, allocations: 134.2 kB / 307.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002997/0.1568, allocations: 153.2 kB / 308 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.1569, allocations: 18.58 kB / 308 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/0.1591, allocations: 5.845 MB / 313.9 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1591, allocations: 4.016 kB / 313.9 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.1601, allocations: 0.8634 MB / 314.8 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/0.1603, allocations: 165.1 kB / 314.9 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.1603, allocations: 19.16 kB / 314.9 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.1606, allocations: 43.06 kB / 315 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.1607, allocations: 66.3 kB / 315 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.1607, allocations: 17.56 kB / 315.1 MB, free: 7.168 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002085/0.1609, allocations: 383.5 kB / 315.4 MB, free: 7.012 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1609, allocations: 0 / 315.4 MB, free: 7.012 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005777/0.1615, allocations: 288.9 kB / 315.7 MB, free: 6.961 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.0001038/0.1616, allocations: 117.9 kB / 315.8 MB, free: 6.855 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007239/0.1623, allocations: 1.324 MB / 317.2 MB, free: 5.805 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1623, allocations: 2.75 kB / 317.2 MB, free: 5.805 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004386/0.1628, allocations: 0.7587 MB / 317.9 MB, free: 5.234 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005502/0.1633, allocations: 245 kB / 318.2 MB, free: 5.148 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.1649, allocations: 1.433 MB / 319.6 MB, free: 4.336 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.195e-05/0.165, allocations: 167.1 kB / 319.8 MB, free: 4.258 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002089/0.1652, allocations: 102.6 kB / 319.9 MB, free: 4.227 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005202/0.1657, allocations: 439.1 kB / 320.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1657, allocations: 0 / 320.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of Templates: time 0.02117/0.1869, allocations: 20.59 MB / 340.9 MB, free: 156 kB / 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.2354158987291157]