Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001212/0.001212, allocations: 117.1 kB / 17.83 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001306/0.001306, allocations: 211.7 kB / 18.79 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.456/1.456, allocations: 230.4 MB / 250 MB, free: 9.047 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 71.83 kB / 367.3 MB, free: 7.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2431, allocations: 53.3 MB / 420.6 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005486/0.2486, allocations: 4.398 MB / 425 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.2508, allocations: 1.262 MB / 426.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.251, allocations: 7.938 kB / 426.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.2514, allocations: 130.8 kB / 426.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005434/0.2519, allocations: 265.8 kB / 426.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.2523, allocations: 207.6 kB / 426.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009745/0.2533, allocations: 0.9297 MB / 427.8 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.2536, allocations: 172.6 kB / 428 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004692/0.2541, allocations: 370.6 kB / 428.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004648/0.2545, allocations: 402.3 kB / 428.8 MB, free: 240 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.2546, allocations: 76 kB / 428.8 MB, free: 164 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.2548, allocations: 80 kB / 428.9 MB, free: 84 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.255, allocations: 175.4 kB / 429.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003746/0.2553, allocations: 414 kB / 429.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000992/0.2563, allocations: 0.9297 MB / 430.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2563, allocations: 0 / 430.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2563, allocations: 0 / 430.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.2563, allocations: 4 kB / 430.4 MB, free: 14.57 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.001972/0.2583, allocations: 1.132 MB / 431.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2583, allocations: 12.03 kB / 431.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/0.2586, allocations: 92.42 kB / 431.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007231/0.2593, allocations: 489.1 kB / 432.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.2595, allocations: 112.9 kB / 432.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.789e-05/0.2596, allocations: 44.38 kB / 432.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.2607, allocations: 0.6516 MB / 432.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.2608, allocations: 0 / 432.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.312e-05/0.2608, allocations: 20 kB / 433 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.2608, allocations: 12 kB / 433 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.2619, allocations: 451.6 kB / 433.4 MB, free: 11.39 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.003282/0.2652, allocations: 1.944 MB / 435.3 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.2671, allocations: 0.6547 MB / 436 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005654/0.2677, allocations: 238 kB / 436.2 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.578e-05/0.2677, allocations: 17.06 kB / 436.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.2678, allocations: 46.94 kB / 436.3 MB, free: 8.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.944e-06/0.2678, allocations: 3.938 kB / 436.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005302/0.2731, allocations: 1.472 MB / 437.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002978/0.2734, allocations: 0.5644 MB / 438.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006912/0.2741, allocations: 0.5421 MB / 438.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.371e-05/0.2741, allocations: 41.7 kB / 438.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.2744, allocations: 285.2 kB / 439.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.2745, allocations: 202.3 kB / 439.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.2747, allocations: 118.1 kB / 439.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.275, allocations: 366.8 kB / 439.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005199/0.2755, allocations: 193 kB / 440.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007449/0.2762, allocations: 412.3 kB / 440.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.2773, allocations: 496.5 kB / 440.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2773, allocations: 4 kB / 441 MB, free: 3.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002355/0.2796, allocations: 0.8032 MB / 441.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.2797, allocations: 36.36 kB / 441.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2797, allocations: 3.938 kB / 441.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.2807, allocations: 218.4 kB / 442 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007434/0.2815, allocations: 127.8 kB / 442.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008072/0.2896, allocations: 5.612 MB / 447.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007097/0.2903, allocations: 79.64 kB / 447.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/0.2903, allocations: 23.98 kB / 447.8 MB, free: 11.98 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.0002986/0.2906, allocations: 193.7 kB / 448 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.2907, allocations: 71.58 kB / 448.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.2931, allocations: 0.7695 MB / 448.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.2931, allocations: 4 kB / 448.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2931, allocations: 4 kB / 448.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002306/0.2954, allocations: 1.031 MB / 449.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/0.2988, allocations: 1.505 MB / 451.4 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.2988, allocations: 3.938 kB / 451.4 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007763/0.2995, allocations: 123.8 kB / 451.5 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008533/0.3004, allocations: 181.5 kB / 451.7 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.3004, allocations: 12 kB / 451.7 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005792/0.3062, allocations: 3.81 MB / 455.5 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3062, allocations: 8.25 kB / 455.6 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003038/0.3093, allocations: 1.067 MB / 456.6 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.3096, allocations: 208.5 kB / 456.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.544e-05/0.3097, allocations: 16 kB / 456.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.3102, allocations: 31.97 kB / 456.9 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.3103, allocations: 40.5 kB / 456.9 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.854e-05/0.3104, allocations: 23.92 kB / 456.9 MB, free: 2.359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005105/0.3109, allocations: 390.8 kB / 457.3 MB, free: 1.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3109, allocations: 4 kB / 457.3 MB, free: 1.977 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007871/0.3117, allocations: 215.8 kB / 457.5 MB, free: 1.766 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.0002292/0.3119, allocations: 115.2 kB / 457.6 MB, free: 1.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002391/0.3143, allocations: 1.006 MB / 458.6 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3143, allocations: 0 / 458.6 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.3153, allocations: 0.5198 MB / 459.2 MB, free: 44 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008472/0.3162, allocations: 178.6 kB / 459.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.3184, allocations: 1.289 MB / 460.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.319, allocations: 0.884 MB / 461.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003024/0.3193, allocations: 85.12 kB / 461.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.3194, allocations: 55.42 kB / 461.7 MB, free: 13.5 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3194, allocations: 0 / 461.7 MB, free: 13.5 MB / 382.1 MB Notification: Performance of Templates: time 0.02563/0.345, allocations: 14.34 MB / 476 MB, free: 15.36 MB / 398.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches