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.0009825/0.0009825, allocations: 85.95 kB / 23 MB, free: 1.5 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.001005/0.001005, allocations: 171.7 kB / 26.39 MB, free: 7.984 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.8674/0.8674, allocations: 158.6 MB / 188.3 MB, free: 2.809 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 1.803e-06/1.803e-06, allocations: 0 / 252.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.879e-05, allocations: 6.25 kB / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.00651/0.006539, allocations: 4.308 MB / 256.6 MB, free: 2.93 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.009317, allocations: 1.243 MB / 257.8 MB, free: 1.676 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003822/0.009699, allocations: 7.938 kB / 257.8 MB, free: 1.668 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004053/0.0101, allocations: 138.7 kB / 257.9 MB, free: 1.531 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006968/0.0108, allocations: 281.5 kB / 258.2 MB, free: 1.254 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.01131, allocations: 207.5 kB / 258.4 MB, free: 1.051 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.01243, allocations: 0.9643 MB / 259.4 MB, free: 84 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000342/0.01277, allocations: 153 kB / 259.5 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008221/0.01359, allocations: 0.5418 MB / 260.1 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005178/0.01411, allocations: 299.1 kB / 260.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.01427, allocations: 76 kB / 260.4 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.01441, allocations: 76 kB / 260.5 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.01456, allocations: 171.4 kB / 260.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000464/0.01502, allocations: 299.3 kB / 261 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009401/0.01596, allocations: 0.6072 MB / 261.6 MB, free: 13.87 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.01596, allocations: 4 kB / 261.6 MB, free: 13.87 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01597, allocations: 0 / 261.6 MB, free: 13.87 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.01598, allocations: 0 / 261.6 MB, free: 13.87 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.001837/0.01782, allocations: 1.149 MB / 262.7 MB, free: 12.67 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.01786, allocations: 15.92 kB / 262.7 MB, free: 12.65 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.01808, allocations: 128.4 kB / 262.9 MB, free: 12.53 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.0187, allocations: 400.4 kB / 263.3 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002415/0.01894, allocations: 152.3 kB / 263.4 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.78e-05/0.01904, allocations: 56.38 kB / 263.5 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007774/0.01981, allocations: 1.067 MB / 264.5 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.01983, allocations: 0 / 264.5 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.01987, allocations: 20 kB / 264.6 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.01987, allocations: 8 kB / 264.6 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/0.02012, allocations: 182.8 kB / 264.7 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.02186, allocations: 1.412 MB / 266.2 MB, free: 8.914 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007519/0.02261, allocations: 383 kB / 266.5 MB, free: 8.531 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.02275, allocations: 113.1 kB / 266.6 MB, free: 8.418 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/0.02279, allocations: 20.48 kB / 266.7 MB, free: 8.395 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.02282, allocations: 42.45 kB / 266.7 MB, free: 8.344 MB / 250.7 MB Notification: Performance of pre-optimization done (n=54): time 1.944e-06/0.02283, allocations: 3.938 kB / 266.7 MB, free: 8.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=54): time 0.001891/0.02472, allocations: 0.8582 MB / 267.6 MB, free: 7.465 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001678/0.02489, allocations: 0.5722 MB / 268.1 MB, free: 6.754 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.02521, allocations: 0.5023 MB / 268.6 MB, free: 6.234 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.02525, allocations: 41.7 kB / 268.7 MB, free: 6.188 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.02542, allocations: 356.3 kB / 269 MB, free: 5.828 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.921e-05/0.02552, allocations: 194.3 kB / 269.2 MB, free: 5.637 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.02565, allocations: 123.9 kB / 269.3 MB, free: 5.508 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.02579, allocations: 0.5468 MB / 269.9 MB, free: 4.949 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.02591, allocations: 94.95 kB / 270 MB, free: 4.852 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.02629, allocations: 0.8909 MB / 270.9 MB, free: 3.715 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.02656, allocations: 269.9 kB / 271.1 MB, free: 3.426 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.02656, allocations: 0 / 271.1 MB, free: 3.426 MB / 250.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008321/0.02739, allocations: 0.5735 MB / 271.7 MB, free: 2.82 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.02743, allocations: 33.7 kB / 271.7 MB, free: 2.781 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.02743, allocations: 0 / 271.7 MB, free: 2.781 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005926/0.02803, allocations: 214.8 kB / 271.9 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.02833, allocations: 111.9 kB / 272.1 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003585/0.03192, allocations: 6.103 MB / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.03219, allocations: 55.66 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.03221, allocations: 27.92 kB / 278.2 MB, free: 11.93 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.000145/0.03236, allocations: 196.5 kB / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.541e-05/0.03244, allocations: 83.58 kB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007883/0.03323, allocations: 0.5026 MB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.03324, allocations: 7.938 kB / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.03324, allocations: 0 / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007496/0.03399, allocations: 0.7888 MB / 279.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.03522, allocations: 1.006 MB / 280.8 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.03522, allocations: 0 / 280.8 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.03556, allocations: 123.8 kB / 280.9 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005772/0.03614, allocations: 171.1 kB / 281.1 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/0.03617, allocations: 19.92 kB / 281.1 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002365/0.03854, allocations: 4.133 MB / 285.3 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.03854, allocations: 3.938 kB / 285.3 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009746/0.03951, allocations: 0.704 MB / 286 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.03968, allocations: 131.3 kB / 286.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.114e-05/0.03973, allocations: 15.98 kB / 286.1 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.03994, allocations: 23.98 kB / 286.1 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-05/0.04003, allocations: 52.34 kB / 286.2 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.04005, allocations: 12 kB / 286.2 MB, free: 3.512 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001877/0.04024, allocations: 322.7 kB / 286.5 MB, free: 3.199 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.04024, allocations: 0 / 286.5 MB, free: 3.199 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004693/0.0407, allocations: 227.8 kB / 286.7 MB, free: 2.977 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.0001117/0.04082, allocations: 111.2 kB / 286.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009162/0.04173, allocations: 0.9849 MB / 287.8 MB, free: 1.797 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.04174, allocations: 0 / 287.8 MB, free: 1.797 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.04213, allocations: 0.5341 MB / 288.4 MB, free: 1.227 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.04263, allocations: 190.7 kB / 288.5 MB, free: 1.043 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.04425, allocations: 1.161 MB / 289.7 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.928e-05/0.04435, allocations: 143.5 kB / 289.9 MB, free: 15.69 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002344/0.04459, allocations: 76.92 kB / 289.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004393/0.04503, allocations: 338 kB / 290.3 MB, free: 15.28 MB / 282.7 MB Notification: Performance of SimCode: time 8.71e-07/0.04503, allocations: 3.938 kB / 290.3 MB, free: 15.27 MB / 282.7 MB Notification: Performance of Templates: time 0.01727/0.0623, allocations: 15.92 MB / 306.2 MB, free: 15.37 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","",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.1755319689400494]