Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001302/0.001302, allocations: 175.4 kB / 16.72 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.4 MB / 222.9 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007663/0.0007661, allocations: 94.39 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.000342, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2367, allocations: 47.57 MB / 375.1 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.00395/0.2408, allocations: 3.791 MB / 378.9 MB, free: 42.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.2432, allocations: 1.133 MB / 380 MB, free: 41.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005906/0.2438, allocations: 11.34 kB / 380 MB, free: 41.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004581/0.2443, allocations: 94.05 kB / 380.1 MB, free: 41.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000838/0.2451, allocations: 229.7 kB / 380.3 MB, free: 41.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000494/0.2456, allocations: 148.3 kB / 380.5 MB, free: 41.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.2467, allocations: 0.864 MB / 381.3 MB, free: 40.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003482/0.2471, allocations: 220.2 kB / 381.6 MB, free: 40.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004341/0.2475, allocations: 315.8 kB / 381.9 MB, free: 40.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.2479, allocations: 361.5 kB / 382.2 MB, free: 40.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.405e-05/0.248, allocations: 49.22 kB / 382.3 MB, free: 40.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.2481, allocations: 49.69 kB / 382.3 MB, free: 40.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.866e-05/0.2482, allocations: 131.6 kB / 382.4 MB, free: 39.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000318/0.2485, allocations: 401.2 kB / 382.8 MB, free: 39.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004671/0.249, allocations: 0.6675 MB / 383.5 MB, free: 39.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.249, allocations: 0 / 383.5 MB, free: 39.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.249, allocations: 3.938 kB / 383.5 MB, free: 39.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.249, allocations: 3.938 kB / 383.5 MB, free: 39.12 MB / 298.7 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.001652/0.2507, allocations: 0.9969 MB / 384.5 MB, free: 38.31 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.2508, allocations: 9.656 kB / 384.5 MB, free: 38.31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.2509, allocations: 85.97 kB / 384.6 MB, free: 38.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.2515, allocations: 476.3 kB / 385.1 MB, free: 37.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.2516, allocations: 100.7 kB / 385.2 MB, free: 37.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.838e-05/0.2517, allocations: 51.78 kB / 385.2 MB, free: 37.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.2528, allocations: 0.6643 MB / 385.9 MB, free: 37.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.2528, allocations: 1.156 kB / 385.9 MB, free: 37.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.994e-05/0.2529, allocations: 18.59 kB / 385.9 MB, free: 37.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.2529, allocations: 10.41 kB / 385.9 MB, free: 37.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.2539, allocations: 481.4 kB / 386.4 MB, free: 37.03 MB / 298.7 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.002609/0.2565, allocations: 1.974 MB / 388.4 MB, free: 35.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.2582, allocations: 0.7164 MB / 389.1 MB, free: 34.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004931/0.2588, allocations: 278 kB / 389.3 MB, free: 34.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.763e-05/0.2588, allocations: 12.42 kB / 389.4 MB, free: 34.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.2588, allocations: 43 kB / 389.4 MB, free: 34.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 2.344e-06/0.2588, allocations: 0 / 389.4 MB, free: 34.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.004669/0.2635, allocations: 1.601 MB / 391 MB, free: 32.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.2637, allocations: 0.5644 MB / 391.6 MB, free: 31.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/0.2642, allocations: 0.5304 MB / 392.1 MB, free: 31.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.3e-05/0.2643, allocations: 37.7 kB / 392.1 MB, free: 31.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.2645, allocations: 292.5 kB / 392.4 MB, free: 30.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.2646, allocations: 181.3 kB / 392.6 MB, free: 30.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.2646, allocations: 16 kB / 392.6 MB, free: 30.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.669e-05/0.2647, allocations: 370.8 kB / 393 MB, free: 30.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/0.2652, allocations: 205 kB / 393.2 MB, free: 30 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000567/0.2658, allocations: 432.2 kB / 393.6 MB, free: 29.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009053/0.2667, allocations: 0.5044 MB / 394.1 MB, free: 28.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2667, allocations: 0 / 394.1 MB, free: 28.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002053/0.2688, allocations: 0.8576 MB / 395 MB, free: 28.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.2688, allocations: 29.7 kB / 395 MB, free: 28.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2688, allocations: 0 / 395 MB, free: 28.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000919/0.2698, allocations: 242.3 kB / 395.2 MB, free: 27.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006665/0.2704, allocations: 127.8 kB / 395.3 MB, free: 27.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00642/0.2769, allocations: 5.242 MB / 400.6 MB, free: 22.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008163/0.2777, allocations: 87.55 kB / 400.7 MB, free: 21.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.2778, allocations: 19.98 kB / 400.7 MB, free: 21.95 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002624/0.278, allocations: 190.4 kB / 400.9 MB, free: 21.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.551e-05/0.2781, allocations: 71.16 kB / 400.9 MB, free: 21.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.2802, allocations: 0.8319 MB / 401.8 MB, free: 20.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.2802, allocations: 7.938 kB / 401.8 MB, free: 20.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.2802, allocations: 4 kB / 401.8 MB, free: 20.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001845/0.2821, allocations: 1.078 MB / 402.9 MB, free: 19.63 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002776/0.2849, allocations: 1.557 MB / 404.4 MB, free: 18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2849, allocations: 0 / 404.4 MB, free: 18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000688/0.2856, allocations: 131.8 kB / 404.6 MB, free: 17.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007325/0.2863, allocations: 181.6 kB / 404.7 MB, free: 17.69 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.2864, allocations: 15.98 kB / 404.7 MB, free: 17.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003945/0.2903, allocations: 3.549 MB / 408.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2903, allocations: 0 / 408.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.2929, allocations: 1.128 MB / 409.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003144/0.2932, allocations: 208 kB / 409.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.973e-05/0.2933, allocations: 12 kB / 409.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/0.2938, allocations: 43.97 kB / 409.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.2939, allocations: 44.44 kB / 409.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.2939, allocations: 15.98 kB / 409.7 MB, free: 12.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003567/0.2943, allocations: 382.8 kB / 410.1 MB, free: 12 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2943, allocations: 0 / 410.1 MB, free: 12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006629/0.295, allocations: 215.8 kB / 410.3 MB, free: 11.79 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001326/0.2951, allocations: 119 kB / 410.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.2971, allocations: 1.078 MB / 411.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2971, allocations: 4 kB / 411.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008067/0.2979, allocations: 0.5435 MB / 412.1 MB, free: 9.957 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008007/0.2987, allocations: 171.5 kB / 412.2 MB, free: 9.793 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.3005, allocations: 1.578 MB / 413.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.3008, allocations: 0.884 MB / 414.7 MB, free: 7.281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.301, allocations: 59.42 kB / 414.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.301, allocations: 0 / 414.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of Templates: time 0.01541/0.3164, allocations: 15.3 MB / 430.1 MB, free: 7.926 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches