Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 103.5 kB / 16.51 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009809/0.0009809, allocations: 194.4 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009199/0.0009199, allocations: 46.2 kB / 299.9 MB, free: 6.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07648/0.07742, allocations: 49.45 MB / 349.4 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004586/0.08203, allocations: 4.379 MB / 353.8 MB, free: 468 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.08374, allocations: 1.207 MB / 355 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.08396, allocations: 11.94 kB / 355 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.08428, allocations: 103.3 kB / 355.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004228/0.08472, allocations: 230.2 kB / 355.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.08505, allocations: 175.7 kB / 355.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007146/0.08578, allocations: 0.8962 MB / 356.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.08607, allocations: 221.1 kB / 356.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003324/0.08641, allocations: 334.7 kB / 356.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003443/0.08677, allocations: 386.3 kB / 357.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.08687, allocations: 56 kB / 357.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.087, allocations: 52 kB / 357.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.08713, allocations: 151.4 kB / 357.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003366/0.08747, allocations: 394.1 kB / 357.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006644/0.08814, allocations: 0.8876 MB / 358.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.08815, allocations: 0 / 358.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.08816, allocations: 0 / 358.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.08818, allocations: 3.938 kB / 358.8 MB, free: 11.36 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.001883/0.09006, allocations: 1.113 MB / 359.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.09011, allocations: 8.031 kB / 360 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.09025, allocations: 88 kB / 360 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000572/0.09083, allocations: 480.6 kB / 360.5 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.09097, allocations: 96.95 kB / 360.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.495e-05/0.09106, allocations: 52.31 kB / 360.7 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.09215, allocations: 0.6516 MB / 361.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.09217, allocations: 0 / 361.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/0.09223, allocations: 20 kB / 361.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.09225, allocations: 12 kB / 361.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.09329, allocations: 455.6 kB / 361.8 MB, free: 8.223 MB / 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.00282/0.09612, allocations: 1.959 MB / 363.7 MB, free: 6.137 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.09803, allocations: 0.6862 MB / 364.4 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005505/0.09859, allocations: 262.7 kB / 364.7 MB, free: 5.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.704e-05/0.09865, allocations: 16.36 kB / 364.7 MB, free: 5.145 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.09868, allocations: 42.94 kB / 364.7 MB, free: 5.094 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.094e-06/0.09869, allocations: 4 kB / 364.7 MB, free: 5.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.005014/0.1037, allocations: 1.48 MB / 366.2 MB, free: 3.539 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002006/0.1039, allocations: 0.5683 MB / 366.8 MB, free: 2.836 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000588/0.1045, allocations: 0.5381 MB / 367.3 MB, free: 2.289 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.1046, allocations: 37.7 kB / 367.4 MB, free: 2.246 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.1048, allocations: 284.5 kB / 367.6 MB, free: 1.961 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.1049, allocations: 189.2 kB / 367.8 MB, free: 1.773 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.1051, allocations: 114.1 kB / 367.9 MB, free: 1.656 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1053, allocations: 378.7 kB / 368.3 MB, free: 1.277 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/0.1058, allocations: 193 kB / 368.5 MB, free: 1.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/0.1064, allocations: 412.4 kB / 368.9 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009777/0.1074, allocations: 488.5 kB / 369.4 MB, free: 112 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1074, allocations: 0 / 369.4 MB, free: 112 kB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.1433/0.2507, allocations: 0.8037 MB / 370.2 MB, free: 25.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.2508, allocations: 31.98 kB / 370.2 MB, free: 25.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.2508, allocations: 3.234 kB / 370.2 MB, free: 25.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.2519, allocations: 225 kB / 370.4 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000754/0.2527, allocations: 132.9 kB / 370.6 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006298/0.259, allocations: 5.144 MB / 375.7 MB, free: 21.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006859/0.2597, allocations: 77.61 kB / 375.8 MB, free: 21.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/0.2598, allocations: 17.89 kB / 375.8 MB, free: 21.49 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.0002523/0.26, allocations: 190.5 kB / 376 MB, free: 21.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.2601, allocations: 76.59 kB / 376.1 MB, free: 21.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.2624, allocations: 0.7709 MB / 376.8 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2625, allocations: 5.5 kB / 376.8 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.2625, allocations: 5.25 kB / 376.8 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002119/0.2646, allocations: 1.04 MB / 377.9 MB, free: 20.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003096/0.2677, allocations: 1.507 MB / 379.4 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2677, allocations: 0 / 379.4 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000816/0.2685, allocations: 127.5 kB / 379.5 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000865/0.2694, allocations: 178.2 kB / 379.7 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.2695, allocations: 13.31 kB / 379.7 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004293/0.2738, allocations: 3.475 MB / 383.2 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2738, allocations: 80 / 383.2 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/0.2765, allocations: 1.075 MB / 384.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.2768, allocations: 199.8 kB / 384.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.195e-05/0.2769, allocations: 15.02 kB / 384.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004959/0.2774, allocations: 45.73 kB / 384.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.2775, allocations: 44.7 kB / 384.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.2775, allocations: 16.81 kB / 384.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004306/0.278, allocations: 385.5 kB / 384.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.278, allocations: 0 / 384.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007645/0.2788, allocations: 221 kB / 385.2 MB, free: 15.54 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.0001184/0.2789, allocations: 124.4 kB / 385.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002139/0.281, allocations: 1.026 MB / 386.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.281, allocations: 1.219 kB / 386.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009292/0.282, allocations: 0.5303 MB / 386.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008506/0.2828, allocations: 182.9 kB / 387 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.2848, allocations: 1.496 MB / 388.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.2852, allocations: 0.8875 MB / 389.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003387/0.2855, allocations: 79.94 kB / 389.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.2857, allocations: 50.05 kB / 389.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2857, allocations: 0 / 389.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of Templates: time 0.01674/0.3024, allocations: 13.05 MB / 402.6 MB, free: 4.324 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches