Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.00126/0.00126, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001494/0.001494, allocations: 173.6 kB / 24.91 MB, free: 9.176 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9778/0.9778, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.62e-07/8.62e-07, allocations: 0 / 273.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.346e-05/1.432e-05, allocations: 2.312 kB / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003574/0.003588, allocations: 3.699 MB / 277.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.005043, allocations: 1.032 MB / 278.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.005195, allocations: 7.938 kB / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.005431, allocations: 115 kB / 278.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.005734, allocations: 210.2 kB / 278.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.005943, allocations: 139.6 kB / 278.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005496/0.006493, allocations: 0.7079 MB / 279.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.006663, allocations: 132.8 kB / 279.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003323/0.006996, allocations: 399 kB / 279.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.007229, allocations: 215.4 kB / 280.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.009e-05/0.007309, allocations: 56 kB / 280.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.094e-05/0.00737, allocations: 56 kB / 280.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.36e-05/0.007444, allocations: 127.5 kB / 280.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.007597, allocations: 215.6 kB / 280.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.007966, allocations: 458.3 kB / 281 MB, free: 9.727 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.007968, allocations: 4 kB / 281 MB, free: 9.723 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.007969, allocations: 0 / 281 MB, free: 9.723 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.007974, allocations: 0 / 281 MB, free: 9.723 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.000843/0.008817, allocations: 0.7811 MB / 281.8 MB, free: 8.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.008846, allocations: 12.03 kB / 281.8 MB, free: 8.898 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.461e-05/0.008931, allocations: 68.88 kB / 281.9 MB, free: 8.832 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.009251, allocations: 283.7 kB / 282.1 MB, free: 8.527 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-05/0.009329, allocations: 114.3 kB / 282.2 MB, free: 8.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.009371, allocations: 40.38 kB / 282.3 MB, free: 8.359 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005313/0.009902, allocations: 0.7457 MB / 283 MB, free: 7.461 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.009915, allocations: 192 / 283 MB, free: 7.461 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.00994, allocations: 24.12 kB / 283.1 MB, free: 7.438 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.009949, allocations: 8 kB / 283.1 MB, free: 7.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.01012, allocations: 107.1 kB / 283.2 MB, free: 7.324 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009275/0.01105, allocations: 0.6557 MB / 283.8 MB, free: 6.648 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.01125, allocations: 138.5 kB / 284 MB, free: 6.504 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.821e-05/0.01133, allocations: 69.42 kB / 284 MB, free: 6.434 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.01135, allocations: 11.98 kB / 284 MB, free: 6.422 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.01138, allocations: 42.42 kB / 284.1 MB, free: 6.371 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.303e-06/0.01138, allocations: 0 / 284.1 MB, free: 6.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004411/0.01182, allocations: 269.4 kB / 284.3 MB, free: 6.098 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.01195, allocations: 452.9 kB / 284.8 MB, free: 5.551 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.01219, allocations: 363.2 kB / 285.1 MB, free: 5.184 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.01221, allocations: 37.7 kB / 285.2 MB, free: 5.141 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.0123, allocations: 197.5 kB / 285.4 MB, free: 4.945 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.01237, allocations: 126.9 kB / 285.5 MB, free: 4.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-05/0.01246, allocations: 77.45 kB / 285.6 MB, free: 4.738 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.168e-05/0.01255, allocations: 358.7 kB / 285.9 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.448e-05/0.01262, allocations: 61.67 kB / 286 MB, free: 4.312 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.013, allocations: 0.5684 MB / 286.5 MB, free: 3.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.01317, allocations: 161.2 kB / 286.7 MB, free: 3.422 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01317, allocations: 0 / 286.7 MB, free: 3.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002733/0.01345, allocations: 276.1 kB / 287 MB, free: 3.129 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.01347, allocations: 33.7 kB / 287 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.01347, allocations: 0 / 287 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.722e-05/0.01356, allocations: 37.69 kB / 287 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.01384, allocations: 99.98 kB / 287.1 MB, free: 2.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.01515, allocations: 2.411 MB / 289.6 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.01548, allocations: 39.81 kB / 289.6 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.01551, allocations: 16 kB / 289.6 MB, free: 320 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.01568, allocations: 133.8 kB / 289.7 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.744e-05/0.01578, allocations: 43.95 kB / 289.8 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.081e-05/0.01587, allocations: 52.56 kB / 289.8 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.01587, allocations: 7.938 kB / 289.8 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.01588, allocations: 0 / 289.8 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004994/0.01637, allocations: 0.5396 MB / 290.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.01691, allocations: 0.5292 MB / 290.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01691, allocations: 0 / 290.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.01717, allocations: 103.8 kB / 291 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.01717, allocations: 4 kB / 291 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.01718, allocations: 4 kB / 291 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01718, allocations: 7.938 kB / 291 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.01718, allocations: 0 / 291 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.01746, allocations: 336.9 kB / 291.4 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.541e-05/0.01754, allocations: 55.64 kB / 291.4 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.01757, allocations: 8 kB / 291.4 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.01771, allocations: 19.98 kB / 291.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.01776, allocations: 23.95 kB / 291.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.01777, allocations: 4 kB / 291.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.01787, allocations: 160.7 kB / 291.6 MB, free: 14.13 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01787, allocations: 4 kB / 291.6 MB, free: 14.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002449/0.01812, allocations: 143.8 kB / 291.8 MB, free: 13.99 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.135e-05/0.0182, allocations: 88.39 kB / 291.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003944/0.01859, allocations: 495.4 kB / 292.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.0186, allocations: 7.938 kB / 292.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.819e-05/0.01869, allocations: 80.75 kB / 292.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.019, allocations: 153.5 kB / 292.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.02006, allocations: 0.8329 MB / 293.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.361e-05/0.02012, allocations: 113.8 kB / 293.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.02027, allocations: 64.23 kB / 293.6 MB, free: 12.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003278/0.0206, allocations: 237.2 kB / 293.8 MB, free: 11.83 MB / 282.7 MB Notification: Performance of SimCode: time 9.61e-07/0.0206, allocations: 0 / 293.8 MB, free: 11.83 MB / 282.7 MB Notification: Performance of Templates: time 0.01092/0.03152, allocations: 10.06 MB / 303.9 MB, free: 2.039 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.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: 2.814664807636291]