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.00109/0.00109, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001583/0.002673, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.000963/0.000963, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000907/0.00187, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.8952/0.8952, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07273/0.9679, allocations: 52.49 MB / 238.3 MB, free: 4.434 MB / 234.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.253e-06/1.253e-06, allocations: 0 / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.41e-05, allocations: 6.312 kB / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.002923/0.002937, allocations: 3.519 MB / 243.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.004132, allocations: 0.9808 MB / 244 MB, free: 14.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.004276, allocations: 7.938 kB / 244 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.00446, allocations: 107.1 kB / 244.2 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.004696, allocations: 202.2 kB / 244.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.004878, allocations: 123.7 kB / 244.5 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005076/0.005386, allocations: 0.6689 MB / 245.1 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.005572, allocations: 141.3 kB / 245.3 MB, free: 13.4 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004081/0.00598, allocations: 444.3 kB / 245.7 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.006189, allocations: 203.4 kB / 245.9 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.574e-05/0.006245, allocations: 52 kB / 246 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.316e-05/0.006298, allocations: 52 kB / 246 MB, free: 12.67 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.006355, allocations: 87.69 kB / 246.1 MB, free: 12.58 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.006494, allocations: 175.7 kB / 246.3 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.006813, allocations: 382.6 kB / 246.6 MB, free: 12.04 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.355e-05/0.006827, allocations: 0 / 246.6 MB, free: 12.04 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.006827, allocations: 0 / 246.6 MB, free: 12.04 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.006845, allocations: 0 / 246.6 MB, free: 12.04 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.0008474/0.007692, allocations: 0.8592 MB / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.00772, allocations: 8.031 kB / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.982e-05/0.0078, allocations: 80.8 kB / 247.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.008085, allocations: 255.9 kB / 247.8 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.472e-05/0.008169, allocations: 106.3 kB / 247.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.008211, allocations: 40.38 kB / 248 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/0.008644, allocations: 0.7471 MB / 248.7 MB, free: 9.727 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.008657, allocations: 8.188 kB / 248.7 MB, free: 9.719 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.00868, allocations: 16.12 kB / 248.8 MB, free: 9.703 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.008688, allocations: 8 kB / 248.8 MB, free: 9.695 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.008839, allocations: 99.16 kB / 248.9 MB, free: 9.598 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009208/0.00976, allocations: 0.6712 MB / 249.5 MB, free: 8.898 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.01023, allocations: 238.5 kB / 249.8 MB, free: 8.652 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.605e-05/0.0103, allocations: 56.78 kB / 249.8 MB, free: 8.594 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.01033, allocations: 11.98 kB / 249.8 MB, free: 8.582 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.01035, allocations: 38.56 kB / 249.9 MB, free: 8.535 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.423e-06/0.01036, allocations: 3.938 kB / 249.9 MB, free: 8.531 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0003699/0.01073, allocations: 239.2 kB / 250.1 MB, free: 8.285 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.01075, allocations: 59.41 kB / 250.2 MB, free: 8.215 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.01093, allocations: 335.3 kB / 250.5 MB, free: 7.875 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.01096, allocations: 37.7 kB / 250.5 MB, free: 7.832 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.712e-05/0.01104, allocations: 197.4 kB / 250.7 MB, free: 7.637 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.0111, allocations: 118.9 kB / 250.8 MB, free: 7.52 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-05/0.01119, allocations: 78 kB / 250.9 MB, free: 7.434 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.27e-05/0.01127, allocations: 354.7 kB / 251.3 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.046e-05/0.01136, allocations: 70.28 kB / 251.3 MB, free: 7.004 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.01156, allocations: 0.5697 MB / 251.9 MB, free: 6.285 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.0117, allocations: 157.2 kB / 252.1 MB, free: 6.121 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.0117, allocations: 3.938 kB / 252.1 MB, free: 6.117 MB / 250.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002763/0.01198, allocations: 258.6 kB / 252.3 MB, free: 5.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.01201, allocations: 37.69 kB / 252.3 MB, free: 5.797 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01201, allocations: 0 / 252.3 MB, free: 5.797 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.054e-05/0.01209, allocations: 37.64 kB / 252.4 MB, free: 5.754 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.01232, allocations: 87.91 kB / 252.5 MB, free: 5.668 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.01353, allocations: 2.415 MB / 254.9 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.01367, allocations: 39.77 kB / 254.9 MB, free: 3.039 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.01369, allocations: 8 kB / 254.9 MB, free: 3.031 MB / 250.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 9.061e-05/0.01378, allocations: 133.8 kB / 255.1 MB, free: 2.891 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.01382, allocations: 43.91 kB / 255.1 MB, free: 2.848 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.01386, allocations: 52.3 kB / 255.2 MB, free: 2.797 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01387, allocations: 4 kB / 255.2 MB, free: 2.793 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.01387, allocations: 4 kB / 255.2 MB, free: 2.789 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002289/0.0141, allocations: 0.5252 MB / 255.7 MB, free: 2.16 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.01457, allocations: 0.4941 MB / 256.2 MB, free: 1.637 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.01457, allocations: 3.938 kB / 256.2 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.01478, allocations: 87.06 kB / 256.3 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.737e-05/0.01486, allocations: 51.64 kB / 256.3 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01486, allocations: 0 / 256.3 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.01487, allocations: 12 kB / 256.3 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.01487, allocations: 7.984 kB / 256.3 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01487, allocations: 0 / 256.3 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.0151, allocations: 304.9 kB / 256.6 MB, free: 1.164 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.01514, allocations: 8.172 kB / 256.6 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.01526, allocations: 12 kB / 256.7 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.01529, allocations: 27.94 kB / 256.7 MB, free: 1.117 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.0153, allocations: 4 kB / 256.7 MB, free: 1.113 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.233e-05/0.01539, allocations: 144.7 kB / 256.8 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01539, allocations: 4.031 kB / 256.8 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002362/0.01563, allocations: 139.8 kB / 257 MB, free: 0.832 MB / 250.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 7.768e-05/0.01571, allocations: 88.34 kB / 257.1 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006033/0.01631, allocations: 486.8 kB / 257.5 MB, free: 224 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/0.01632, allocations: 8 kB / 257.5 MB, free: 216 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.712e-05/0.01639, allocations: 76.72 kB / 257.6 MB, free: 136 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.01671, allocations: 177.4 kB / 257.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005754/0.02247, allocations: 0.7722 MB / 258.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.101e-05/0.02253, allocations: 113.9 kB / 258.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000146/0.02267, allocations: 59.38 kB / 258.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.02297, allocations: 221.2 kB / 258.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.02297, allocations: 0 / 258.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of Templates: time 0.01067/0.03364, allocations: 9.949 MB / 268.9 MB, free: 5.047 MB / 266.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 -ignoreHideResult -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.7053213557228446]