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.001117/0.001117, 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.001117/0.001117, 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.332/1.332, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 72.25 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08899/0.09019, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005103/0.09532, allocations: 4.377 MB / 363.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.0973, allocations: 1.242 MB / 364.5 MB, free: 7.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.09755, allocations: 15.88 kB / 364.5 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.09792, allocations: 134.8 kB / 364.7 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004825/0.09841, allocations: 261.8 kB / 364.9 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.09884, allocations: 207.5 kB / 365.1 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008931/0.09974, allocations: 0.9214 MB / 366 MB, free: 6.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/0.1001, allocations: 252.5 kB / 366.3 MB, free: 5.906 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004131/0.1005, allocations: 366.6 kB / 366.6 MB, free: 5.547 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004396/0.101, allocations: 410.3 kB / 367 MB, free: 5.145 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.1011, allocations: 76 kB / 367.1 MB, free: 5.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.1012, allocations: 80 kB / 367.2 MB, free: 4.992 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.1014, allocations: 171.4 kB / 367.4 MB, free: 4.824 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003533/0.1017, allocations: 418.1 kB / 367.8 MB, free: 4.414 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007983/0.1025, allocations: 0.9149 MB / 368.7 MB, free: 3.496 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1025, allocations: 0 / 368.7 MB, free: 3.496 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1026, allocations: 4 kB / 368.7 MB, free: 3.492 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1026, allocations: 0 / 368.7 MB, free: 3.492 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.001921/0.1045, allocations: 1.117 MB / 369.8 MB, free: 2.309 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1045, allocations: 8.031 kB / 369.8 MB, free: 2.301 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002395/0.1048, allocations: 91.98 kB / 369.9 MB, free: 2.211 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006989/0.1055, allocations: 488.5 kB / 370.4 MB, free: 1.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.1056, allocations: 92.97 kB / 370.5 MB, free: 1.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.788e-05/0.1057, allocations: 48.38 kB / 370.5 MB, free: 1.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.1068, allocations: 0.6516 MB / 371.2 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.1069, allocations: 4 kB / 371.2 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/0.1069, allocations: 27.98 kB / 371.2 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.107, allocations: 12 kB / 371.2 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.108, allocations: 451.6 kB / 371.7 MB, free: 340 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.1434/0.2514, allocations: 1.927 MB / 373.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.2533, allocations: 0.6884 MB / 374.3 MB, free: 19.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005482/0.2539, allocations: 268.1 kB / 374.5 MB, free: 19.37 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.262e-05/0.254, allocations: 13.45 kB / 374.5 MB, free: 19.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.254, allocations: 45.28 kB / 374.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.625e-06/0.254, allocations: 0 / 374.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.004889/0.2589, allocations: 1.48 MB / 376.1 MB, free: 18.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.259, allocations: 0.5759 MB / 376.6 MB, free: 18.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006518/0.2597, allocations: 0.5308 MB / 377.2 MB, free: 17.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.003e-05/0.2597, allocations: 44.08 kB / 377.2 MB, free: 17.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.2599, allocations: 288 kB / 377.5 MB, free: 17.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.26, allocations: 189.3 kB / 377.7 MB, free: 17.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.2602, allocations: 115.4 kB / 377.8 MB, free: 17.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.11e-05/0.2603, allocations: 369.2 kB / 378.2 MB, free: 17.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000477/0.2608, allocations: 197.1 kB / 378.4 MB, free: 16.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005955/0.2614, allocations: 414 kB / 378.8 MB, free: 16.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000945/0.2623, allocations: 491.8 kB / 379.2 MB, free: 16.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2624, allocations: 0 / 379.2 MB, free: 16.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00215/0.2645, allocations: 0.8069 MB / 380 MB, free: 16.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.2646, allocations: 35.69 kB / 380.1 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2646, allocations: 1.188 kB / 380.1 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009562/0.2655, allocations: 224.1 kB / 380.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006884/0.2662, allocations: 124.4 kB / 380.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006173/0.2724, allocations: 5.603 MB / 386 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006018/0.273, allocations: 75.83 kB / 386.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.2731, allocations: 23.34 kB / 386.1 MB, free: 11.05 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.0002401/0.2733, allocations: 199.3 kB / 386.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.2735, allocations: 71.34 kB / 386.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.2756, allocations: 0.7791 MB / 387.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2756, allocations: 4.594 kB / 387.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2756, allocations: 0.7969 kB / 387.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001959/0.2776, allocations: 1.036 MB / 388.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002986/0.2806, allocations: 1.498 MB / 389.7 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.2806, allocations: 1.125 kB / 389.7 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007434/0.2814, allocations: 134.5 kB / 389.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008125/0.2822, allocations: 178.8 kB / 390 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/0.2823, allocations: 9.016 kB / 390 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004502/0.2868, allocations: 3.801 MB / 393.8 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.2868, allocations: 5.047 kB / 393.8 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/0.2895, allocations: 1.066 MB / 394.9 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/0.2899, allocations: 200.8 kB / 395.1 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.213e-05/0.29, allocations: 16.47 kB / 395.1 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/0.2905, allocations: 37.56 kB / 395.1 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.2906, allocations: 43 kB / 395.2 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.2906, allocations: 13.61 kB / 395.2 MB, free: 4.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004515/0.2911, allocations: 385.8 kB / 395.6 MB, free: 4.707 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2911, allocations: 0 / 395.6 MB, free: 4.707 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007678/0.2919, allocations: 226.8 kB / 395.8 MB, free: 4.668 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.0001354/0.292, allocations: 118.6 kB / 395.9 MB, free: 4.562 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002232/0.2943, allocations: 1.032 MB / 396.9 MB, free: 3.855 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.2943, allocations: 1.125 kB / 396.9 MB, free: 3.855 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008669/0.2952, allocations: 0.5419 MB / 397.5 MB, free: 3.465 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007744/0.296, allocations: 199.1 kB / 397.7 MB, free: 3.363 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.2978, allocations: 1.267 MB / 398.9 MB, free: 2.578 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.2981, allocations: 0.8865 MB / 399.8 MB, free: 1.797 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002948/0.2984, allocations: 79.56 kB / 399.9 MB, free: 1.762 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.2985, allocations: 53.45 kB / 400 MB, free: 1.75 MB / 302.1 MB Notification: Performance of SimCode: time 6.52e-07/0.2985, allocations: 0 / 400 MB, free: 1.75 MB / 302.1 MB Notification: Performance of Templates: time 0.02087/0.3194, allocations: 14.06 MB / 414 MB, free: 5.98 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 cvode -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