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.0009666/0.0009666, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.001089/0.001089, allocations: 145.2 kB / 25.59 MB, free: 8.918 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.9323/0.9323, allocations: 173.4 MB / 202.2 MB, free: 8.273 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.233e-06/1.233e-06, allocations: 0 / 269.2 MB, free: 9.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/1.96e-05, allocations: 5.266 kB / 269.2 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003195/0.003215, allocations: 3.465 MB / 272.6 MB, free: 6.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.004406, allocations: 0.9261 MB / 273.6 MB, free: 5.418 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.00457, allocations: 7.938 kB / 273.6 MB, free: 5.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.004828, allocations: 104.7 kB / 273.7 MB, free: 5.309 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.005089, allocations: 200.2 kB / 273.9 MB, free: 5.113 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.005272, allocations: 128.2 kB / 274 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004689/0.005741, allocations: 0.6688 MB / 274.7 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.005909, allocations: 119.5 kB / 274.8 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.006178, allocations: 371.2 kB / 275.2 MB, free: 3.828 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.006404, allocations: 203.4 kB / 275.4 MB, free: 3.629 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.235e-05/0.006466, allocations: 52 kB / 275.4 MB, free: 3.578 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.49e-05/0.006521, allocations: 52 kB / 275.5 MB, free: 3.527 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.91e-05/0.0066, allocations: 119.6 kB / 275.6 MB, free: 3.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.00675, allocations: 207.6 kB / 275.8 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.00712, allocations: 422.4 kB / 276.2 MB, free: 2.793 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.007123, allocations: 0 / 276.2 MB, free: 2.793 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.007124, allocations: 4 kB / 276.2 MB, free: 2.789 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.007129, allocations: 4 kB / 276.2 MB, free: 2.785 MB / 250.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.0008532/0.007982, allocations: 0.8864 MB / 277.1 MB, free: 1.852 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.008015, allocations: 12.03 kB / 277.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.008117, allocations: 92.61 kB / 277.2 MB, free: 1.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.008461, allocations: 318.5 kB / 277.5 MB, free: 1.41 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.495e-05/0.008546, allocations: 106.3 kB / 277.6 MB, free: 1.289 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.008593, allocations: 40.38 kB / 277.6 MB, free: 1.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004652/0.009058, allocations: 0.7783 MB / 278.4 MB, free: 316 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.009071, allocations: 192 / 278.4 MB, free: 316 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.009097, allocations: 20.12 kB / 278.4 MB, free: 296 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.009105, allocations: 8 kB / 278.4 MB, free: 288 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.009274, allocations: 123.1 kB / 278.6 MB, free: 164 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.01037, allocations: 0.9087 MB / 279.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005368/0.01091, allocations: 254.7 kB / 279.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.832e-05/0.01098, allocations: 59.66 kB / 279.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.01101, allocations: 15.98 kB / 279.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.01104, allocations: 41.39 kB / 279.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.383e-06/0.01104, allocations: 0 / 279.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0004849/0.01152, allocations: 300.5 kB / 280.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.01165, allocations: 449 kB / 280.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.01191, allocations: 422.4 kB / 281 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.01194, allocations: 33.7 kB / 281 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.01207, allocations: 299.2 kB / 281.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.117e-05/0.01213, allocations: 118.9 kB / 281.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.581e-05/0.01222, allocations: 79.66 kB / 281.5 MB, free: 13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.01236, allocations: 0.5312 MB / 282 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.64e-05/0.01244, allocations: 66.33 kB / 282.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.0127, allocations: 0.6282 MB / 282.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.01286, allocations: 170.9 kB / 282.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01286, allocations: 4 kB / 282.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003021/0.01317, allocations: 327.9 kB / 283.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.01319, allocations: 29.7 kB / 283.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.0132, allocations: 0 / 283.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.263e-05/0.01329, allocations: 47.34 kB / 283.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.01347, allocations: 71.89 kB / 283.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.0151, allocations: 3.533 MB / 286.9 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.01528, allocations: 39.77 kB / 286.9 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.0153, allocations: 4.047 kB / 286.9 MB, free: 7.086 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.0001176/0.01542, allocations: 188.6 kB / 287.1 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.01548, allocations: 59.72 kB / 287.2 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.099e-05/0.01553, allocations: 52.3 kB / 287.2 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01553, allocations: 4 kB / 287.2 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.01553, allocations: 0 / 287.2 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002797/0.01581, allocations: 0.5492 MB / 287.8 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000604/0.01642, allocations: 0.6498 MB / 288.4 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.01642, allocations: 7.938 kB / 288.4 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.0166, allocations: 63.97 kB / 288.5 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.0166, allocations: 0 / 288.5 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.01662, allocations: 11.98 kB / 288.5 MB, free: 5.355 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.01662, allocations: 0 / 288.5 MB, free: 5.355 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.01662, allocations: 3.938 kB / 288.5 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.01693, allocations: 401.1 kB / 288.9 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.95e-05/0.01703, allocations: 87.48 kB / 289 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.01707, allocations: 8 kB / 289 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.01721, allocations: 24.02 kB / 289 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.01725, allocations: 15.97 kB / 289 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.01726, allocations: 11.98 kB / 289.1 MB, free: 4.793 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.01741, allocations: 267 kB / 289.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01741, allocations: 0 / 289.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002932/0.0177, allocations: 139.8 kB / 289.4 MB, free: 4.395 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 0.0001013/0.0178, allocations: 103.2 kB / 289.5 MB, free: 4.285 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004745/0.01828, allocations: 0.5931 MB / 290.1 MB, free: 3.637 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.01828, allocations: 4 kB / 290.1 MB, free: 3.633 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.553e-05/0.01836, allocations: 84.02 kB / 290.2 MB, free: 3.547 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.01874, allocations: 141.3 kB / 290.4 MB, free: 3.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.01988, allocations: 0.7948 MB / 291.2 MB, free: 2.586 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.471e-05/0.01994, allocations: 105.9 kB / 291.3 MB, free: 2.465 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.02008, allocations: 51.38 kB / 291.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/0.02041, allocations: 270 kB / 291.6 MB, free: 2.148 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02041, allocations: 0 / 291.6 MB, free: 2.148 MB / 266.7 MB Notification: Performance of Templates: time 0.01023/0.03064, allocations: 9.161 MB / 300.7 MB, free: 9.234 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.8385576847940683]