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.00126/0.00126, allocations: 111.7 kB / 17.06 MB, free: 5.973 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.001149/0.001149, allocations: 198.8 kB / 18.01 MB, free: 5.055 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.293/1.293, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009337/0.0009337, allocations: 47.94 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2287, allocations: 49.43 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005111/0.2338, allocations: 4.366 MB / 405.1 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.2356, allocations: 1.219 MB / 406.3 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.2359, allocations: 11.88 kB / 406.3 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.2362, allocations: 138.8 kB / 406.4 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004801/0.2367, allocations: 269.8 kB / 406.7 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.2371, allocations: 195.7 kB / 406.9 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007752/0.2378, allocations: 0.9219 MB / 407.8 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003118/0.2382, allocations: 237.8 kB / 408.1 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003858/0.2386, allocations: 378.7 kB / 408.4 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004056/0.239, allocations: 406.3 kB / 408.8 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.998e-05/0.2391, allocations: 76 kB / 408.9 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.2392, allocations: 80 kB / 409 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.2393, allocations: 167.4 kB / 409.1 MB, free: 408 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003398/0.2397, allocations: 418.1 kB / 409.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007412/0.2404, allocations: 0.9185 MB / 410.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2405, allocations: 3.938 kB / 410.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2405, allocations: 0 / 410.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.2405, allocations: 0 / 410.5 MB, free: 15.07 MB / 334.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.001793/0.2423, allocations: 1.113 MB / 411.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.2423, allocations: 12.03 kB / 411.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.2425, allocations: 84 kB / 411.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006537/0.2431, allocations: 488.6 kB / 412.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.2433, allocations: 104.9 kB / 412.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.71e-05/0.2434, allocations: 44.38 kB / 412.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.2444, allocations: 0.6477 MB / 412.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.2444, allocations: 7.969 kB / 413 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/0.2445, allocations: 24 kB / 413 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.2445, allocations: 12 kB / 413 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009657/0.2454, allocations: 439.7 kB / 413.4 MB, free: 11.93 MB / 334.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.002945/0.2484, allocations: 1.951 MB / 415.4 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.2502, allocations: 0.6833 MB / 416.1 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005185/0.2508, allocations: 268.5 kB / 416.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.383e-05/0.2508, allocations: 12.41 kB / 416.3 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.2509, allocations: 50.98 kB / 416.4 MB, free: 8.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 1.983e-06/0.2509, allocations: 0 / 416.4 MB, free: 8.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=54): time 0.004651/0.2555, allocations: 1.472 MB / 417.9 MB, free: 7.254 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000222/0.2558, allocations: 0.5683 MB / 418.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006148/0.2564, allocations: 0.542 MB / 419 MB, free: 5.996 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.897e-05/0.2565, allocations: 37.7 kB / 419 MB, free: 5.953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.2567, allocations: 292.9 kB / 419.3 MB, free: 5.656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.2569, allocations: 189.2 kB / 419.5 MB, free: 5.469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.2571, allocations: 114.1 kB / 419.6 MB, free: 5.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.2573, allocations: 370.8 kB / 419.9 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004851/0.2578, allocations: 193 kB / 420.1 MB, free: 4.789 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006454/0.2585, allocations: 425.8 kB / 420.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000957/0.2594, allocations: 488.5 kB / 421 MB, free: 3.805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2594, allocations: 0 / 421 MB, free: 3.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002131/0.2616, allocations: 0.8068 MB / 421.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.2616, allocations: 29.7 kB / 421.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2616, allocations: 0 / 421.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009419/0.2626, allocations: 222.4 kB / 422.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006821/0.2633, allocations: 127.8 kB / 422.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00679/0.2701, allocations: 5.603 MB / 427.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005804/0.2707, allocations: 75.55 kB / 427.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.2707, allocations: 27.92 kB / 427.9 MB, free: 12.47 MB / 350.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.0002592/0.271, allocations: 197.7 kB / 428.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.2711, allocations: 67.25 kB / 428.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/0.2732, allocations: 0.7734 MB / 428.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.2732, allocations: 8 kB / 428.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.2732, allocations: 0 / 428.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002014/0.2752, allocations: 1.042 MB / 430 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/0.2781, allocations: 1.498 MB / 431.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.2781, allocations: 3.938 kB / 431.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007138/0.2788, allocations: 131.8 kB / 431.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007861/0.2796, allocations: 181.5 kB / 431.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.2797, allocations: 12.11 kB / 431.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004643/0.2843, allocations: 3.787 MB / 435.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.2843, allocations: 0 / 435.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002502/0.2868, allocations: 1.075 MB / 436.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.2871, allocations: 212.1 kB / 436.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-05/0.2872, allocations: 16 kB / 436.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/0.2876, allocations: 31.97 kB / 436.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.2878, allocations: 44.5 kB / 437 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.2878, allocations: 19.92 kB / 437 MB, free: 2.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000398/0.2882, allocations: 387 kB / 437.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2882, allocations: 0 / 437.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006418/0.2889, allocations: 215.8 kB / 437.6 MB, free: 2.262 MB / 350.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.0001393/0.289, allocations: 123.9 kB / 437.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002068/0.2911, allocations: 1.03 MB / 438.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2911, allocations: 4.188 kB / 438.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009201/0.292, allocations: 0.5432 MB / 439.3 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007723/0.2928, allocations: 186.2 kB / 439.5 MB, free: 300 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.2948, allocations: 1.259 MB / 440.7 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.2952, allocations: 0.8879 MB / 441.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000267/0.2955, allocations: 85.12 kB / 441.7 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.2957, allocations: 55.42 kB / 441.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2957, allocations: 0 / 441.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of Templates: time 0.02068/0.3163, allocations: 14.2 MB / 455.9 MB, free: 15.96 MB / 382.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