Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000864/0.000864, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9412/0.9412, allocations: 173.4 MB / 201.2 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.34e-06/5.34e-06, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.745e-05, allocations: 10.19 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003274/0.003301, allocations: 3.513 MB / 271.5 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.00474, allocations: 0.9422 MB / 272.4 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.004937, allocations: 7.938 kB / 272.4 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.005231, allocations: 103.1 kB / 272.5 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.005552, allocations: 202.3 kB / 272.7 MB, free: 1.637 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.005787, allocations: 127.7 kB / 272.9 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005846/0.006371, allocations: 0.6645 MB / 273.5 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.00656, allocations: 115.5 kB / 273.6 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003235/0.006883, allocations: 379.2 kB / 274 MB, free: 364 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.007131, allocations: 199.4 kB / 274.2 MB, free: 164 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.146e-05/0.007193, allocations: 56 kB / 274.3 MB, free: 108 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.135e-05/0.007254, allocations: 56 kB / 274.3 MB, free: 52 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.817e-05/0.007332, allocations: 115.6 kB / 274.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.007486, allocations: 207.6 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003938/0.00788, allocations: 422.4 kB / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.007883, allocations: 4 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.007884, allocations: 0 / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.007895, allocations: 0 / 275.1 MB, free: 15.32 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.0009461/0.008841, allocations: 0.8866 MB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.008878, allocations: 12.92 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.008998, allocations: 88.61 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.009372, allocations: 322.5 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.359e-05/0.009466, allocations: 114.3 kB / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.009514, allocations: 40.38 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005588/0.01007, allocations: 0.7939 MB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.01009, allocations: 192 / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.01011, allocations: 20.12 kB / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.01012, allocations: 8 kB / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.01037, allocations: 155.8 kB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.01157, allocations: 0.9668 MB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.01216, allocations: 279.7 kB / 278.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.01227, allocations: 75.64 kB / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.0123, allocations: 8 kB / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.01232, allocations: 41.39 kB / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.353e-06/0.01233, allocations: 0 / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005638/0.01289, allocations: 336.6 kB / 279.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.01302, allocations: 444.9 kB / 279.6 MB, free: 10.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.01332, allocations: 434.6 kB / 280 MB, free: 9.871 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.01334, allocations: 33.7 kB / 280.1 MB, free: 9.832 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.01348, allocations: 287.2 kB / 280.3 MB, free: 9.547 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.902e-05/0.01354, allocations: 123 kB / 280.5 MB, free: 9.426 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.884e-05/0.01363, allocations: 79.67 kB / 280.5 MB, free: 9.336 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.01378, allocations: 0.5352 MB / 281.1 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.01389, allocations: 82.33 kB / 281.2 MB, free: 8.703 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.01419, allocations: 0.6323 MB / 281.8 MB, free: 7.902 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.01442, allocations: 190.9 kB / 282 MB, free: 7.703 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.01442, allocations: 0 / 282 MB, free: 7.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004005/0.01482, allocations: 352 kB / 282.3 MB, free: 7.332 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.01485, allocations: 37.69 kB / 282.4 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.01485, allocations: 0 / 282.4 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00012/0.01497, allocations: 47.36 kB / 282.4 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.01515, allocations: 67.92 kB / 282.5 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.01678, allocations: 3.577 MB / 286 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.01696, allocations: 39.77 kB / 286.1 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.01697, allocations: 8 kB / 286.1 MB, free: 3.293 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.0001268/0.0171, allocations: 188.4 kB / 286.3 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.074e-05/0.01716, allocations: 59.72 kB / 286.3 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.01721, allocations: 44.38 kB / 286.4 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01721, allocations: 4 kB / 286.4 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.01722, allocations: 4 kB / 286.4 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003396/0.01756, allocations: 0.5683 MB / 287 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007003/0.01826, allocations: 0.7274 MB / 287.7 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01826, allocations: 0 / 287.7 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.01844, allocations: 63.91 kB / 287.7 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01844, allocations: 3.938 kB / 287.7 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.01846, allocations: 11.98 kB / 287.8 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.01846, allocations: 0 / 287.8 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01846, allocations: 4 kB / 287.8 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.01884, allocations: 444.9 kB / 288.2 MB, free: 1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-05/0.01894, allocations: 83.55 kB / 288.3 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.01897, allocations: 8 kB / 288.3 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.01911, allocations: 15.98 kB / 288.3 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.01915, allocations: 23.95 kB / 288.3 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.01916, allocations: 4 kB / 288.3 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001832/0.01934, allocations: 291.1 kB / 288.6 MB, free: 0.582 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01934, allocations: 0 / 288.6 MB, free: 0.582 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002815/0.01962, allocations: 139.8 kB / 288.7 MB, free: 456 kB / 266.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 9.484e-05/0.01972, allocations: 115.3 kB / 288.9 MB, free: 332 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005274/0.02025, allocations: 0.6048 MB / 289.5 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.02025, allocations: 0 / 289.5 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.02035, allocations: 104 kB / 289.6 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.02073, allocations: 121.5 kB / 289.7 MB, free: 15.44 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.02198, allocations: 0.799 MB / 290.5 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.374e-05/0.02204, allocations: 105.9 kB / 290.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.02218, allocations: 63.34 kB / 290.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.433e-05/0.02225, allocations: 36.5 kB / 290.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.02225, allocations: 0 / 290.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of Templates: time 0.01076/0.03302, allocations: 8.853 MB / 299.5 MB, free: 5.754 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.886415041051805]