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.0009474/0.0009474, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009985/0.0009985, allocations: 169 kB / 24.82 MB, free: 9.27 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 1/1, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.823e-06/1.823e-06, allocations: 0 / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.484e-05, allocations: 2.312 kB / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003766/0.003791, allocations: 3.484 MB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.005455, allocations: 0.954 MB / 277.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.005693, allocations: 7.938 kB / 277.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.006012, allocations: 107.1 kB / 277.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003972/0.00641, allocations: 206.2 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.006724, allocations: 123.7 kB / 278.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000752/0.007476, allocations: 0.6611 MB / 278.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.007719, allocations: 131.4 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004293/0.008148, allocations: 375.1 kB / 279.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.008422, allocations: 195.5 kB / 279.6 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.909e-05/0.008501, allocations: 56 kB / 279.7 MB, free: 11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.038e-05/0.008581, allocations: 52 kB / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.845e-05/0.00867, allocations: 119.6 kB / 279.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.008854, allocations: 207.5 kB / 280 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004596/0.009313, allocations: 434.5 kB / 280.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.009317, allocations: 0 / 280.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.009318, allocations: 0 / 280.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.009326, allocations: 0 / 280.4 MB, free: 10.21 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.001282/0.01061, allocations: 0.8787 MB / 281.3 MB, free: 9.285 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.01065, allocations: 12.02 kB / 281.3 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.01077, allocations: 96.56 kB / 281.4 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.01114, allocations: 322.6 kB / 281.7 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.732e-05/0.01124, allocations: 106.3 kB / 281.9 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.309e-05/0.01129, allocations: 40.38 kB / 281.9 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005582/0.01185, allocations: 0.7782 MB / 282.7 MB, free: 7.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.01186, allocations: 4.188 kB / 282.7 MB, free: 7.727 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.01189, allocations: 20.12 kB / 282.7 MB, free: 7.707 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.0119, allocations: 8 kB / 282.7 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.01211, allocations: 123.1 kB / 282.8 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.01344, allocations: 0.897 MB / 283.7 MB, free: 6.648 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/0.01407, allocations: 255.7 kB / 284 MB, free: 6.383 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.01417, allocations: 75.62 kB / 284 MB, free: 6.305 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.01419, allocations: 4 kB / 284 MB, free: 6.301 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.01422, allocations: 45.39 kB / 284.1 MB, free: 6.246 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.924e-06/0.01422, allocations: 0 / 284.1 MB, free: 6.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005523/0.01477, allocations: 304.6 kB / 284.4 MB, free: 5.934 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.01491, allocations: 449 kB / 284.8 MB, free: 5.391 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.01522, allocations: 410.5 kB / 285.2 MB, free: 4.973 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.01525, allocations: 33.7 kB / 285.3 MB, free: 4.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.01541, allocations: 299.1 kB / 285.6 MB, free: 4.637 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.664e-05/0.01549, allocations: 122.9 kB / 285.7 MB, free: 4.516 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.01559, allocations: 87.64 kB / 285.8 MB, free: 4.418 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.01575, allocations: 0.5273 MB / 286.3 MB, free: 3.879 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.962e-05/0.01584, allocations: 66.33 kB / 286.3 MB, free: 3.809 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.01615, allocations: 0.6205 MB / 287 MB, free: 3.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.01635, allocations: 174.7 kB / 287.1 MB, free: 2.836 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01636, allocations: 0 / 287.1 MB, free: 2.836 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006455/0.017, allocations: 328 kB / 287.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.01704, allocations: 33.7 kB / 287.5 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01704, allocations: 4.031 kB / 287.5 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001067/0.01715, allocations: 43.34 kB / 287.5 MB, free: 2.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.01736, allocations: 67.89 kB / 287.6 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.01926, allocations: 3.532 MB / 291.1 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.0195, allocations: 43.77 kB / 291.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.01952, allocations: 7.938 kB / 291.2 MB, free: 14.51 MB / 282.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.0001426/0.01966, allocations: 180.5 kB / 291.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.01973, allocations: 55.72 kB / 291.4 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.153e-05/0.01979, allocations: 60.3 kB / 291.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.0198, allocations: 4 kB / 291.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.0198, allocations: 0 / 291.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000349/0.02015, allocations: 0.5527 MB / 292 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007767/0.02093, allocations: 0.6498 MB / 292.7 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.02093, allocations: 3.938 kB / 292.7 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.02115, allocations: 63.91 kB / 292.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.02115, allocations: 3.984 kB / 292.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.02117, allocations: 8 kB / 292.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.02117, allocations: 4 kB / 292.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.02117, allocations: 0 / 292.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.02158, allocations: 409 kB / 293.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.0217, allocations: 79.55 kB / 293.2 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.02174, allocations: 15.98 kB / 293.3 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.02193, allocations: 12 kB / 293.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.02196, allocations: 15.95 kB / 293.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.02198, allocations: 12 kB / 293.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001772/0.02215, allocations: 271 kB / 293.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02215, allocations: 0 / 293.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003904/0.02254, allocations: 139.8 kB / 293.7 MB, free: 11.83 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 0.0001188/0.02266, allocations: 111.3 kB / 293.8 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005388/0.0232, allocations: 0.5853 MB / 294.4 MB, free: 11.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.02321, allocations: 4 kB / 294.4 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003647/0.02357, allocations: 92.08 kB / 294.5 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.02406, allocations: 131.2 kB / 294.6 MB, free: 10.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.02549, allocations: 0.7959 MB / 295.4 MB, free: 10.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.572e-05/0.02558, allocations: 113.9 kB / 295.5 MB, free: 9.883 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000178/0.02576, allocations: 55.36 kB / 295.6 MB, free: 9.828 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004015/0.02616, allocations: 262 kB / 295.8 MB, free: 9.57 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02616, allocations: 0 / 295.8 MB, free: 9.57 MB / 282.7 MB Notification: Performance of Templates: time 0.01361/0.03977, allocations: 8.981 MB / 304.8 MB, free: 0.8555 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.966659937053919]