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.0006893/0.0006893, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001042/0.001731, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006673/0.0006673, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008849/0.001552, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9625/0.9625, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07784/1.04, allocations: 53.65 MB / 243.3 MB, free: 15.56 MB / 250.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.302e-06/1.302e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.83e-05, allocations: 8.984 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004675/0.004694, allocations: 4.394 MB / 248.9 MB, free: 9.887 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.006858, allocations: 1.273 MB / 250.2 MB, free: 8.605 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002884/0.007147, allocations: 7.938 kB / 250.2 MB, free: 8.598 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.00742, allocations: 142.7 kB / 250.3 MB, free: 8.457 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004838/0.007904, allocations: 285.6 kB / 250.6 MB, free: 8.176 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.008319, allocations: 203.5 kB / 250.8 MB, free: 7.977 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008421/0.009161, allocations: 0.9684 MB / 251.8 MB, free: 7 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.009403, allocations: 170.9 kB / 251.9 MB, free: 6.828 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007077/0.01011, allocations: 0.6421 MB / 252.6 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003428/0.01045, allocations: 295.2 kB / 252.9 MB, free: 5.898 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.148e-05/0.01055, allocations: 76 kB / 253 MB, free: 5.824 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.01069, allocations: 80 kB / 253 MB, free: 5.746 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.731e-05/0.01079, allocations: 119.6 kB / 253.1 MB, free: 5.629 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.01102, allocations: 243.6 kB / 253.4 MB, free: 5.391 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005909/0.01162, allocations: 0.5526 MB / 253.9 MB, free: 4.836 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-05/0.01163, allocations: 4 kB / 253.9 MB, free: 4.832 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01163, allocations: 0 / 253.9 MB, free: 4.832 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.01165, allocations: 4 kB / 253.9 MB, free: 4.828 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.001389/0.01304, allocations: 1.157 MB / 255.1 MB, free: 3.629 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.01307, allocations: 8.031 kB / 255.1 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.0133, allocations: 185.9 kB / 255.3 MB, free: 3.422 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.01374, allocations: 329.6 kB / 255.6 MB, free: 3.074 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.01386, allocations: 144.4 kB / 255.8 MB, free: 2.91 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.12e-05/0.01393, allocations: 64.3 kB / 255.8 MB, free: 2.848 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007273/0.01466, allocations: 1.014 MB / 256.8 MB, free: 1.633 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.01467, allocations: 0 / 256.8 MB, free: 1.633 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.01471, allocations: 24 kB / 256.9 MB, free: 1.609 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.01472, allocations: 12 kB / 256.9 MB, free: 1.598 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002691/0.01499, allocations: 154.8 kB / 257 MB, free: 1.449 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.01662, allocations: 1.051 MB / 258.1 MB, free: 368 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007915/0.01741, allocations: 349.1 kB / 258.4 MB, free: 8 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.01756, allocations: 102.3 kB / 258.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.0176, allocations: 16.48 kB / 258.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.01763, allocations: 43.06 kB / 258.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 2.024e-06/0.01763, allocations: 3.938 kB / 258.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.002024/0.01966, allocations: 0.7575 MB / 259.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.01969, allocations: 63.84 kB / 259.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.02001, allocations: 427.2 kB / 259.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.02004, allocations: 37.7 kB / 259.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.02017, allocations: 230.9 kB / 260.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.02028, allocations: 194.2 kB / 260.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.02042, allocations: 110.3 kB / 260.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.02054, allocations: 374.7 kB / 260.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.02066, allocations: 90.98 kB / 260.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.02105, allocations: 0.8074 MB / 261.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.02135, allocations: 259.7 kB / 261.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.02136, allocations: 4 kB / 261.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008184/0.02217, allocations: 480 kB / 262.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.02221, allocations: 33.7 kB / 262.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.02222, allocations: 4 kB / 262.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006414/0.02286, allocations: 190.4 kB / 262.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/0.02337, allocations: 154.2 kB / 262.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003608/0.02698, allocations: 4.299 MB / 267 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.02728, allocations: 55.66 kB / 267.1 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.02731, allocations: 19.98 kB / 267.1 MB, free: 6.691 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.0001431/0.02745, allocations: 145.8 kB / 267.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.389e-05/0.02754, allocations: 55.94 kB / 267.3 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008228/0.02836, allocations: 439.1 kB / 267.7 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.02836, allocations: 8 kB / 267.7 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.02836, allocations: 7.938 kB / 267.7 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007854/0.02915, allocations: 0.714 MB / 268.5 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.03044, allocations: 0.8067 MB / 269.3 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.03044, allocations: 4 kB / 269.3 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005151/0.03096, allocations: 155.7 kB / 269.4 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.03111, allocations: 71.44 kB / 269.5 MB, free: 4.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005551/0.03167, allocations: 165.5 kB / 269.7 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.03169, allocations: 15.98 kB / 269.7 MB, free: 3.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00235/0.03404, allocations: 2.883 MB / 272.6 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.03404, allocations: 0 / 272.6 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009316/0.03498, allocations: 0.5744 MB / 273.1 MB, free: 292 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.144e-05/0.03504, allocations: 24 kB / 273.2 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.0353, allocations: 23.98 kB / 273.2 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.849e-05/0.0354, allocations: 48.41 kB / 273.2 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.03542, allocations: 11.98 kB / 273.2 MB, free: 184 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001785/0.0356, allocations: 192.5 kB / 273.4 MB, free: 15.99 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0356, allocations: 0 / 273.4 MB, free: 15.99 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005708/0.03617, allocations: 223.8 kB / 273.6 MB, free: 15.77 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.000108/0.03628, allocations: 96.27 kB / 273.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.03728, allocations: 0.7901 MB / 274.5 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.811e-05/0.0373, allocations: 16.06 kB / 274.5 MB, free: 14.81 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004059/0.03771, allocations: 433.5 kB / 275 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005814/0.03829, allocations: 264.8 kB / 275.2 MB, free: 14.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.04979, allocations: 1.101 MB / 276.3 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.04994, allocations: 147.5 kB / 276.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004057/0.05034, allocations: 81.03 kB / 276.5 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006469/0.05099, allocations: 297.1 kB / 276.8 MB, free: 12.43 MB / 282.7 MB Notification: Performance of SimCode: time 1.563e-06/0.05099, allocations: 0 / 276.8 MB, free: 12.43 MB / 282.7 MB Notification: Performance of Templates: time 0.1169/0.1679, allocations: 16.87 MB / 293.7 MB, free: 30.52 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 -ignoreHideResult -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: 2.8877471582964063]