Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001002, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001785/0.001785, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9966/0.9966, allocations: 177 MB / 204.8 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.306e-05, allocations: 9.203 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.00458/0.004603, allocations: 4.403 MB / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.006286, allocations: 1.226 MB / 278.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.006501, allocations: 11.94 kB / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.0068, allocations: 130.8 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004249/0.007225, allocations: 289.4 kB / 279 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.007584, allocations: 199.5 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000749/0.008333, allocations: 0.9566 MB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002444/0.008577, allocations: 169 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005512/0.009128, allocations: 0.5496 MB / 280.8 MB, free: 9.488 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003123/0.009441, allocations: 303.1 kB / 281.1 MB, free: 9.191 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.322e-05/0.009524, allocations: 76 kB / 281.2 MB, free: 9.117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.009638, allocations: 80 kB / 281.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.523e-05/0.009733, allocations: 175.4 kB / 281.4 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.00994, allocations: 303.3 kB / 281.7 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005492/0.01049, allocations: 0.6072 MB / 282.3 MB, free: 7.961 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.01049, allocations: 0 / 282.3 MB, free: 7.961 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01049, allocations: 0 / 282.3 MB, free: 7.961 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.0105, allocations: 3.938 kB / 282.3 MB, free: 7.957 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.00138/0.01188, allocations: 1.153 MB / 283.5 MB, free: 6.754 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.01192, allocations: 15.98 kB / 283.5 MB, free: 6.738 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.01215, allocations: 128.4 kB / 283.6 MB, free: 6.613 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004827/0.01263, allocations: 421.3 kB / 284 MB, free: 6.172 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.01274, allocations: 152.3 kB / 284.2 MB, free: 6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.01281, allocations: 56.38 kB / 284.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007699/0.01357, allocations: 1.091 MB / 285.3 MB, free: 4.629 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.01359, allocations: 4 kB / 285.3 MB, free: 4.625 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/0.01363, allocations: 16 kB / 285.4 MB, free: 4.609 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.01364, allocations: 12 kB / 285.4 MB, free: 4.598 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.01401, allocations: 229.8 kB / 285.6 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.0158, allocations: 1.493 MB / 287.1 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009499/0.01675, allocations: 407.1 kB / 287.5 MB, free: 2.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.01695, allocations: 143.8 kB / 287.6 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.017, allocations: 12.5 kB / 287.6 MB, free: 2.254 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.01703, allocations: 46.45 kB / 287.7 MB, free: 2.199 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 2.034e-06/0.01703, allocations: 0 / 287.7 MB, free: 2.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.002046/0.01908, allocations: 0.9285 MB / 288.6 MB, free: 1.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/0.01923, allocations: 0.5683 MB / 289.2 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/0.01962, allocations: 0.5143 MB / 289.7 MB, free: 16 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.01967, allocations: 41.7 kB / 289.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.01983, allocations: 348.4 kB / 290.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.839e-05/0.01993, allocations: 190.3 kB / 290.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.02006, allocations: 120 kB / 290.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.0202, allocations: 0.543 MB / 290.9 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.02037, allocations: 119 kB / 291 MB, free: 14.63 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/0.0208, allocations: 0.9065 MB / 291.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.02115, allocations: 318 kB / 292.3 MB, free: 13.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.02116, allocations: 0 / 292.3 MB, free: 13.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009289/0.02209, allocations: 0.6204 MB / 292.9 MB, free: 12.49 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.02212, allocations: 33.69 kB / 292.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.02212, allocations: 4 kB / 292.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006757/0.0228, allocations: 218.8 kB / 293.1 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.02312, allocations: 115.8 kB / 293.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003961/0.02708, allocations: 6.215 MB / 299.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.02736, allocations: 59.7 kB / 299.5 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.02739, allocations: 19.98 kB / 299.5 MB, free: 5.445 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.0001671/0.02755, allocations: 200.5 kB / 299.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.675e-05/0.02765, allocations: 83.58 kB / 299.8 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009164/0.02857, allocations: 0.5533 MB / 300.4 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.02857, allocations: 4 kB / 300.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.02857, allocations: 0 / 300.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008851/0.02946, allocations: 0.828 MB / 301.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.03095, allocations: 1.13 MB / 302.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.03095, allocations: 0 / 302.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/0.03129, allocations: 115.9 kB / 302.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005353/0.03182, allocations: 183.2 kB / 302.6 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.03185, allocations: 15.98 kB / 302.6 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1191/0.151, allocations: 4.196 MB / 306.8 MB, free: 35.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.151, allocations: 0 / 306.8 MB, free: 35.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.1524, allocations: 0.7656 MB / 307.6 MB, free: 35.56 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/0.1527, allocations: 131.4 kB / 307.7 MB, free: 35.56 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.751e-05/0.1528, allocations: 17.67 kB / 307.7 MB, free: 35.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.153, allocations: 27.75 kB / 307.8 MB, free: 35.56 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.1532, allocations: 54.28 kB / 307.8 MB, free: 35.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.1532, allocations: 16.94 kB / 307.8 MB, free: 35.56 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003183/0.1535, allocations: 346.3 kB / 308.2 MB, free: 35.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1535, allocations: 0 / 308.2 MB, free: 35.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006383/0.1541, allocations: 225.1 kB / 308.4 MB, free: 35.43 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.0001216/0.1543, allocations: 111.5 kB / 308.5 MB, free: 35.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.1556, allocations: 1.024 MB / 309.5 MB, free: 34.7 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.1556, allocations: 3.625 kB / 309.5 MB, free: 34.7 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004724/0.1561, allocations: 0.5516 MB / 310.1 MB, free: 34.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/0.1566, allocations: 193.6 kB / 310.3 MB, free: 34.35 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.1585, allocations: 1.151 MB / 311.4 MB, free: 33.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.1586, allocations: 140.8 kB / 311.6 MB, free: 33.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002416/0.1588, allocations: 76.73 kB / 311.6 MB, free: 33.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.159, allocations: 56.72 kB / 311.7 MB, free: 33.74 MB / 282.7 MB Notification: Performance of SimCode: time 6.92e-07/0.159, allocations: 0 / 311.7 MB, free: 33.74 MB / 282.7 MB Notification: Performance of Templates: time 0.01546/0.1744, allocations: 14.7 MB / 326.4 MB, free: 26.55 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.416308836080134]