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.001312/0.001312, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.001316/0.001316, allocations: 145.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 1.029/1.029, allocations: 173.3 MB / 201.1 MB, free: 9.32 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.343e-06/1.343e-06, allocations: 0 / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.536e-05, allocations: 2.312 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003267/0.003293, allocations: 3.52 MB / 271.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.004615, allocations: 0.9345 MB / 272.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.004798, allocations: 7.938 kB / 272.4 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.005086, allocations: 111 kB / 272.5 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.005394, allocations: 198.3 kB / 272.7 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.005626, allocations: 123.8 kB / 272.9 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005512/0.006177, allocations: 0.661 MB / 273.5 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.006375, allocations: 127.5 kB / 273.6 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.00667, allocations: 367.2 kB / 274 MB, free: 384 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.006893, allocations: 203.4 kB / 274.2 MB, free: 180 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.503e-05/0.006958, allocations: 52 kB / 274.3 MB, free: 128 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.558e-05/0.007024, allocations: 56 kB / 274.3 MB, free: 72 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.379e-05/0.007107, allocations: 119.6 kB / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.007264, allocations: 203.6 kB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.007673, allocations: 438.4 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.007676, allocations: 4 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.007676, allocations: 3.938 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.007682, 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.0009927/0.008675, allocations: 0.8788 MB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.008711, allocations: 16.92 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.008839, allocations: 88.61 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.009255, allocations: 331.2 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.009357, allocations: 110.3 kB / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.926e-05/0.009416, allocations: 40.38 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00056/0.009976, allocations: 0.7939 MB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.009989, allocations: 192 / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.01002, allocations: 20.12 kB / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.01003, allocations: 12 kB / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.01028, allocations: 151.8 kB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.01148, allocations: 0.9629 MB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006502/0.01213, allocations: 271.8 kB / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.01226, allocations: 82.64 kB / 278.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.01229, allocations: 8 kB / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.01231, allocations: 45.33 kB / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.483e-06/0.01232, allocations: 3.938 kB / 278.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005839/0.0129, allocations: 320.7 kB / 279.2 MB, free: 10.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001723/0.01307, allocations: 456.9 kB / 279.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.01349, allocations: 434.6 kB / 280 MB, free: 9.875 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.01352, allocations: 37.64 kB / 280.1 MB, free: 9.832 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.0137, allocations: 287.2 kB / 280.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.437e-05/0.01378, allocations: 122.9 kB / 280.5 MB, free: 9.426 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.0139, allocations: 75.69 kB / 280.5 MB, free: 9.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.01407, allocations: 0.5312 MB / 281.1 MB, free: 8.797 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.01421, allocations: 82.33 kB / 281.2 MB, free: 8.711 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.0146, allocations: 0.6362 MB / 281.8 MB, free: 7.906 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.0149, allocations: 190.9 kB / 282 MB, free: 7.707 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.01491, allocations: 4 kB / 282 MB, free: 7.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005134/0.01542, allocations: 352 kB / 282.3 MB, free: 7.332 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.01546, allocations: 37.69 kB / 282.4 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.01546, allocations: 0 / 282.4 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.01561, allocations: 43.36 kB / 282.4 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.01584, allocations: 67.89 kB / 282.5 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.0179, allocations: 3.577 MB / 286.1 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.01811, allocations: 35.77 kB / 286.1 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.01814, allocations: 16.09 kB / 286.1 MB, free: 3.289 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.0001524/0.01829, allocations: 184.5 kB / 286.3 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.11e-05/0.01837, allocations: 59.66 kB / 286.3 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.145e-05/0.01843, allocations: 48.38 kB / 286.4 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.01844, allocations: 4 kB / 286.4 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.01844, allocations: 0 / 286.4 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004462/0.01889, allocations: 0.5644 MB / 287 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008999/0.01979, allocations: 0.7313 MB / 287.7 MB, free: 1.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01979, allocations: 0 / 287.7 MB, free: 1.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.02002, allocations: 67.91 kB / 287.8 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.02002, allocations: 0 / 287.8 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.02004, allocations: 11.98 kB / 287.8 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.02005, allocations: 0 / 287.8 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.02005, allocations: 0 / 287.8 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.02055, allocations: 444.9 kB / 288.2 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.02068, allocations: 75.8 kB / 288.3 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.02072, allocations: 16.03 kB / 288.3 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.02092, allocations: 15.98 kB / 288.3 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.02096, allocations: 19.94 kB / 288.3 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.02097, allocations: 15.94 kB / 288.3 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002474/0.02122, allocations: 287.1 kB / 288.6 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02122, allocations: 0 / 288.6 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004056/0.02163, allocations: 143.7 kB / 288.8 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 0.0001051/0.02173, allocations: 99.25 kB / 288.9 MB, free: 348 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006871/0.02242, allocations: 0.6165 MB / 289.5 MB, free: 15.67 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.02242, allocations: 4 kB / 289.5 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.02256, allocations: 92.08 kB / 289.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.02309, allocations: 129.5 kB / 289.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.02465, allocations: 0.8054 MB / 290.5 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.157e-05/0.02474, allocations: 101.9 kB / 290.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001799/0.02491, allocations: 67.34 kB / 290.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.052e-05/0.02501, allocations: 36.5 kB / 290.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.02501, allocations: 0 / 290.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of Templates: time 0.01255/0.03755, allocations: 8.411 MB / 299.1 MB, free: 6.191 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: 3.120740147307515]