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.0008874/0.0008874, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.0008835/0.0008835, allocations: 147.9 kB / 24.81 MB, free: 9.285 MB / 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.9479/0.9479, allocations: 173.3 MB / 201.4 MB, free: 9.199 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 1.523e-06/1.523e-06, allocations: 0 / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09e-05/1.242e-05, allocations: 2.312 kB / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.002964/0.002976, allocations: 3.47 MB / 271.9 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.004212, allocations: 0.9306 MB / 272.8 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.004357, allocations: 11.94 kB / 272.8 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.00463, allocations: 103.1 kB / 272.9 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.004885, allocations: 198.3 kB / 273.1 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.005059, allocations: 127.7 kB / 273.2 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005655/0.005625, allocations: 0.676 MB / 273.9 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.005786, allocations: 115.5 kB / 274 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.006024, allocations: 371.2 kB / 274.4 MB, free: 188 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.006221, allocations: 203.4 kB / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/0.006274, allocations: 52 kB / 274.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.996e-05/0.006334, allocations: 56 kB / 274.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.006398, allocations: 119.6 kB / 274.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.006525, allocations: 207.6 kB / 275 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.006837, allocations: 422.4 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.006839, allocations: 0 / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.00684, allocations: 0 / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.006844, allocations: 0 / 275.4 MB, free: 15.14 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.0009142/0.007759, allocations: 0.8943 MB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.007795, allocations: 12.92 kB / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.479e-05/0.00788, allocations: 88.61 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.008169, allocations: 318.5 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.326e-05/0.008242, allocations: 106.3 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.00829, allocations: 48.31 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/0.008735, allocations: 0.7705 MB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.008748, allocations: 192 / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.008771, allocations: 20.12 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.008779, allocations: 8 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.008944, allocations: 123 kB / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.009975, allocations: 0.9049 MB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004883/0.01046, allocations: 262.6 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.671e-05/0.01054, allocations: 63.66 kB / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.01056, allocations: 12 kB / 279 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.01059, allocations: 45.38 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.453e-06/0.01059, allocations: 4 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0004425/0.01103, allocations: 292.6 kB / 279.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.01117, allocations: 452.9 kB / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.01142, allocations: 422.4 kB / 280.2 MB, free: 9.887 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.01144, allocations: 33.7 kB / 280.2 MB, free: 9.848 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.01158, allocations: 299.2 kB / 280.5 MB, free: 9.551 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.01164, allocations: 118.9 kB / 280.6 MB, free: 9.434 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.277e-05/0.01172, allocations: 79.66 kB / 280.7 MB, free: 9.344 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.01186, allocations: 0.5351 MB / 281.3 MB, free: 8.797 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.947e-05/0.01193, allocations: 66.33 kB / 281.3 MB, free: 8.727 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.01219, allocations: 0.6244 MB / 281.9 MB, free: 7.934 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.01234, allocations: 166.9 kB / 282.1 MB, free: 7.758 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.01235, allocations: 0 / 282.1 MB, free: 7.758 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002951/0.01264, allocations: 327.9 kB / 282.4 MB, free: 7.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.01267, allocations: 33.69 kB / 282.5 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.01267, allocations: 0 / 282.5 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.961e-05/0.01276, allocations: 55.31 kB / 282.5 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.01292, allocations: 67.95 kB / 282.6 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.01442, allocations: 3.52 MB / 286.1 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.01457, allocations: 39.95 kB / 286.1 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.01458, allocations: 4 kB / 286.1 MB, free: 3.441 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.0001068/0.01469, allocations: 180.5 kB / 286.3 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.575e-05/0.01474, allocations: 63.7 kB / 286.4 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.564e-05/0.01479, allocations: 48.31 kB / 286.4 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.01479, allocations: 11.98 kB / 286.4 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.01479, allocations: 0 / 286.4 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002839/0.01508, allocations: 0.5487 MB / 287 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/0.01568, allocations: 0.6537 MB / 287.6 MB, free: 1.789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.01568, allocations: 3.938 kB / 287.6 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.01584, allocations: 63.97 kB / 287.7 MB, free: 1.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.01584, allocations: 0 / 287.7 MB, free: 1.723 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.01585, allocations: 11.98 kB / 287.7 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01586, allocations: 7.938 kB / 287.7 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.01586, allocations: 0 / 287.7 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.01615, allocations: 405 kB / 288.1 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.272e-05/0.01625, allocations: 87.48 kB / 288.2 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.01628, allocations: 11.94 kB / 288.2 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.01641, allocations: 19.98 kB / 288.2 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.01643, allocations: 15.97 kB / 288.3 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.01645, allocations: 11.98 kB / 288.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001312/0.01658, allocations: 267 kB / 288.5 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01658, allocations: 4.031 kB / 288.5 MB, free: 0.875 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002515/0.01683, allocations: 135.8 kB / 288.7 MB, free: 0.7422 MB / 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 8.446e-05/0.01691, allocations: 107.2 kB / 288.8 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004244/0.01734, allocations: 0.5892 MB / 289.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01734, allocations: 0 / 289.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.185e-05/0.01742, allocations: 87.98 kB / 289.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.01777, allocations: 125.4 kB / 289.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.01889, allocations: 0.799 MB / 290.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.21e-05/0.01895, allocations: 105.9 kB / 290.5 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.01908, allocations: 59.38 kB / 290.5 MB, free: 14.76 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.0194, allocations: 266 kB / 290.8 MB, free: 14.5 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0194, allocations: 0 / 290.8 MB, free: 14.5 MB / 282.7 MB Notification: Performance of Templates: time 0.009797/0.02919, allocations: 8.99 MB / 299.8 MB, free: 5.762 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.8307027188129723]