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.001397/0.001397, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001723/0.001723, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.9535/0.9535, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.352e-06/1.352e-06, allocations: 0 / 273.4 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.026e-05, allocations: 2.312 kB / 273.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003112/0.003132, allocations: 3.491 MB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.004284, allocations: 0.9926 MB / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.004421, allocations: 7.938 kB / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.004657, allocations: 115.1 kB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.004919, allocations: 198.2 kB / 278.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.005106, allocations: 127.7 kB / 278.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004643/0.00557, allocations: 0.665 MB / 279 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.005741, allocations: 129.4 kB / 279.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.005999, allocations: 379.1 kB / 279.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.00621, allocations: 195.5 kB / 279.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.364e-05/0.006263, allocations: 52 kB / 279.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.068e-05/0.006314, allocations: 55.94 kB / 279.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.824e-05/0.006382, allocations: 119.6 kB / 279.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.00652, allocations: 207.6 kB / 280.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.006853, allocations: 434.4 kB / 280.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.006856, allocations: 4 kB / 280.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006857, allocations: 4 kB / 280.6 MB, free: 10.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.006861, allocations: 0 / 280.6 MB, free: 10.15 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.000695/0.007556, allocations: 0.7384 MB / 281.3 MB, free: 9.383 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.007588, allocations: 8.031 kB / 281.3 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.454e-05/0.007662, allocations: 72.88 kB / 281.4 MB, free: 9.305 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.007932, allocations: 271.8 kB / 281.6 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.96e-05/0.008002, allocations: 110.3 kB / 281.7 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.008046, allocations: 40.38 kB / 281.8 MB, free: 8.848 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.00844, allocations: 0.7341 MB / 282.5 MB, free: 7.961 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.008451, allocations: 192 / 282.5 MB, free: 7.961 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.008474, allocations: 20.12 kB / 282.5 MB, free: 7.941 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.008481, allocations: 8 kB / 282.6 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.008703, allocations: 111.1 kB / 282.7 MB, free: 7.824 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008864/0.00959, allocations: 0.6673 MB / 283.3 MB, free: 7.137 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/0.01002, allocations: 218.6 kB / 283.5 MB, free: 6.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.994e-05/0.01009, allocations: 64.75 kB / 283.6 MB, free: 6.844 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.01012, allocations: 4 kB / 283.6 MB, free: 6.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.01014, allocations: 38.56 kB / 283.6 MB, free: 6.793 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.734e-06/0.01014, allocations: 0 / 283.6 MB, free: 6.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.000376/0.01052, allocations: 239.2 kB / 283.9 MB, free: 6.547 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.01064, allocations: 452.9 kB / 284.3 MB, free: 6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.01083, allocations: 335.3 kB / 284.6 MB, free: 5.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.01085, allocations: 37.7 kB / 284.7 MB, free: 5.617 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.896e-05/0.01093, allocations: 197.4 kB / 284.9 MB, free: 5.422 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.01099, allocations: 115 kB / 285 MB, free: 5.309 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-05/0.01107, allocations: 81.94 kB / 285.1 MB, free: 5.219 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.01115, allocations: 358.7 kB / 285.4 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.343e-05/0.01122, allocations: 62.34 kB / 285.5 MB, free: 4.793 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.01143, allocations: 0.5696 MB / 286.1 MB, free: 4.074 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.01157, allocations: 157.1 kB / 286.2 MB, free: 3.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.01157, allocations: 3.938 kB / 286.2 MB, free: 3.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002254/0.0118, allocations: 266.5 kB / 286.5 MB, free: 3.621 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.01182, allocations: 33.7 kB / 286.5 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.01183, allocations: 0 / 286.5 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-05/0.01191, allocations: 37.69 kB / 286.5 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.01206, allocations: 63.91 kB / 286.6 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.01337, allocations: 2.411 MB / 289 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.01351, allocations: 39.77 kB / 289 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.01352, allocations: 4 kB / 289.1 MB, free: 0.8477 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.0001021/0.01363, allocations: 141.8 kB / 289.2 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.01367, allocations: 39.95 kB / 289.2 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/0.01372, allocations: 48.38 kB / 289.3 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01372, allocations: 7.938 kB / 289.3 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01372, allocations: 4 kB / 289.3 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003373/0.01406, allocations: 0.5252 MB / 289.8 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000479/0.01454, allocations: 0.4943 MB / 290.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.01454, allocations: 4 kB / 290.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.0147, allocations: 71.89 kB / 290.4 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.0147, allocations: 3.938 kB / 290.4 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.01472, allocations: 4 kB / 290.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.01472, allocations: 4 kB / 290.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01472, allocations: 0 / 290.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.01496, allocations: 304.9 kB / 290.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.14e-05/0.01504, allocations: 43.88 kB / 290.7 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.01507, allocations: 11.94 kB / 290.7 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.01519, allocations: 20.02 kB / 290.8 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.01522, allocations: 23.94 kB / 290.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.01523, allocations: 4 kB / 290.8 MB, free: 14.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.508e-05/0.01533, allocations: 144.7 kB / 290.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01533, allocations: 0 / 290.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000236/0.01556, allocations: 139.8 kB / 291.1 MB, free: 14.66 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 9.562e-05/0.01566, allocations: 88.36 kB / 291.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003894/0.01605, allocations: 486.1 kB / 291.6 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.01605, allocations: 4 kB / 291.6 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.01612, allocations: 81.2 kB / 291.7 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.01643, allocations: 137.2 kB / 291.9 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.01753, allocations: 0.7814 MB / 292.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.897e-05/0.01759, allocations: 105.9 kB / 292.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.01772, allocations: 55.38 kB / 292.8 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/0.018, allocations: 217.2 kB / 293 MB, free: 12.63 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.018, allocations: 0 / 293 MB, free: 12.63 MB / 282.7 MB Notification: Performance of Templates: time 0.009929/0.02793, allocations: 8.99 MB / 302 MB, free: 3.91 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.991906128823757]