Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009705/0.0009705, allocations: 79.69 kB / 21.7 MB, free: 2.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 161.8 kB / 24.99 MB, free: 8.246 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.952/0.952, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 3.984 kB / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/3.105e-05, allocations: 2.312 kB / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006853/0.006884, allocations: 5.034 MB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002981/0.009865, allocations: 1.316 MB / 279.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005202/0.01039, allocations: 11.94 kB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004915/0.01088, allocations: 158.6 kB / 279.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008016/0.01168, allocations: 357 kB / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005405/0.01222, allocations: 231.5 kB / 280.1 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001516/0.01374, allocations: 1.226 MB / 281.3 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004321/0.01417, allocations: 214.5 kB / 281.5 MB, free: 9.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009404/0.01511, allocations: 0.6783 MB / 282.2 MB, free: 8.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006544/0.01576, allocations: 386.9 kB / 282.6 MB, free: 8.121 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002135/0.01598, allocations: 104 kB / 282.7 MB, free: 8.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.01617, allocations: 108 kB / 282.8 MB, free: 7.914 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.01636, allocations: 231.2 kB / 283 MB, free: 7.688 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004911/0.01685, allocations: 383.2 kB / 283.4 MB, free: 7.312 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.01803, allocations: 0.7941 MB / 284.2 MB, free: 6.516 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.01803, allocations: 3.938 kB / 284.2 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.01803, allocations: 0 / 284.2 MB, free: 6.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.034e-05/0.01806, allocations: 0 / 284.2 MB, free: 6.512 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.002378/0.02044, allocations: 1.38 MB / 285.6 MB, free: 5.074 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.0205, allocations: 11.98 kB / 285.6 MB, free: 5.062 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002942/0.02079, allocations: 168.3 kB / 285.7 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009802/0.02177, allocations: 0.4982 MB / 286.2 MB, free: 4.371 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002479/0.02202, allocations: 293.2 kB / 286.5 MB, free: 4.027 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.02215, allocations: 68.36 kB / 286.6 MB, free: 3.961 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.02371, allocations: 1.527 MB / 288.1 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.02373, allocations: 3.938 kB / 288.1 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-05/0.0238, allocations: 28 kB / 288.1 MB, free: 2.078 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.02382, allocations: 19.94 kB / 288.2 MB, free: 2.059 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008136/0.02464, allocations: 299.6 kB / 288.4 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003096/0.02773, allocations: 1.471 MB / 289.9 MB, free: 264 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009029/0.02864, allocations: 391.1 kB / 290.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/0.02914, allocations: 210.1 kB / 290.5 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.656e-05/0.0292, allocations: 20.66 kB / 290.5 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.02924, allocations: 54.03 kB / 290.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=73): time 3.566e-06/0.02925, allocations: 0 / 290.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=73): time 0.002539/0.03179, allocations: 1.034 MB / 291.6 MB, free: 14.51 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002355/0.03202, allocations: 0.8234 MB / 292.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005114/0.03253, allocations: 0.6128 MB / 293.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.03258, allocations: 41.7 kB / 293.1 MB, free: 12.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.03278, allocations: 396 kB / 293.5 MB, free: 12.42 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.03293, allocations: 261.7 kB / 293.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.03308, allocations: 152.3 kB / 293.9 MB, free: 12.01 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.03325, allocations: 0.5625 MB / 294.4 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.03351, allocations: 203 kB / 294.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006239/0.03413, allocations: 1.298 MB / 295.9 MB, free: 9.574 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005141/0.03465, allocations: 442.7 kB / 296.4 MB, free: 9.113 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.03465, allocations: 0 / 296.4 MB, free: 9.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001119/0.03577, allocations: 0.8649 MB / 297.2 MB, free: 8.191 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/0.03582, allocations: 93.09 kB / 297.3 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.03583, allocations: 3.938 kB / 297.3 MB, free: 8.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004753/0.0363, allocations: 194.5 kB / 297.5 MB, free: 7.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.03663, allocations: 135.8 kB / 297.7 MB, free: 7.738 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1129/0.1495, allocations: 7.79 MB / 305.4 MB, free: 40.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/0.1501, allocations: 84.86 kB / 305.5 MB, free: 40.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.533e-05/0.1501, allocations: 23.41 kB / 305.6 MB, free: 40.03 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.0002347/0.1504, allocations: 205.1 kB / 305.8 MB, free: 39.87 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.1505, allocations: 112.9 kB / 305.9 MB, free: 39.87 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.631e-05/0.1506, allocations: 90.28 kB / 306 MB, free: 39.85 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.1506, allocations: 10.73 kB / 306 MB, free: 39.85 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1506, allocations: 1.625 kB / 306 MB, free: 39.85 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0011/0.1517, allocations: 0.9327 MB / 306.9 MB, free: 39.28 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.1537, allocations: 1.386 MB / 308.3 MB, free: 38.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1537, allocations: 0 / 308.3 MB, free: 38.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003931/0.1541, allocations: 138.2 kB / 308.4 MB, free: 38.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004003/0.1545, allocations: 159.5 kB / 308.6 MB, free: 38.9 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.1545, allocations: 17.08 kB / 308.6 MB, free: 38.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002689/0.1572, allocations: 5.942 MB / 314.5 MB, free: 33.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1572, allocations: 5.75 kB / 314.5 MB, free: 33.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.1585, allocations: 0.9389 MB / 315.5 MB, free: 33.12 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/0.1588, allocations: 167 kB / 315.6 MB, free: 33.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.763e-05/0.1588, allocations: 18.94 kB / 315.7 MB, free: 33.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/0.1591, allocations: 43.17 kB / 315.7 MB, free: 33.01 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.1593, allocations: 75.11 kB / 315.8 MB, free: 32.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.1593, allocations: 19.64 kB / 315.8 MB, free: 32.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003665/0.1597, allocations: 410.6 kB / 316.2 MB, free: 32.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1597, allocations: 0 / 316.2 MB, free: 32.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006324/0.1603, allocations: 283 kB / 316.5 MB, free: 32.76 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.0001184/0.1604, allocations: 118.2 kB / 316.6 MB, free: 32.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.1615, allocations: 1.376 MB / 318 MB, free: 31.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1615, allocations: 2.219 kB / 318 MB, free: 31.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005916/0.1621, allocations: 0.7932 MB / 318.8 MB, free: 30.97 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000645/0.1627, allocations: 242.7 kB / 319 MB, free: 30.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.1648, allocations: 1.444 MB / 320.4 MB, free: 30.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.1649, allocations: 162.8 kB / 320.6 MB, free: 30.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002953/0.1652, allocations: 102.2 kB / 320.7 MB, free: 30.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.1653, allocations: 67.22 kB / 320.8 MB, free: 30.01 MB / 282.7 MB Notification: Performance of SimCode: time 1.233e-06/0.1653, allocations: 0 / 320.8 MB, free: 30.01 MB / 282.7 MB Notification: Performance of Templates: time 0.01723/0.1826, allocations: 19.34 MB / 340.1 MB, free: 14.82 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.2650719359517097]