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.001282/0.001282, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.00125/0.001251, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.328/1.328, allocations: 222.9 MB / 241.7 MB, free: 15.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009441/0.0009442, allocations: 51.17 kB / 300.6 MB, free: 6.277 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0875/0.08845, allocations: 49.45 MB / 350.1 MB, free: 4.828 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005152/0.09364, allocations: 4.383 MB / 354.4 MB, free: 428 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.0957, allocations: 1.203 MB / 355.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.09595, allocations: 11.94 kB / 355.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.09629, allocations: 111.3 kB / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004529/0.09678, allocations: 226.2 kB / 356 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.09715, allocations: 179.8 kB / 356.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007857/0.09795, allocations: 0.8974 MB / 357.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/0.09826, allocations: 217.1 kB / 357.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.09862, allocations: 334.7 kB / 357.6 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003547/0.09899, allocations: 390.3 kB / 358 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.403e-05/0.09909, allocations: 52 kB / 358 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.09922, allocations: 56 kB / 358.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.09935, allocations: 151.4 kB / 358.2 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003363/0.09969, allocations: 394.1 kB / 358.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005423/0.1002, allocations: 0.678 MB / 359.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1003, allocations: 7.938 kB / 359.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1003, allocations: 0 / 359.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.1003, allocations: 3.938 kB / 359.3 MB, free: 11.52 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.001989/0.1023, allocations: 1.117 MB / 360.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.1023, allocations: 12.03 kB / 360.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.1025, allocations: 84 kB / 360.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006564/0.1031, allocations: 480.6 kB / 361 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.1033, allocations: 101 kB / 361.1 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.966e-05/0.1034, allocations: 44.38 kB / 361.1 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.1045, allocations: 0.6555 MB / 361.8 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.1045, allocations: 0 / 361.8 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.451e-05/0.1046, allocations: 20 kB / 361.8 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.1046, allocations: 12 kB / 361.8 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.1057, allocations: 447.6 kB / 362.2 MB, free: 8.387 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.00294/0.1086, allocations: 1.967 MB / 364.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.1105, allocations: 0.683 MB / 364.9 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005477/0.1111, allocations: 262 kB / 365.2 MB, free: 5.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.762e-05/0.1111, allocations: 12.38 kB / 365.2 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1112, allocations: 43 kB / 365.2 MB, free: 5.258 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.164e-06/0.1112, allocations: 4 kB / 365.2 MB, free: 5.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.005047/0.1162, allocations: 1.48 MB / 366.7 MB, free: 3.703 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002186/0.1165, allocations: 0.5682 MB / 367.3 MB, free: 3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006151/0.1171, allocations: 0.5381 MB / 367.8 MB, free: 2.453 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.1172, allocations: 41.7 kB / 367.8 MB, free: 2.406 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.1174, allocations: 284.5 kB / 368.1 MB, free: 2.121 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.1175, allocations: 185.3 kB / 368.3 MB, free: 1.938 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.1177, allocations: 114.1 kB / 368.4 MB, free: 1.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1179, allocations: 374.7 kB / 368.8 MB, free: 1.445 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004983/0.1184, allocations: 197 kB / 369 MB, free: 1.254 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006945/0.1191, allocations: 404.4 kB / 369.4 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.1201, allocations: 496.5 kB / 369.8 MB, free: 280 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1202, allocations: 4 kB / 369.9 MB, free: 276 kB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.1785/0.2987, allocations: 0.7991 MB / 370.7 MB, free: 25.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.587e-05/0.2988, allocations: 32.77 kB / 370.7 MB, free: 25.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2988, allocations: 1.938 kB / 370.7 MB, free: 25.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.2999, allocations: 221.2 kB / 370.9 MB, free: 25.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007665/0.3006, allocations: 133.6 kB / 371 MB, free: 25.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006659/0.3073, allocations: 5.142 MB / 376.2 MB, free: 21.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007173/0.308, allocations: 86.34 kB / 376.3 MB, free: 21.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.3081, allocations: 18.55 kB / 376.3 MB, free: 21.54 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.0002573/0.3084, allocations: 190 kB / 376.5 MB, free: 21.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.3085, allocations: 75.66 kB / 376.5 MB, free: 21.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.3108, allocations: 0.7736 MB / 377.3 MB, free: 21.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3108, allocations: 6.625 kB / 377.3 MB, free: 21.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3108, allocations: 7.109 kB / 377.3 MB, free: 21.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002029/0.3128, allocations: 1.042 MB / 378.4 MB, free: 20.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003051/0.3159, allocations: 1.499 MB / 379.9 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.3159, allocations: 4 kB / 379.9 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007841/0.3167, allocations: 126.9 kB / 380 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008821/0.3176, allocations: 172.2 kB / 380.2 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/0.3177, allocations: 13.97 kB / 380.2 MB, free: 19.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004357/0.322, allocations: 3.488 MB / 383.7 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3221, allocations: 5.359 kB / 383.7 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002826/0.3249, allocations: 1.061 MB / 384.7 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.3252, allocations: 203.3 kB / 384.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-05/0.3253, allocations: 18.14 kB / 384.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005158/0.3258, allocations: 39.22 kB / 385 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.326, allocations: 48.78 kB / 385 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.326, allocations: 15.95 kB / 385 MB, free: 15.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004959/0.3265, allocations: 390.3 kB / 385.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3266, allocations: 0 / 385.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008171/0.3274, allocations: 220.6 kB / 385.6 MB, free: 15.61 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.0001366/0.3275, allocations: 116.7 kB / 385.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002262/0.3298, allocations: 1.025 MB / 386.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.3298, allocations: 2.219 kB / 386.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009688/0.3308, allocations: 0.5261 MB / 387.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009181/0.3317, allocations: 172.5 kB / 387.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.3341, allocations: 1.532 MB / 389 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.3345, allocations: 0.8861 MB / 389.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.3347, allocations: 61.47 kB / 390 MB, free: 12.84 MB / 302.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3347, allocations: 0 / 390 MB, free: 12.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01655/0.3513, allocations: 15.37 MB / 405.3 MB, free: 2.188 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/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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches