Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001044/0.001044, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001126/0.001126, allocations: 162.3 kB / 25.61 MB, free: 8.598 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.9695/0.9695, allocations: 177.1 MB / 206 MB, free: 4.5 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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 274.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.816e-05, allocations: 2.312 kB / 274.2 MB, free: 4.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.00381/0.003828, allocations: 3.477 MB / 277.7 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.005106, allocations: 0.9525 MB / 278.6 MB, free: 12 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.005272, allocations: 11.94 kB / 278.6 MB, free: 0 / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.00554, allocations: 107.2 kB / 278.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.005857, allocations: 198.3 kB / 278.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.006081, allocations: 123.7 kB / 279 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005963/0.006677, allocations: 0.665 MB / 279.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.006879, allocations: 127.5 kB / 279.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.007204, allocations: 371.2 kB / 280.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.007467, allocations: 199.4 kB / 280.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.656e-05/0.007534, allocations: 52 kB / 280.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.911e-05/0.007603, allocations: 52 kB / 280.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.689e-05/0.00769, allocations: 127.6 kB / 280.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.007866, allocations: 199.6 kB / 280.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.008279, allocations: 434.4 kB / 281.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.008281, allocations: 0 / 281.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.008282, allocations: 0 / 281.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.008287, allocations: 0 / 281.2 MB, free: 13.37 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.0009723/0.009259, allocations: 0.8904 MB / 282.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.009291, allocations: 8.031 kB / 282.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.009409, allocations: 92.56 kB / 282.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.009776, allocations: 318.6 kB / 282.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.119e-05/0.009867, allocations: 110.3 kB / 282.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.358e-05/0.009921, allocations: 40.38 kB / 282.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005476/0.01047, allocations: 0.7783 MB / 283.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.01048, allocations: 192 / 283.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.01051, allocations: 20.12 kB / 283.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.01052, allocations: 8 kB / 283.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.01073, allocations: 123.1 kB / 283.6 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.01204, allocations: 0.9048 MB / 284.5 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/0.01269, allocations: 247.7 kB / 284.7 MB, free: 9.539 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.991e-05/0.01279, allocations: 75.27 kB / 284.8 MB, free: 9.465 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.01281, allocations: 4 kB / 284.8 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.01284, allocations: 49.31 kB / 284.9 MB, free: 9.402 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.01284, allocations: 0 / 284.9 MB, free: 9.402 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005656/0.01341, allocations: 304.6 kB / 285.2 MB, free: 9.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.01354, allocations: 441 kB / 285.6 MB, free: 8.555 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/0.01386, allocations: 422.5 kB / 286 MB, free: 8.125 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.01389, allocations: 37.7 kB / 286 MB, free: 8.082 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.01406, allocations: 303.1 kB / 286.3 MB, free: 7.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.821e-05/0.01414, allocations: 118.9 kB / 286.5 MB, free: 7.664 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.01425, allocations: 79.67 kB / 286.5 MB, free: 7.574 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.01441, allocations: 0.5351 MB / 287.1 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.102e-05/0.0145, allocations: 66.33 kB / 287.1 MB, free: 6.957 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.01481, allocations: 0.6205 MB / 287.8 MB, free: 6.168 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.01501, allocations: 170.8 kB / 287.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01501, allocations: 0 / 287.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003909/0.0154, allocations: 324 kB / 288.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.01543, allocations: 37.69 kB / 288.3 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.01544, allocations: 0 / 288.3 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001002/0.01554, allocations: 47.34 kB / 288.3 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.01575, allocations: 63.89 kB / 288.4 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.01754, allocations: 3.54 MB / 291.9 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.01775, allocations: 39.77 kB / 292 MB, free: 1.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.01777, allocations: 8 kB / 292 MB, free: 1.664 MB / 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 (36): * Single equations (assignments): 33 * 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.000134/0.01791, allocations: 180.5 kB / 292.2 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.797e-05/0.01798, allocations: 55.72 kB / 292.2 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.984e-05/0.01804, allocations: 48.31 kB / 292.3 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.01805, allocations: 4 kB / 292.3 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.01805, allocations: 0 / 292.3 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003564/0.01841, allocations: 0.5534 MB / 292.8 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007606/0.01917, allocations: 0.6576 MB / 293.5 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.01917, allocations: 7.938 kB / 293.5 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.01941, allocations: 59.91 kB / 293.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01941, allocations: 4 kB / 293.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.01943, allocations: 4 kB / 293.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.01943, allocations: 7.984 kB / 293.5 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01943, allocations: 3.938 kB / 293.6 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.01983, allocations: 413 kB / 294 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.01995, allocations: 83.55 kB / 294 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.02, allocations: 8 kB / 294 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.02021, allocations: 15.98 kB / 294.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.02024, allocations: 15.97 kB / 294.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.02026, allocations: 7.984 kB / 294.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001762/0.02043, allocations: 271 kB / 294.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02043, allocations: 0 / 294.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003708/0.0208, allocations: 135.8 kB / 294.5 MB, free: 14.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 (32): * Single equations (assignments): 32 * 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 0.0001038/0.02091, allocations: 111.2 kB / 294.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005174/0.02142, allocations: 0.5853 MB / 295.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.02143, allocations: 0 / 295.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.02153, allocations: 88.03 kB / 295.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.02202, allocations: 141.4 kB / 295.4 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.02336, allocations: 0.7882 MB / 296.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.02346, allocations: 105.9 kB / 296.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001718/0.02363, allocations: 55.38 kB / 296.3 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000403/0.02403, allocations: 262 kB / 296.6 MB, free: 12.74 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02404, allocations: 0 / 296.6 MB, free: 12.74 MB / 282.7 MB Notification: Performance of Templates: time 0.01304/0.03708, allocations: 9.162 MB / 305.8 MB, free: 3.812 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.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.945586802903563]