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.0009328/0.0009328, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.000927/0.000927, allocations: 166.2 kB / 24.99 MB, free: 8.219 MB / 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 1.009/1.009, allocations: 177 MB / 205.2 MB, free: 5.52 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.132e-06/1.132e-06, allocations: 0 / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.597e-05, allocations: 9.344 kB / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003939/0.003955, allocations: 4.384 MB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.005773, allocations: 1.219 MB / 278.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002407/0.006013, allocations: 11.94 kB / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.00635, allocations: 134.8 kB / 278.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004791/0.006829, allocations: 289.5 kB / 279 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.007237, allocations: 199.5 kB / 279.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008593/0.008096, allocations: 0.9644 MB / 280.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/0.008357, allocations: 169 kB / 280.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006082/0.008966, allocations: 0.5379 MB / 280.9 MB, free: 9.773 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/0.009338, allocations: 303.1 kB / 281.2 MB, free: 9.477 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.009447, allocations: 80 kB / 281.3 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.009576, allocations: 83.98 kB / 281.3 MB, free: 9.316 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.009688, allocations: 167.4 kB / 281.5 MB, free: 9.152 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.00999, allocations: 307.3 kB / 281.8 MB, free: 8.852 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006389/0.01063, allocations: 0.6188 MB / 282.4 MB, free: 8.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.01063, allocations: 0 / 282.4 MB, free: 8.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01063, allocations: 0 / 282.4 MB, free: 8.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.01064, allocations: 0 / 282.4 MB, free: 8.23 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.001513/0.01215, allocations: 1.141 MB / 283.6 MB, free: 7.039 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.01219, allocations: 19.97 kB / 283.6 MB, free: 7.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.01244, allocations: 132.4 kB / 283.7 MB, free: 6.891 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005627/0.013, allocations: 429.3 kB / 284.1 MB, free: 6.441 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.01313, allocations: 144.4 kB / 284.3 MB, free: 6.277 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.029e-05/0.01321, allocations: 56.38 kB / 284.3 MB, free: 6.223 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.01436, allocations: 1.087 MB / 285.4 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.01438, allocations: 4 kB / 285.4 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.755e-05/0.01443, allocations: 24 kB / 285.4 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.01445, allocations: 12 kB / 285.4 MB, free: 4.871 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004665/0.01491, allocations: 229.8 kB / 285.7 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.01705, allocations: 1.482 MB / 287.2 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.01811, allocations: 406.9 kB / 287.6 MB, free: 2.695 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.01835, allocations: 137.9 kB / 287.7 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/0.01839, allocations: 20.48 kB / 287.7 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002675/0.01866, allocations: 49.83 kB / 287.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.873e-06/0.01866, allocations: 0 / 287.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.002655/0.02132, allocations: 0.9285 MB / 288.7 MB, free: 1.527 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001761/0.02149, allocations: 0.5644 MB / 289.2 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/0.02199, allocations: 0.5183 MB / 289.8 MB, free: 300 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.02203, allocations: 41.7 kB / 289.8 MB, free: 252 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.02225, allocations: 352.5 kB / 290.1 MB, free: 15.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.02237, allocations: 190.2 kB / 290.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.02253, allocations: 116 kB / 290.4 MB, free: 15.58 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.0227, allocations: 0.543 MB / 291 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.02292, allocations: 119 kB / 291.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/0.02345, allocations: 0.9103 MB / 292 MB, free: 13.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004657/0.02391, allocations: 310 kB / 292.3 MB, free: 13.42 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.02392, allocations: 0 / 292.3 MB, free: 13.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001252/0.02517, allocations: 0.6243 MB / 292.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.0252, allocations: 33.7 kB / 293 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.02521, allocations: 4 kB / 293 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008093/0.02602, allocations: 222.7 kB / 293.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.02645, allocations: 115.8 kB / 293.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004903/0.03135, allocations: 6.207 MB / 299.5 MB, free: 5.805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.03169, allocations: 59.7 kB / 299.6 MB, free: 5.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.03172, allocations: 16 kB / 299.6 MB, free: 5.73 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.0001787/0.0319, allocations: 196.5 kB / 299.8 MB, free: 5.527 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.03202, allocations: 87.58 kB / 299.9 MB, free: 5.441 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.03317, allocations: 0.5494 MB / 300.4 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.03317, allocations: 11.94 kB / 300.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.03317, allocations: 0 / 300.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001098/0.03427, allocations: 0.828 MB / 301.3 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.03628, allocations: 1.126 MB / 302.4 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.03628, allocations: 0 / 302.4 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004554/0.03673, allocations: 119.8 kB / 302.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006601/0.0374, allocations: 179.3 kB / 302.7 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.03743, allocations: 12 kB / 302.7 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1086/0.146, allocations: 4.205 MB / 306.9 MB, free: 38.95 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.146, allocations: 3.75 kB / 306.9 MB, free: 38.95 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.1473, allocations: 0.7667 MB / 307.7 MB, free: 38.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.1475, allocations: 124 kB / 307.8 MB, free: 38.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/0.1475, allocations: 18.22 kB / 307.8 MB, free: 38.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.1478, allocations: 31.38 kB / 307.8 MB, free: 38.74 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.917e-05/0.1479, allocations: 44.36 kB / 307.9 MB, free: 38.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.1479, allocations: 16.45 kB / 307.9 MB, free: 38.74 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002503/0.1481, allocations: 349.1 kB / 308.2 MB, free: 38.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1481, allocations: 0.5469 kB / 308.2 MB, free: 38.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005219/0.1487, allocations: 233.4 kB / 308.5 MB, free: 38.61 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.0001085/0.1488, allocations: 112 kB / 308.6 MB, free: 38.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.1498, allocations: 1.015 MB / 309.6 MB, free: 37.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1498, allocations: 3.547 kB / 309.6 MB, free: 37.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004072/0.1502, allocations: 0.558 MB / 310.1 MB, free: 37.53 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.1507, allocations: 187.7 kB / 310.3 MB, free: 37.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.1524, allocations: 1.16 MB / 311.5 MB, free: 37.01 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.907e-05/0.1525, allocations: 141.6 kB / 311.6 MB, free: 36.94 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002201/0.1527, allocations: 76.48 kB / 311.7 MB, free: 36.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.639e-05/0.1528, allocations: 58.11 kB / 311.8 MB, free: 36.91 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1528, allocations: 0 / 311.8 MB, free: 36.91 MB / 282.7 MB Notification: Performance of Templates: time 0.0145/0.1673, allocations: 14.7 MB / 326.5 MB, free: 29.1 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.08574984385632]