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.001433/0.001433, allocations: 75.77 kB / 22.46 MB, free: 2.094 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.001099/0.001099, allocations: 164 kB / 25.75 MB, free: 8.949 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 0.8621/0.8621, allocations: 158.6 MB / 187.5 MB, free: 2.945 MB / 170.7 MB " [Timeout remaining time 179] 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 2.454e-06/2.454e-06, allocations: 0 / 251.1 MB, free: 7.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.146e-05, allocations: 2.312 kB / 251.1 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005521/0.005553, allocations: 4.355 MB / 255.5 MB, free: 3.445 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.007958, allocations: 1.251 MB / 256.7 MB, free: 2.184 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002971/0.008255, allocations: 7.938 kB / 256.7 MB, free: 2.176 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.00861, allocations: 126.9 kB / 256.8 MB, free: 2.051 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005471/0.009157, allocations: 293.5 kB / 257.1 MB, free: 1.762 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.009579, allocations: 199.6 kB / 257.3 MB, free: 1.562 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009799/0.01056, allocations: 0.9682 MB / 258.3 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002924/0.01085, allocations: 157 kB / 258.4 MB, free: 440 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006699/0.01152, allocations: 0.5379 MB / 259 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004183/0.01194, allocations: 299.2 kB / 259.3 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.01206, allocations: 76 kB / 259.3 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.01218, allocations: 84 kB / 259.4 MB, free: 15.44 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.01231, allocations: 175.3 kB / 259.6 MB, free: 15.27 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002975/0.0126, allocations: 299.4 kB / 259.9 MB, free: 14.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00074/0.01334, allocations: 0.6149 MB / 260.5 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.01335, allocations: 0 / 260.5 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01335, allocations: 0 / 260.5 MB, free: 14.36 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.01336, allocations: 0 / 260.5 MB, free: 14.36 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.001715/0.01508, allocations: 1.145 MB / 261.7 MB, free: 13.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.01512, allocations: 11.98 kB / 261.7 MB, free: 13.15 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.01531, allocations: 128.4 kB / 261.8 MB, free: 13.03 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006222/0.01594, allocations: 429.3 kB / 262.2 MB, free: 12.58 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.01608, allocations: 144.4 kB / 262.3 MB, free: 12.42 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.255e-05/0.01618, allocations: 56.38 kB / 262.4 MB, free: 12.36 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.01723, allocations: 1.095 MB / 263.5 MB, free: 11.04 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.01724, allocations: 0 / 263.5 MB, free: 11.04 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/0.0173, allocations: 24 kB / 263.5 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.01731, allocations: 12 kB / 263.5 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004996/0.01781, allocations: 225.8 kB / 263.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.02019, allocations: 1.49 MB / 265.2 MB, free: 9.23 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.02134, allocations: 411 kB / 265.6 MB, free: 8.82 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.0216, allocations: 137.8 kB / 265.8 MB, free: 8.684 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/0.02165, allocations: 16.48 kB / 265.8 MB, free: 8.664 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.02168, allocations: 49.83 kB / 265.8 MB, free: 8.605 MB / 250.7 MB Notification: Performance of pre-optimization done (n=54): time 2.465e-06/0.02168, allocations: 4 kB / 265.8 MB, free: 8.602 MB / 250.7 MB Notification: Performance of matching and sorting (n=54): time 0.002183/0.02387, allocations: 0.9207 MB / 266.8 MB, free: 7.664 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001984/0.02406, allocations: 0.5683 MB / 267.3 MB, free: 6.957 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/0.02452, allocations: 0.5144 MB / 267.9 MB, free: 6.426 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.02456, allocations: 41.7 kB / 267.9 MB, free: 6.379 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.02474, allocations: 344.4 kB / 268.2 MB, free: 6.031 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.841e-05/0.02483, allocations: 202.3 kB / 268.4 MB, free: 5.832 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.02496, allocations: 123.9 kB / 268.5 MB, free: 5.703 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.0251, allocations: 0.5391 MB / 269.1 MB, free: 5.152 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.02527, allocations: 119 kB / 269.2 MB, free: 5.031 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/0.0257, allocations: 0.9104 MB / 270.1 MB, free: 3.875 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.02605, allocations: 310 kB / 270.4 MB, free: 3.547 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.02605, allocations: 4 kB / 270.4 MB, free: 3.543 MB / 250.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009403/0.02699, allocations: 0.6204 MB / 271 MB, free: 2.891 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.02702, allocations: 29.7 kB / 271.1 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.02703, allocations: 0 / 271.1 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006747/0.0277, allocations: 218.8 kB / 271.3 MB, free: 2.629 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.02802, allocations: 123.8 kB / 271.4 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00394/0.03196, allocations: 6.207 MB / 277.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.03223, allocations: 55.77 kB / 277.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.03226, allocations: 24 kB / 277.7 MB, free: 11.86 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.0003778/0.03264, allocations: 196.5 kB / 277.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.383e-05/0.03272, allocations: 83.58 kB / 278 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008898/0.03361, allocations: 0.5455 MB / 278.5 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.03362, allocations: 8 kB / 278.5 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.03362, allocations: 3.938 kB / 278.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008208/0.03444, allocations: 0.8241 MB / 279.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.03584, allocations: 1.134 MB / 280.5 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.03584, allocations: 4 kB / 280.5 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.03617, allocations: 123.8 kB / 280.6 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005082/0.03668, allocations: 171.1 kB / 280.8 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.03671, allocations: 15.98 kB / 280.8 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003875/0.04059, allocations: 4.206 MB / 285 MB, free: 4.105 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.04059, allocations: 0 / 285 MB, free: 4.105 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.04221, allocations: 0.7743 MB / 285.8 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/0.04249, allocations: 115.4 kB / 285.9 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.572e-05/0.04257, allocations: 27.98 kB / 285.9 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.04292, allocations: 27.94 kB / 285.9 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.04304, allocations: 56.28 kB / 286 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.04307, allocations: 16 kB / 286 MB, free: 3.062 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003926/0.04346, allocations: 350.8 kB / 286.3 MB, free: 2.723 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.04346, allocations: 0 / 286.3 MB, free: 2.723 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008509/0.04432, allocations: 223.8 kB / 286.6 MB, free: 2.504 MB / 266.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.0001572/0.04447, allocations: 107.2 kB / 286.7 MB, free: 2.387 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.04596, allocations: 1.02 MB / 287.7 MB, free: 1.293 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.04596, allocations: 0 / 287.7 MB, free: 1.293 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000634/0.0466, allocations: 0.5616 MB / 288.2 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007396/0.04734, allocations: 186.5 kB / 288.4 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.0497, allocations: 1.161 MB / 289.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.04983, allocations: 139.6 kB / 289.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002602/0.05009, allocations: 76.92 kB / 289.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.05019, allocations: 52.5 kB / 289.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.05019, allocations: 4 kB / 289.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of Templates: time 0.02353/0.07372, allocations: 14.67 MB / 304.5 MB, free: 388 kB / 282.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","",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.2873056849930435]