Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001407/0.001407, allocations: 75.77 kB / 22.46 MB, free: 2.09 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.001172/0.001172, allocations: 160.1 kB / 25.75 MB, free: 8.938 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9739/0.9739, allocations: 158.6 MB / 187.6 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.822e-05, allocations: 9.266 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004584/0.004612, allocations: 5.01 MB / 256.1 MB, free: 2.75 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002604/0.007216, allocations: 1.325 MB / 257.4 MB, free: 1.414 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004372/0.007654, allocations: 15.88 kB / 257.5 MB, free: 1.398 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003912/0.008045, allocations: 158.6 kB / 257.6 MB, free: 1.242 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005467/0.008592, allocations: 356.9 kB / 258 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.008991, allocations: 223.5 kB / 258.2 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008895/0.009881, allocations: 1.234 MB / 259.4 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002937/0.01017, allocations: 218.5 kB / 259.6 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005316/0.01071, allocations: 0.6783 MB / 260.3 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003437/0.01105, allocations: 378.9 kB / 260.7 MB, free: 14.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.845e-05/0.01115, allocations: 104 kB / 260.8 MB, free: 14.05 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.912e-05/0.01125, allocations: 108 kB / 260.9 MB, free: 13.95 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.01137, allocations: 227.2 kB / 261.1 MB, free: 13.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.01165, allocations: 391.1 kB / 261.5 MB, free: 13.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006786/0.01233, allocations: 0.7902 MB / 262.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.01233, allocations: 0 / 262.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01233, allocations: 4 kB / 262.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.01234, allocations: 0 / 262.3 MB, free: 12.55 MB / 250.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.001497/0.01384, allocations: 1.38 MB / 263.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.01388, allocations: 11.98 kB / 263.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.01407, allocations: 160.3 kB / 263.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009824/0.01506, allocations: 0.5098 MB / 264.3 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.01522, allocations: 293.2 kB / 264.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.732e-05/0.01531, allocations: 68.38 kB / 264.7 MB, free: 9.992 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.01637, allocations: 1.519 MB / 266.2 MB, free: 8.148 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.01639, allocations: 3.938 kB / 266.2 MB, free: 8.145 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/0.01644, allocations: 36 kB / 266.3 MB, free: 8.109 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.01645, allocations: 12 kB / 266.3 MB, free: 8.098 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005145/0.01697, allocations: 295.6 kB / 266.6 MB, free: 7.809 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.019, allocations: 1.475 MB / 268 MB, free: 6.297 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005788/0.01958, allocations: 384.4 kB / 268.4 MB, free: 5.91 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.01991, allocations: 221.3 kB / 268.6 MB, free: 5.691 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-05/0.01996, allocations: 12.66 kB / 268.6 MB, free: 5.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.01999, allocations: 53.98 kB / 268.7 MB, free: 5.617 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 3.136e-06/0.02, allocations: 0 / 268.7 MB, free: 5.617 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.002541/0.02254, allocations: 1.031 MB / 269.7 MB, free: 4.562 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003033/0.02284, allocations: 0.8234 MB / 270.5 MB, free: 3.543 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009367/0.02378, allocations: 0.6205 MB / 271.2 MB, free: 2.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/0.02383, allocations: 45.7 kB / 271.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.0241, allocations: 392.1 kB / 271.6 MB, free: 2.469 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.02428, allocations: 261.7 kB / 271.8 MB, free: 2.211 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.02448, allocations: 152.3 kB / 272 MB, free: 2.055 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.02468, allocations: 0.5625 MB / 272.6 MB, free: 1.48 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.02499, allocations: 207 kB / 272.8 MB, free: 1.262 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007976/0.02578, allocations: 1.294 MB / 274 MB, free: 15.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006218/0.0264, allocations: 438.7 kB / 274.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.02641, allocations: 4 kB / 274.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001436/0.02785, allocations: 0.8727 MB / 275.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.906e-05/0.02791, allocations: 89.11 kB / 275.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.02792, allocations: 4.062 kB / 275.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005892/0.02851, allocations: 194.5 kB / 275.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000427/0.02894, allocations: 131.9 kB / 275.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005615/0.03456, allocations: 7.807 MB / 283.6 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006643/0.03522, allocations: 91.55 kB / 283.7 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/0.03526, allocations: 20 kB / 283.7 MB, free: 5.371 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.0002627/0.03553, allocations: 204.5 kB / 283.9 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.03567, allocations: 111.5 kB / 284 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.03578, allocations: 94.94 kB / 284.1 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.03579, allocations: 8 kB / 284.1 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.0358, allocations: 192 / 284.1 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00149/0.03729, allocations: 0.9251 MB / 285 MB, free: 3.902 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.03947, allocations: 1.397 MB / 286.4 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.03947, allocations: 4 kB / 286.4 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004433/0.03992, allocations: 135.8 kB / 286.5 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004152/0.04033, allocations: 154.9 kB / 286.7 MB, free: 2.148 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.04037, allocations: 19.98 kB / 286.7 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004311/0.04468, allocations: 5.935 MB / 292.7 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.04468, allocations: 0 / 292.7 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.04635, allocations: 0.9397 MB / 293.6 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/0.04666, allocations: 167.1 kB / 293.8 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.841e-05/0.04675, allocations: 23.98 kB / 293.8 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.04715, allocations: 39.97 kB / 293.8 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.04732, allocations: 68.72 kB / 293.9 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.04735, allocations: 19.94 kB / 293.9 MB, free: 10.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004257/0.04778, allocations: 415 kB / 294.3 MB, free: 10.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04778, allocations: 4 kB / 294.3 MB, free: 10.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007998/0.04858, allocations: 279.8 kB / 294.6 MB, free: 9.867 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.0001564/0.04873, allocations: 119.2 kB / 294.7 MB, free: 9.742 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.05009, allocations: 1.376 MB / 296.1 MB, free: 8.238 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.0501, allocations: 0 / 296.1 MB, free: 8.238 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007657/0.05086, allocations: 0.791 MB / 296.9 MB, free: 7.391 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008155/0.05168, allocations: 235.1 kB / 297.1 MB, free: 7.156 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.05422, allocations: 1.461 MB / 298.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.05436, allocations: 161.1 kB / 298.7 MB, free: 5.484 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006188/0.05497, allocations: 98.17 kB / 298.8 MB, free: 5.387 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.05513, allocations: 72.48 kB / 298.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of SimCode: time 1.924e-06/0.05513, allocations: 0 / 298.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of Templates: time 0.04287/0.098, allocations: 19.33 MB / 318.2 MB, free: 1.996 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.4496574769727886]