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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=4000,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=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001474/0.001474, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001779/0.00178, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 60.28 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08344/0.08463, allocations: 50.55 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004804/0.08947, allocations: 4.373 MB / 363.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.09123, allocations: 1.25 MB / 364.5 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.09143, allocations: 11.94 kB / 364.5 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.09176, allocations: 126.8 kB / 364.7 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000443/0.09221, allocations: 269.7 kB / 364.9 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.09259, allocations: 195.7 kB / 365.1 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007684/0.09337, allocations: 0.9336 MB / 366 MB, free: 6.117 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003096/0.09369, allocations: 240.5 kB / 366.3 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003855/0.09408, allocations: 374.7 kB / 366.6 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004028/0.09449, allocations: 402.3 kB / 367 MB, free: 5.113 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.907e-05/0.0946, allocations: 79.98 kB / 367.1 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.09474, allocations: 80 kB / 367.2 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.09487, allocations: 171.4 kB / 367.4 MB, free: 4.789 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003289/0.09521, allocations: 418 kB / 367.8 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007233/0.09594, allocations: 0.9149 MB / 368.7 MB, free: 3.461 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.09595, allocations: 0 / 368.7 MB, free: 3.461 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.09596, allocations: 0 / 368.7 MB, free: 3.461 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.09597, allocations: 0 / 368.7 MB, free: 3.461 MB / 302.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.001806/0.09778, allocations: 1.117 MB / 369.8 MB, free: 2.277 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.09782, allocations: 8.031 kB / 369.8 MB, free: 2.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/0.09806, allocations: 96 kB / 369.9 MB, free: 2.176 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006537/0.09872, allocations: 480.6 kB / 370.4 MB, free: 1.664 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.09888, allocations: 108.9 kB / 370.5 MB, free: 1.547 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.032e-05/0.09897, allocations: 44.38 kB / 370.5 MB, free: 1.504 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.1, allocations: 0.6476 MB / 371.2 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1, allocations: 4 kB / 371.2 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-05/0.1001, allocations: 23.98 kB / 371.2 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.1001, allocations: 12 kB / 371.2 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009883/0.1011, allocations: 443.7 kB / 371.6 MB, free: 316 kB / 302.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.1441/0.2452, allocations: 1.938 MB / 373.6 MB, free: 19.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.2471, allocations: 0.6839 MB / 374.3 MB, free: 19.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005374/0.2476, allocations: 271.8 kB / 374.5 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.124e-05/0.2477, allocations: 12.88 kB / 374.5 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.2477, allocations: 45.77 kB / 374.6 MB, free: 19.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.274e-06/0.2477, allocations: 1.062 kB / 374.6 MB, free: 19.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.004882/0.2526, allocations: 1.48 MB / 376.1 MB, free: 18.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.2527, allocations: 0.5684 MB / 376.6 MB, free: 17.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005654/0.2533, allocations: 0.537 MB / 377.2 MB, free: 17.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.2534, allocations: 42.64 kB / 377.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.2535, allocations: 285.5 kB / 377.5 MB, free: 17.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.2536, allocations: 188.7 kB / 377.7 MB, free: 17.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.2538, allocations: 119.6 kB / 377.8 MB, free: 17.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.119e-05/0.2539, allocations: 369.5 kB / 378.2 MB, free: 16.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/0.2544, allocations: 193.7 kB / 378.3 MB, free: 16.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/0.255, allocations: 418.7 kB / 378.8 MB, free: 16.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009506/0.256, allocations: 490.6 kB / 379.2 MB, free: 16.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.256, allocations: 1.312 kB / 379.2 MB, free: 16.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002232/0.2582, allocations: 0.8045 MB / 380 MB, free: 15.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.2583, allocations: 36.02 kB / 380.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2583, allocations: 2 kB / 380.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.2593, allocations: 226 kB / 380.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007277/0.26, allocations: 124.9 kB / 380.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00663/0.2667, allocations: 5.606 MB / 386 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/0.2674, allocations: 76.34 kB / 386.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.2675, allocations: 22.27 kB / 386.1 MB, free: 10.75 MB / 302.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.0002704/0.2677, allocations: 199.9 kB / 386.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.2678, allocations: 72.81 kB / 386.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.2701, allocations: 0.7718 MB / 387.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.2702, allocations: 6.906 kB / 387.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.2702, allocations: 0 / 387.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002106/0.2723, allocations: 1.038 MB / 388.2 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/0.2756, allocations: 1.505 MB / 389.7 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2756, allocations: 0.9688 kB / 389.7 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007428/0.2764, allocations: 135.2 kB / 389.8 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008405/0.2772, allocations: 173.5 kB / 390 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.2773, allocations: 17.34 kB / 390 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004465/0.2817, allocations: 3.804 MB / 393.8 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2817, allocations: 1.281 kB / 393.8 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.2844, allocations: 1.065 MB / 394.9 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.2848, allocations: 202.5 kB / 395.1 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.2849, allocations: 14.33 kB / 395.1 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000525/0.2854, allocations: 39.8 kB / 395.2 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.2856, allocations: 39.5 kB / 395.2 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.2856, allocations: 19.62 kB / 395.2 MB, free: 4.652 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004614/0.2861, allocations: 389.2 kB / 395.6 MB, free: 4.426 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2861, allocations: 0 / 395.6 MB, free: 4.426 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000827/0.2869, allocations: 218.5 kB / 395.8 MB, free: 4.395 MB / 302.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.0001362/0.2871, allocations: 116.2 kB / 395.9 MB, free: 4.289 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002077/0.2891, allocations: 1.032 MB / 396.9 MB, free: 3.582 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.2892, allocations: 1.25 kB / 397 MB, free: 3.582 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009046/0.2901, allocations: 0.5383 MB / 397.5 MB, free: 3.195 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007659/0.2908, allocations: 190 kB / 397.7 MB, free: 3.098 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.2927, allocations: 1.268 MB / 398.9 MB, free: 2.309 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.293, allocations: 0.8909 MB / 399.8 MB, free: 1.523 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002965/0.2933, allocations: 79.62 kB / 399.9 MB, free: 1.488 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.2935, allocations: 49.19 kB / 400 MB, free: 1.48 MB / 302.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2935, allocations: 0 / 400 MB, free: 1.48 MB / 302.1 MB Notification: Performance of Templates: time 0.02116/0.3146, allocations: 14.07 MB / 414 MB, free: 5.766 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches