Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.001966/0.001966, allocations: 103.5 kB / 21.74 MB, free: 2.688 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.002022/0.002022, allocations: 160.1 kB / 25.03 MB, free: 8.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.399e-05, allocations: 6.109 kB / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.007113/0.007147, allocations: 4.324 MB / 254.7 MB, free: 3.492 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003144/0.01029, allocations: 1.239 MB / 255.9 MB, free: 2.242 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000471/0.01076, allocations: 11.94 kB / 255.9 MB, free: 2.23 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004815/0.01124, allocations: 126.8 kB / 256.1 MB, free: 2.105 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007077/0.01195, allocations: 285.5 kB / 256.3 MB, free: 1.824 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.01248, allocations: 203.6 kB / 256.5 MB, free: 1.625 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001553/0.01404, allocations: 0.9718 MB / 257.5 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/0.01439, allocations: 161 kB / 257.7 MB, free: 500 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007946/0.01518, allocations: 0.5418 MB / 258.2 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004848/0.01567, allocations: 299.2 kB / 258.5 MB, free: 15.65 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.0158, allocations: 76 kB / 258.6 MB, free: 15.58 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.01596, allocations: 80 kB / 258.7 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.01615, allocations: 179.3 kB / 258.8 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000385/0.01653, allocations: 295.4 kB / 259.1 MB, free: 15.04 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.01779, allocations: 0.9579 MB / 260.1 MB, free: 14.07 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.0178, allocations: 0 / 260.1 MB, free: 14.07 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.0178, allocations: 0 / 260.1 MB, free: 14.07 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.01782, allocations: 0 / 260.1 MB, free: 14.07 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002514/0.02033, allocations: 1.184 MB / 261.3 MB, free: 12.84 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.02038, allocations: 11.98 kB / 261.3 MB, free: 12.83 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002583/0.02064, allocations: 128.4 kB / 261.4 MB, free: 12.7 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008237/0.02146, allocations: 449.3 kB / 261.8 MB, free: 12.24 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/0.02166, allocations: 148.4 kB / 262 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.02178, allocations: 56.38 kB / 262 MB, free: 12.02 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.02342, allocations: 1.211 MB / 263.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.02345, allocations: 0 / 263.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.028e-05/0.02351, allocations: 20 kB / 263.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.02352, allocations: 8 kB / 263.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.02457, allocations: 419.7 kB / 263.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003795/0.02837, allocations: 1.709 MB / 265.4 MB, free: 8.371 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.03032, allocations: 0.5615 MB / 266 MB, free: 7.801 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000532/0.03085, allocations: 229.8 kB / 266.2 MB, free: 7.57 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.065e-05/0.03091, allocations: 20.48 kB / 266.2 MB, free: 7.551 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.03097, allocations: 49.78 kB / 266.2 MB, free: 7.492 MB / 250.7 MB Notification: Performance of pre-optimization done (n=54): time 2.014e-06/0.03097, allocations: 0 / 266.2 MB, free: 7.492 MB / 250.7 MB Notification: Performance of matching and sorting (n=54): time 0.004827/0.03579, allocations: 1.186 MB / 267.4 MB, free: 6.285 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000402/0.0362, allocations: 0.5683 MB / 268 MB, free: 5.582 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008768/0.03707, allocations: 0.6432 MB / 268.6 MB, free: 4.922 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-05/0.03714, allocations: 41.64 kB / 268.7 MB, free: 4.875 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.0375, allocations: 368.4 kB / 269 MB, free: 4.504 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.03773, allocations: 206.3 kB / 269.2 MB, free: 4.301 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.03796, allocations: 127.9 kB / 269.4 MB, free: 4.168 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004065/0.03837, allocations: 0.5782 MB / 269.9 MB, free: 3.578 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000494/0.03886, allocations: 202.9 kB / 270.1 MB, free: 3.375 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.04032, allocations: 1.028 MB / 271.2 MB, free: 2.102 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.04136, allocations: 494 kB / 271.7 MB, free: 1.594 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.04137, allocations: 4 kB / 271.7 MB, free: 1.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002456/0.04382, allocations: 0.8195 MB / 272.5 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.672e-05/0.04387, allocations: 33.7 kB / 272.5 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.04388, allocations: 0 / 272.5 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/0.04534, allocations: 266.8 kB / 272.8 MB, free: 436 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006856/0.04603, allocations: 115.9 kB / 272.9 MB, free: 320 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009895/0.05593, allocations: 6.824 MB / 279.7 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007007/0.05663, allocations: 59.72 kB / 279.8 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/0.05668, allocations: 19.98 kB / 279.8 MB, free: 9.043 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0004126/0.05709, allocations: 244.5 kB / 280 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.05726, allocations: 87.58 kB / 280.1 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/0.05957, allocations: 0.7369 MB / 280.9 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.05958, allocations: 4 kB / 280.9 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.05958, allocations: 3.938 kB / 280.9 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002245/0.06183, allocations: 0.9999 MB / 281.9 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003534/0.06536, allocations: 1.419 MB / 283.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.06537, allocations: 4.062 kB / 283.3 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/0.0661, allocations: 115.9 kB / 283.4 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/0.06738, allocations: 215.1 kB / 283.6 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.24e-05/0.06742, allocations: 11.98 kB / 283.6 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006709/0.07413, allocations: 4.643 MB / 288.3 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.07413, allocations: 0 / 288.3 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002934/0.07707, allocations: 1.079 MB / 289.3 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003514/0.07742, allocations: 123.4 kB / 289.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.442e-05/0.07751, allocations: 15.98 kB / 289.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00048/0.07799, allocations: 27.98 kB / 289.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.07814, allocations: 52.28 kB / 289.6 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.07817, allocations: 16 kB / 289.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005856/0.07876, allocations: 434.8 kB / 290 MB, free: 14.36 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07876, allocations: 4 kB / 290 MB, free: 14.36 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008318/0.07959, allocations: 219.8 kB / 290.2 MB, free: 14.14 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000199/0.07979, allocations: 111.3 kB / 290.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002548/0.08234, allocations: 1.2 MB / 291.5 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.08234, allocations: 0 / 291.5 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.08347, allocations: 0.6436 MB / 292.2 MB, free: 12.06 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000897/0.08436, allocations: 194.4 kB / 292.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.08707, allocations: 1.189 MB / 293.5 MB, free: 10.65 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.08743, allocations: 293.8 kB / 293.8 MB, free: 10.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003307/0.08776, allocations: 72.94 kB / 293.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.08791, allocations: 52.48 kB / 294 MB, free: 10.21 MB / 282.7 MB Notification: Performance of SimCode: time 1.322e-06/0.08791, allocations: 0 / 294 MB, free: 10.21 MB / 282.7 MB Notification: Performance of Templates: time 0.02983/0.1177, allocations: 14.68 MB / 308.6 MB, free: 11.54 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.572488012956455]