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.001675/0.001675, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.002106/0.002106, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 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.471/1.471, allocations: 230.3 MB / 258 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001838/0.001838, allocations: 64.08 kB / 378.7 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2302, allocations: 53.37 MB / 432.1 MB, free: 7.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005845/0.2361, allocations: 4.426 MB / 436.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.2382, allocations: 1.256 MB / 437.8 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.2384, allocations: 11.88 kB / 437.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004177/0.2388, allocations: 134.8 kB / 437.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005464/0.2394, allocations: 265.8 kB / 438.2 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.2398, allocations: 207.7 kB / 438.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.2408, allocations: 0.9258 MB / 439.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000297/0.2411, allocations: 177.1 kB / 439.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005275/0.2416, allocations: 374.7 kB / 439.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004945/0.2421, allocations: 402.3 kB / 440.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.2422, allocations: 76 kB / 440.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.2424, allocations: 83.94 kB / 440.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.2426, allocations: 171.4 kB / 440.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004246/0.243, allocations: 426.1 kB / 441 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.244, allocations: 0.9257 MB / 441.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.244, allocations: 0 / 441.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.244, allocations: 0 / 441.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.244, allocations: 0 / 441.9 MB, free: 13.2 MB / 350.1 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.002134/0.2462, allocations: 1.065 MB / 443 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2462, allocations: 8.031 kB / 443 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002526/0.2465, allocations: 92.45 kB / 443.1 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007855/0.2472, allocations: 435.2 kB / 443.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.2474, allocations: 101 kB / 443.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.829e-05/0.2475, allocations: 40.38 kB / 443.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.2487, allocations: 0.6555 MB / 444.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.2488, allocations: 0 / 444.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.965e-05/0.2488, allocations: 20 kB / 444.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.2488, allocations: 12 kB / 444.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.25, allocations: 455.6 kB / 444.8 MB, free: 10.18 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003296/0.2533, allocations: 1.869 MB / 446.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/0.2553, allocations: 0.5947 MB / 447.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005974/0.2559, allocations: 238 kB / 447.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-05/0.256, allocations: 12.42 kB / 447.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.256, allocations: 47 kB / 447.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.874e-06/0.256, allocations: 0 / 447.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005272/0.2613, allocations: 1.246 MB / 448.8 MB, free: 6.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003606/0.2617, allocations: 0.5682 MB / 449.3 MB, free: 5.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007114/0.2624, allocations: 0.542 MB / 449.9 MB, free: 4.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.89e-05/0.2624, allocations: 41.7 kB / 449.9 MB, free: 4.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.2627, allocations: 289.1 kB / 450.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.2629, allocations: 194.3 kB / 450.4 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.2631, allocations: 110.3 kB / 450.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.2633, allocations: 374.8 kB / 450.9 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/0.2638, allocations: 193.2 kB / 451.1 MB, free: 3.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007928/0.2646, allocations: 417.1 kB / 451.5 MB, free: 3.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.2658, allocations: 491.5 kB / 452 MB, free: 2.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2658, allocations: 0 / 452 MB, free: 2.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002437/0.2682, allocations: 0.8017 MB / 452.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/0.2683, allocations: 40.23 kB / 452.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2683, allocations: 0 / 452.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.2693, allocations: 218.4 kB / 453 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007674/0.2701, allocations: 123.8 kB / 453.1 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008258/0.2784, allocations: 5.309 MB / 458.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008092/0.2792, allocations: 79.64 kB / 458.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.2792, allocations: 23.98 kB / 458.5 MB, free: 11.62 MB / 366.1 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.000338/0.2796, allocations: 193.7 kB / 458.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.2797, allocations: 71.58 kB / 458.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.2822, allocations: 0.7679 MB / 459.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.2822, allocations: 8 kB / 459.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2822, allocations: 3.984 kB / 459.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002391/0.2846, allocations: 1.033 MB / 460.6 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003496/0.2881, allocations: 1.468 MB / 462.1 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.2881, allocations: 3.938 kB / 462.1 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008054/0.2889, allocations: 127.8 kB / 462.2 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008923/0.2898, allocations: 177.7 kB / 462.4 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.2898, allocations: 16 kB / 462.4 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005654/0.2955, allocations: 3.592 MB / 466 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2955, allocations: 0 / 466 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003144/0.2986, allocations: 1.061 MB / 467 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004072/0.299, allocations: 131.4 kB / 467.2 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.915e-05/0.2991, allocations: 12 kB / 467.2 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005412/0.2997, allocations: 35.95 kB / 467.2 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.2998, allocations: 56.53 kB / 467.3 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.2999, allocations: 15.94 kB / 467.3 MB, free: 2.406 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000524/0.3004, allocations: 390.8 kB / 467.7 MB, free: 2.027 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3004, allocations: 0 / 467.7 MB, free: 2.027 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007868/0.3012, allocations: 215.9 kB / 467.9 MB, free: 1.816 MB / 366.1 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.0001759/0.3013, allocations: 118.7 kB / 468 MB, free: 1.695 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002547/0.3039, allocations: 1.017 MB / 469 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3039, allocations: 0 / 469 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.305, allocations: 0.5158 MB / 469.5 MB, free: 88 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/0.3058, allocations: 178.5 kB / 469.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.3082, allocations: 1.295 MB / 471 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.3087, allocations: 0.8879 MB / 471.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003169/0.309, allocations: 85.11 kB / 472 MB, free: 13.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.3091, allocations: 55.38 kB / 472 MB, free: 13.52 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3091, allocations: 0 / 472 MB, free: 13.52 MB / 382.1 MB Notification: Performance of Templates: time 0.02627/0.3354, allocations: 14.69 MB / 486.7 MB, free: 15.03 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.078591516241431]