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.0009526/0.0009526, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001255/0.001255, allocations: 166.3 kB / 24.82 MB, free: 9.301 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.9966/0.9966, allocations: 177 MB / 205.1 MB, free: 5.473 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.383e-06/1.383e-06, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.276e-05, allocations: 2.312 kB / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004065/0.004078, allocations: 4.964 MB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.00588, allocations: 1.32 MB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.006122, allocations: 11.94 kB / 279.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.006441, allocations: 162.6 kB / 279.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004734/0.006915, allocations: 356.9 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.007215, allocations: 223.6 kB / 280.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.008239, allocations: 1.226 MB / 281.6 MB, free: 8.938 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.008478, allocations: 214.5 kB / 281.8 MB, free: 8.719 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004949/0.008973, allocations: 0.686 MB / 282.5 MB, free: 8.031 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003314/0.009305, allocations: 378.9 kB / 282.8 MB, free: 7.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.83e-05/0.009403, allocations: 104 kB / 282.9 MB, free: 7.559 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.009513, allocations: 104 kB / 283 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.009636, allocations: 231.2 kB / 283.3 MB, free: 7.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002488/0.009884, allocations: 383.2 kB / 283.6 MB, free: 6.855 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005923/0.01048, allocations: 0.7941 MB / 284.4 MB, free: 6.059 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.01048, allocations: 0 / 284.4 MB, free: 6.059 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.01048, allocations: 0 / 284.4 MB, free: 6.059 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.01049, allocations: 0 / 284.4 MB, free: 6.059 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.001329/0.01182, allocations: 1.38 MB / 285.8 MB, free: 4.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.01185, allocations: 11.98 kB / 285.8 MB, free: 4.609 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.01199, allocations: 164.3 kB / 286 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004288/0.01242, allocations: 480.8 kB / 286.4 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.01257, allocations: 297.2 kB / 286.7 MB, free: 3.605 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.64e-05/0.01265, allocations: 72.36 kB / 286.8 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.01382, allocations: 1.491 MB / 288.3 MB, free: 1.719 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.01383, allocations: 7.938 kB / 288.3 MB, free: 1.711 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.01387, allocations: 28 kB / 288.3 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.01388, allocations: 12 kB / 288.3 MB, free: 1.672 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.01419, allocations: 238.1 kB / 288.6 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.0158, allocations: 1.386 MB / 290 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.01619, allocations: 343.8 kB / 290.3 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.01639, allocations: 177.2 kB / 290.5 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.01643, allocations: 16.66 kB / 290.5 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.01646, allocations: 53.98 kB / 290.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=73): time 2.064e-06/0.01646, allocations: 0 / 290.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=73): time 0.001659/0.01812, allocations: 0.9524 MB / 291.5 MB, free: 14.44 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002117/0.01833, allocations: 0.8234 MB / 292.3 MB, free: 13.42 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.0187, allocations: 0.593 MB / 292.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.01874, allocations: 49.7 kB / 293 MB, free: 12.76 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.01897, allocations: 403.9 kB / 293.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.0191, allocations: 269.6 kB / 293.6 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.01924, allocations: 148.3 kB / 293.8 MB, free: 11.94 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.01939, allocations: 0.5741 MB / 294.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.01956, allocations: 175 kB / 294.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007257/0.02028, allocations: 1.271 MB / 295.8 MB, free: 9.547 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.02062, allocations: 378.6 kB / 296.1 MB, free: 9.148 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.02062, allocations: 11.98 kB / 296.2 MB, free: 9.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008642/0.02149, allocations: 0.8024 MB / 297 MB, free: 8.277 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.305e-05/0.02153, allocations: 81.11 kB / 297 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.02153, allocations: 0 / 297 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003566/0.02189, allocations: 194.5 kB / 297.2 MB, free: 7.973 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.02217, allocations: 131.9 kB / 297.4 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1019/0.124, allocations: 7.675 MB / 305 MB, free: 37.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005829/0.1246, allocations: 84.31 kB / 305.1 MB, free: 37.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.1247, allocations: 21.2 kB / 305.1 MB, free: 37.32 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.0002167/0.1249, allocations: 212.4 kB / 305.3 MB, free: 37.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.125, allocations: 105 kB / 305.4 MB, free: 37.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.604e-05/0.1251, allocations: 90.14 kB / 305.5 MB, free: 37.14 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1251, allocations: 7.891 kB / 305.5 MB, free: 37.14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1251, allocations: 0 / 305.5 MB, free: 37.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008131/0.1259, allocations: 0.8788 MB / 306.4 MB, free: 36.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.1275, allocations: 1.248 MB / 307.7 MB, free: 36.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1275, allocations: 0 / 307.7 MB, free: 36.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.1278, allocations: 134.2 kB / 307.8 MB, free: 36.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003032/0.1281, allocations: 155 kB / 308 MB, free: 36.22 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.1281, allocations: 15.66 kB / 308 MB, free: 36.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002461/0.1306, allocations: 5.852 MB / 313.8 MB, free: 30.92 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1306, allocations: 1.375 kB / 313.8 MB, free: 30.92 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.1316, allocations: 0.8586 MB / 314.7 MB, free: 30.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.1318, allocations: 166.7 kB / 314.8 MB, free: 30.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.1319, allocations: 18.2 kB / 314.9 MB, free: 30.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.1322, allocations: 40.2 kB / 314.9 MB, free: 30.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.1323, allocations: 70.48 kB / 315 MB, free: 30.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.1323, allocations: 25.52 kB / 315 MB, free: 30.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003/0.1326, allocations: 380.9 kB / 315.4 MB, free: 30.47 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1326, allocations: 0 / 315.4 MB, free: 30.47 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006256/0.1333, allocations: 287.6 kB / 315.6 MB, free: 30.46 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.0001119/0.1334, allocations: 119.9 kB / 315.8 MB, free: 30.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008193/0.1342, allocations: 1.322 MB / 317.1 MB, free: 29.37 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1342, allocations: 1.625 kB / 317.1 MB, free: 29.37 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005207/0.1347, allocations: 0.7558 MB / 317.8 MB, free: 28.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006086/0.1353, allocations: 247.5 kB / 318.1 MB, free: 28.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.1373, allocations: 1.439 MB / 319.5 MB, free: 28.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.1374, allocations: 163.5 kB / 319.7 MB, free: 28.06 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003197/0.1377, allocations: 94.42 kB / 319.8 MB, free: 28.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006693/0.1384, allocations: 442 kB / 320.2 MB, free: 27.97 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1384, allocations: 0 / 320.2 MB, free: 27.97 MB / 282.7 MB Notification: Performance of Templates: time 0.01808/0.1565, allocations: 20.6 MB / 340.8 MB, free: 12.49 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.217409678734839]