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.001298/0.001298, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009065/0.0009065, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.8901/0.8901, allocations: 177 MB / 205.2 MB, free: 5.035 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 1.342e-06/1.342e-06, allocations: 0 / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.748e-05, allocations: 6.312 kB / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005587/0.005604, allocations: 4.97 MB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.008113, allocations: 1.362 MB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/0.008383, allocations: 11.94 kB / 279.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.008757, allocations: 170.5 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000651/0.009408, allocations: 349 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004198/0.009828, allocations: 231.6 kB / 280.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.01093, allocations: 1.237 MB / 281.7 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003132/0.01124, allocations: 220.5 kB / 281.9 MB, free: 8.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008962/0.01214, allocations: 0.6821 MB / 282.6 MB, free: 7.797 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004792/0.01262, allocations: 386.9 kB / 283 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.01275, allocations: 100 kB / 283.1 MB, free: 7.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.0129, allocations: 108 kB / 283.2 MB, free: 7.215 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.01307, allocations: 223.2 kB / 283.4 MB, free: 6.996 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003551/0.01342, allocations: 379.2 kB / 283.8 MB, free: 6.625 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000773/0.01419, allocations: 0.7941 MB / 284.6 MB, free: 5.828 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.0142, allocations: 0 / 284.6 MB, free: 5.828 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.0142, allocations: 4 kB / 284.6 MB, free: 5.824 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.0142, allocations: 0 / 284.6 MB, free: 5.824 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.001351/0.01556, allocations: 1.228 MB / 285.8 MB, free: 4.547 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.01558, allocations: 11.98 kB / 285.8 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.0157, allocations: 132.8 kB / 285.9 MB, free: 4.406 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.0161, allocations: 386.2 kB / 286.3 MB, free: 4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.01624, allocations: 297.2 kB / 286.6 MB, free: 3.656 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.866e-05/0.0163, allocations: 72.33 kB / 286.7 MB, free: 3.586 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007366/0.01704, allocations: 1.41 MB / 288.1 MB, free: 1.887 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.01706, allocations: 3.938 kB / 288.1 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.01709, allocations: 32 kB / 288.1 MB, free: 1.852 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.0171, allocations: 12 kB / 288.1 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.01736, allocations: 198.3 kB / 288.3 MB, free: 1.645 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.0187, allocations: 1.019 MB / 289.3 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.01903, allocations: 323.8 kB / 289.6 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.0192, allocations: 155.3 kB / 289.8 MB, free: 132 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.01924, allocations: 12.66 kB / 289.8 MB, free: 120 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.01926, allocations: 55.16 kB / 289.9 MB, free: 56 kB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 1.773e-06/0.01927, allocations: 0 / 289.9 MB, free: 56 kB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.1003/0.1196, allocations: 0.81 MB / 290.7 MB, free: 26.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.971e-05/0.1197, allocations: 0.8219 MB / 291.5 MB, free: 25.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004205/0.1201, allocations: 0.4975 MB / 292 MB, free: 25.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.1202, allocations: 48.39 kB / 292 MB, free: 25.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.1203, allocations: 253.1 kB / 292.3 MB, free: 25.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.1204, allocations: 266.2 kB / 292.6 MB, free: 25.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.1206, allocations: 145.5 kB / 292.7 MB, free: 24.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.617e-05/0.1207, allocations: 390.4 kB / 293.1 MB, free: 24.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.1209, allocations: 160.3 kB / 293.2 MB, free: 24.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.1212, allocations: 1.175 MB / 294.4 MB, free: 23.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.1216, allocations: 365.5 kB / 294.8 MB, free: 23.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1216, allocations: 0 / 294.8 MB, free: 23.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009439/0.1226, allocations: 0.6695 MB / 295.4 MB, free: 22.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.1226, allocations: 87.42 kB / 295.5 MB, free: 22.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1226, allocations: 1.156 kB / 295.5 MB, free: 22.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004324/0.123, allocations: 167.7 kB / 295.7 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.1234, allocations: 137.2 kB / 295.8 MB, free: 22.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002915/0.1264, allocations: 5.289 MB / 301.1 MB, free: 18.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004343/0.1268, allocations: 85.8 kB / 301.2 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.1268, allocations: 20.77 kB / 301.2 MB, free: 18.05 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.0001607/0.127, allocations: 163.3 kB / 301.4 MB, free: 17.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.1271, allocations: 81.53 kB / 301.4 MB, free: 17.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.162e-05/0.1272, allocations: 88.77 kB / 301.5 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1272, allocations: 14.48 kB / 301.5 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1272, allocations: 3.484 kB / 301.6 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000812/0.128, allocations: 0.7817 MB / 302.3 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.1296, allocations: 0.959 MB / 303.3 MB, free: 17.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1296, allocations: 0.7656 kB / 303.3 MB, free: 17.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.1299, allocations: 132.8 kB / 303.4 MB, free: 17.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002649/0.1301, allocations: 143.3 kB / 303.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.1302, allocations: 17.88 kB / 303.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.1319, allocations: 4.037 MB / 307.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1319, allocations: 0 / 307.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008559/0.1328, allocations: 0.6962 MB / 308.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.1329, allocations: 95.7 kB / 308.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.728e-05/0.133, allocations: 21.53 kB / 308.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.1333, allocations: 39.77 kB / 308.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.802e-05/0.1333, allocations: 70.92 kB / 308.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.1334, allocations: 14.78 kB / 308.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001761/0.1335, allocations: 248.1 kB / 308.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1335, allocations: 3.938 kB / 308.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005083/0.1341, allocations: 281.6 kB / 309.1 MB, free: 13.21 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 9.685e-05/0.1341, allocations: 101.1 kB / 309.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006372/0.1348, allocations: 1.075 MB / 310.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.1348, allocations: 7.406 kB / 310.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003915/0.1352, allocations: 0.5815 MB / 310.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.1357, allocations: 239.6 kB / 311.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.1373, allocations: 1.346 MB / 312.4 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.028e-05/0.1374, allocations: 168.8 kB / 312.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002336/0.1376, allocations: 97.77 kB / 312.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000466/0.1381, allocations: 377.5 kB / 313 MB, free: 11.05 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1381, allocations: 6 kB / 313.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of Templates: time 0.01879/0.1569, allocations: 20.44 MB / 333.5 MB, free: 7.93 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.0599943357519805]