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.001002/0.001002, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001774/0.001774, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9512/0.9512, allocations: 177 MB / 204.8 MB, free: 5.594 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.232e-06/1.232e-06, allocations: 0 / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.912e-05, allocations: 5.266 kB / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004207/0.004226, allocations: 5.055 MB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.006108, allocations: 1.328 MB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.006382, allocations: 11.94 kB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.00671, allocations: 162.6 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004742/0.007184, allocations: 352.9 kB / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.007518, allocations: 231.5 kB / 280 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008844/0.008403, allocations: 1.222 MB / 281.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.008664, allocations: 214.5 kB / 281.5 MB, free: 8.875 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006028/0.009266, allocations: 0.6782 MB / 282.1 MB, free: 8.195 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003694/0.009636, allocations: 383 kB / 282.5 MB, free: 7.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.009742, allocations: 104 kB / 282.6 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.009856, allocations: 104 kB / 282.7 MB, free: 7.617 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.009975, allocations: 227.2 kB / 282.9 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002659/0.01024, allocations: 387.2 kB / 283.3 MB, free: 7.016 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006616/0.0109, allocations: 0.7863 MB / 284.1 MB, free: 6.227 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.01091, allocations: 0 / 284.1 MB, free: 6.227 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.01091, allocations: 4 kB / 284.1 MB, free: 6.223 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.01092, allocations: 0 / 284.1 MB, free: 6.223 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.001752/0.01267, allocations: 1.376 MB / 285.5 MB, free: 4.789 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.01271, allocations: 15.98 kB / 285.5 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.01289, allocations: 156.3 kB / 285.6 MB, free: 4.621 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006885/0.01358, allocations: 0.489 MB / 286.1 MB, free: 4.102 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.01377, allocations: 297.2 kB / 286.4 MB, free: 3.758 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.322e-05/0.01386, allocations: 72.38 kB / 286.5 MB, free: 3.688 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.01488, allocations: 1.531 MB / 288 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.0149, allocations: 3.938 kB / 288 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/0.01494, allocations: 28 kB / 288.1 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.01496, allocations: 12 kB / 288.1 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.01542, allocations: 295.6 kB / 288.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.01729, allocations: 1.483 MB / 289.8 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/0.01781, allocations: 384.3 kB / 290.2 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.0181, allocations: 213 kB / 290.4 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.303e-05/0.01815, allocations: 20.64 kB / 290.4 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.01818, allocations: 50.05 kB / 290.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=73): time 2.294e-06/0.01818, allocations: 0 / 290.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=73): time 0.002011/0.02019, allocations: 1.027 MB / 291.5 MB, free: 14.24 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004751/0.02067, allocations: 0.8272 MB / 292.3 MB, free: 13.22 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004585/0.02113, allocations: 0.6128 MB / 293 MB, free: 12.59 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.02117, allocations: 45.7 kB / 293 MB, free: 12.54 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.02136, allocations: 400 kB / 293.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.0215, allocations: 265.6 kB / 293.7 MB, free: 11.89 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.02165, allocations: 148.3 kB / 293.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.02184, allocations: 0.5625 MB / 294.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.02211, allocations: 207 kB / 294.6 MB, free: 10.94 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006801/0.02279, allocations: 1.294 MB / 295.9 MB, free: 9.301 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004697/0.02326, allocations: 434.7 kB / 296.3 MB, free: 8.848 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.02327, allocations: 4 kB / 296.3 MB, free: 8.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001064/0.02433, allocations: 0.8688 MB / 297.2 MB, free: 7.918 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.749e-05/0.02439, allocations: 85.11 kB / 297.2 MB, free: 7.816 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.0244, allocations: 3.938 kB / 297.2 MB, free: 7.812 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004606/0.02486, allocations: 194.5 kB / 297.4 MB, free: 7.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.02516, allocations: 135.8 kB / 297.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1075/0.1326, allocations: 7.798 MB / 305.4 MB, free: 37.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005645/0.1332, allocations: 80.66 kB / 305.4 MB, free: 37.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/0.1333, allocations: 24.41 kB / 305.5 MB, free: 37.45 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.0002174/0.1335, allocations: 206.2 kB / 305.7 MB, free: 37.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.1336, allocations: 112.4 kB / 305.8 MB, free: 37.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.911e-05/0.1337, allocations: 87.44 kB / 305.9 MB, free: 37.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1337, allocations: 10.75 kB / 305.9 MB, free: 37.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1337, allocations: 1.062 kB / 305.9 MB, free: 37.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009562/0.1347, allocations: 0.9344 MB / 306.8 MB, free: 36.7 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.1364, allocations: 1.385 MB / 308.2 MB, free: 36.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1364, allocations: 3.578 kB / 308.2 MB, free: 36.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/0.1368, allocations: 131.5 kB / 308.3 MB, free: 36.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003355/0.1371, allocations: 163.7 kB / 308.5 MB, free: 36.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/0.1372, allocations: 16.78 kB / 308.5 MB, free: 36.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002432/0.1396, allocations: 5.945 MB / 314.4 MB, free: 30.96 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1396, allocations: 4.734 kB / 314.4 MB, free: 30.96 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.1408, allocations: 0.9442 MB / 315.4 MB, free: 30.69 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.141, allocations: 162.3 kB / 315.6 MB, free: 30.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.58e-05/0.1411, allocations: 20.69 kB / 315.6 MB, free: 30.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/0.1414, allocations: 38.89 kB / 315.6 MB, free: 30.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.1415, allocations: 70.53 kB / 315.7 MB, free: 30.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.1416, allocations: 26.33 kB / 315.7 MB, free: 30.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003257/0.1419, allocations: 410.8 kB / 316.1 MB, free: 30.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1419, allocations: 0 / 316.1 MB, free: 30.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005729/0.1425, allocations: 280.5 kB / 316.4 MB, free: 30.5 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.0001137/0.1426, allocations: 117 kB / 316.5 MB, free: 30.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009696/0.1435, allocations: 1.376 MB / 317.9 MB, free: 29.4 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1435, allocations: 2.312 kB / 317.9 MB, free: 29.4 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005372/0.1441, allocations: 0.7918 MB / 318.7 MB, free: 28.87 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006079/0.1447, allocations: 243.8 kB / 318.9 MB, free: 28.87 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.1466, allocations: 1.452 MB / 320.4 MB, free: 28.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.1467, allocations: 162.1 kB / 320.5 MB, free: 28.08 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002756/0.147, allocations: 102.6 kB / 320.6 MB, free: 28.06 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.1471, allocations: 68.38 kB / 320.7 MB, free: 28.05 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1471, allocations: 0 / 320.7 MB, free: 28.05 MB / 282.7 MB Notification: Performance of Templates: time 0.018/0.1651, allocations: 20.34 MB / 341 MB, free: 12.57 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.303014756180346]