Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00141/0.00141, allocations: 87.58 kB / 21.19 MB, free: 3.383 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.001571/0.001571, allocations: 165 kB / 24.56 MB, free: 20 kB / 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.9176/0.9176, allocations: 177.1 MB / 205 MB, free: 5.637 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.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.395e-05, allocations: 2.312 kB / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003592/0.003606, allocations: 4.399 MB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.005517, allocations: 1.223 MB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004323/0.00595, allocations: 11.94 kB / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000406/0.006356, allocations: 130.8 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006797/0.007035, allocations: 285.5 kB / 279 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.007427, allocations: 211.5 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007937/0.008221, allocations: 0.9605 MB / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000227/0.008448, allocations: 161 kB / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005357/0.008984, allocations: 0.5495 MB / 280.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000288/0.009272, allocations: 299.2 kB / 281.2 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.978e-05/0.009352, allocations: 76 kB / 281.3 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.009461, allocations: 76 kB / 281.3 MB, free: 9.164 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.101e-05/0.009552, allocations: 183.3 kB / 281.5 MB, free: 8.984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.00975, allocations: 287.4 kB / 281.8 MB, free: 8.703 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005651/0.01032, allocations: 0.6111 MB / 282.4 MB, free: 8.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01032, allocations: 4 kB / 282.4 MB, free: 8.086 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.01032, allocations: 0 / 282.4 MB, free: 8.086 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.01033, allocations: 0 / 282.4 MB, free: 8.086 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.00122/0.01155, allocations: 1.137 MB / 283.5 MB, free: 6.898 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.01158, allocations: 12.03 kB / 283.5 MB, free: 6.887 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.01179, allocations: 132.3 kB / 283.7 MB, free: 6.758 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.01224, allocations: 416.3 kB / 284.1 MB, free: 6.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.01235, allocations: 148.4 kB / 284.2 MB, free: 6.148 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.01242, allocations: 60.36 kB / 284.3 MB, free: 6.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007461/0.01316, allocations: 1.091 MB / 285.4 MB, free: 4.777 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.01318, allocations: 0 / 285.4 MB, free: 4.777 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.01321, allocations: 20 kB / 285.4 MB, free: 4.758 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.01323, allocations: 15.98 kB / 285.4 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003567/0.01358, allocations: 229.8 kB / 285.6 MB, free: 4.516 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.01528, allocations: 1.482 MB / 287.1 MB, free: 2.973 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008203/0.0161, allocations: 419.2 kB / 287.5 MB, free: 2.551 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.01629, allocations: 137.1 kB / 287.7 MB, free: 2.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.01632, allocations: 12.5 kB / 287.7 MB, free: 2.398 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.01635, allocations: 45.89 kB / 287.7 MB, free: 2.344 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 3.055e-06/0.01635, allocations: 3.984 kB / 287.7 MB, free: 2.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.001992/0.01834, allocations: 0.9288 MB / 288.7 MB, free: 1.391 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.01849, allocations: 0.5605 MB / 289.2 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/0.01887, allocations: 0.5221 MB / 289.7 MB, free: 160 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.0189, allocations: 37.7 kB / 289.8 MB, free: 116 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.01907, allocations: 352.4 kB / 290.1 MB, free: 15.76 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.502e-05/0.01917, allocations: 190.3 kB / 290.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.01928, allocations: 116 kB / 290.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.01942, allocations: 0.5508 MB / 291 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.01959, allocations: 118.9 kB / 291.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/0.02002, allocations: 0.9104 MB / 292 MB, free: 13.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.02037, allocations: 306 kB / 292.3 MB, free: 13.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.02037, allocations: 0 / 292.3 MB, free: 13.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009135/0.02129, allocations: 0.6281 MB / 292.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.02131, allocations: 29.7 kB / 292.9 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.02132, allocations: 7.984 kB / 293 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000635/0.02195, allocations: 210.9 kB / 293.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.02226, allocations: 115.8 kB / 293.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003865/0.02613, allocations: 6.209 MB / 299.5 MB, free: 5.676 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.02639, allocations: 71.8 kB / 299.6 MB, free: 5.605 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.02642, allocations: 16 kB / 299.6 MB, free: 5.59 MB / 282.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.0001432/0.02656, allocations: 192.5 kB / 299.8 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.926e-05/0.02665, allocations: 87.58 kB / 299.8 MB, free: 5.305 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008782/0.02753, allocations: 0.5571 MB / 300.4 MB, free: 4.727 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.02753, allocations: 4 kB / 300.4 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.02753, allocations: 0 / 300.4 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008217/0.02835, allocations: 0.828 MB / 301.2 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.0297, allocations: 1.13 MB / 302.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.0297, allocations: 0 / 302.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.03002, allocations: 119.9 kB / 302.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004967/0.03052, allocations: 175.1 kB / 302.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.03055, allocations: 8 kB / 302.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1029/0.1334, allocations: 4.196 MB / 306.9 MB, free: 36.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1334, allocations: 8.094 kB / 306.9 MB, free: 36.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.1348, allocations: 0.7664 MB / 307.6 MB, free: 36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.135, allocations: 126 kB / 307.8 MB, free: 36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.271e-05/0.135, allocations: 19.91 kB / 307.8 MB, free: 36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.1353, allocations: 26.77 kB / 307.8 MB, free: 36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.1354, allocations: 49.14 kB / 307.8 MB, free: 36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.1354, allocations: 15.83 kB / 307.9 MB, free: 36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002744/0.1357, allocations: 350.4 kB / 308.2 MB, free: 35.87 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1357, allocations: 0.5312 kB / 308.2 MB, free: 35.87 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000563/0.1362, allocations: 225.9 kB / 308.4 MB, free: 35.87 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.0001224/0.1364, allocations: 118.3 kB / 308.5 MB, free: 35.78 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.1375, allocations: 1.02 MB / 309.6 MB, free: 35.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1376, allocations: 1.438 kB / 309.6 MB, free: 35.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004845/0.138, allocations: 0.5589 MB / 310.1 MB, free: 34.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000575/0.1386, allocations: 192.3 kB / 310.3 MB, free: 34.78 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.1405, allocations: 1.153 MB / 311.5 MB, free: 34.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.1407, allocations: 141 kB / 311.6 MB, free: 34.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002765/0.141, allocations: 80.22 kB / 311.7 MB, free: 34.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.1411, allocations: 53.41 kB / 311.7 MB, free: 34.17 MB / 282.7 MB Notification: Performance of SimCode: time 1.333e-06/0.1411, allocations: 0 / 311.7 MB, free: 34.17 MB / 282.7 MB Notification: Performance of Templates: time 0.01927/0.1603, allocations: 15.44 MB / 327.2 MB, free: 26.31 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.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.2137605948373675]