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.0008703/0.0008703, allocations: 97.41 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 206.3 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002391/0.0002391, allocations: 8 kB / 308.4 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09792/0.09818, allocations: 51.52 MB / 359.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004433/0.1026, allocations: 4.01 MB / 363.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.1052, allocations: 1.172 MB / 365.1 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005103/0.1058, allocations: 11.94 kB / 365.1 MB, free: 8.055 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004911/0.1063, allocations: 107.3 kB / 365.2 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009887/0.1073, allocations: 230.2 kB / 365.4 MB, free: 7.723 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005774/0.1079, allocations: 171.8 kB / 365.6 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.1091, allocations: 0.8945 MB / 366.5 MB, free: 6.656 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004019/0.1095, allocations: 217.1 kB / 366.7 MB, free: 6.434 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006323/0.1102, allocations: 330.7 kB / 367 MB, free: 6.109 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006567/0.1109, allocations: 370.3 kB / 367.4 MB, free: 5.746 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.1111, allocations: 51.98 kB / 367.4 MB, free: 5.695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.1113, allocations: 56 kB / 367.5 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.1115, allocations: 143.4 kB / 367.6 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005533/0.112, allocations: 411.8 kB / 368 MB, free: 5.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006933/0.1127, allocations: 0.6622 MB / 368.7 MB, free: 4.426 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1128, allocations: 7.938 kB / 368.7 MB, free: 4.418 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1128, allocations: 0 / 368.7 MB, free: 4.418 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.673e-05/0.1128, allocations: 0 / 368.7 MB, free: 4.418 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.002179/0.115, allocations: 0.9887 MB / 369.7 MB, free: 3.367 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1151, allocations: 12.02 kB / 369.7 MB, free: 3.355 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003712/0.1154, allocations: 88 kB / 369.8 MB, free: 3.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008379/0.1163, allocations: 484.5 kB / 370.3 MB, free: 2.758 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/0.1165, allocations: 101 kB / 370.4 MB, free: 2.648 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.1166, allocations: 48.38 kB / 370.4 MB, free: 2.602 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.1179, allocations: 0.6633 MB / 371.1 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.1179, allocations: 4 kB / 371.1 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.374e-05/0.118, allocations: 20 kB / 371.1 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.118, allocations: 12 kB / 371.1 MB, free: 1.828 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.1192, allocations: 487.6 kB / 371.6 MB, free: 1.352 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.1909/0.3101, allocations: 1.962 MB / 373.6 MB, free: 18.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/0.3123, allocations: 0.7149 MB / 374.3 MB, free: 18.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006756/0.313, allocations: 282.7 kB / 374.5 MB, free: 18.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.311e-05/0.313, allocations: 13.62 kB / 374.6 MB, free: 18.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3131, allocations: 50.05 kB / 374.6 MB, free: 18.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.454e-06/0.3131, allocations: 0 / 374.6 MB, free: 18.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.0057/0.3188, allocations: 1.6 MB / 376.2 MB, free: 17.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.3189, allocations: 0.5677 MB / 376.8 MB, free: 17.22 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008108/0.3198, allocations: 0.5402 MB / 377.3 MB, free: 17.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.405e-05/0.3198, allocations: 38.8 kB / 377.3 MB, free: 17.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.3201, allocations: 284.6 kB / 377.6 MB, free: 16.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.3202, allocations: 183.7 kB / 377.8 MB, free: 16.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.097e-05/0.3203, allocations: 47.12 kB / 377.9 MB, free: 16.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3204, allocations: 376.6 kB / 378.2 MB, free: 16.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/0.321, allocations: 204.4 kB / 378.4 MB, free: 16.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007031/0.3217, allocations: 432.4 kB / 378.8 MB, free: 16.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.3228, allocations: 0.5089 MB / 379.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3228, allocations: 1.938 kB / 379.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002533/0.3254, allocations: 0.864 MB / 380.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.436e-05/0.3254, allocations: 32.97 kB / 380.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3255, allocations: 2.406 kB / 380.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.3265, allocations: 232.1 kB / 380.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007605/0.3273, allocations: 134.6 kB / 380.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006678/0.334, allocations: 5.232 MB / 385.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/0.3348, allocations: 99.84 kB / 385.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.93e-05/0.3349, allocations: 21.92 kB / 386 MB, free: 10.8 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.0003434/0.3353, allocations: 196 kB / 386.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.3355, allocations: 70.88 kB / 386.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/0.338, allocations: 0.8193 MB / 387 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.338, allocations: 12.56 kB / 387.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.338, allocations: 1.953 kB / 387.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002261/0.3403, allocations: 1.089 MB / 388.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003741/0.344, allocations: 1.55 MB / 389.7 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3441, allocations: 0 / 389.7 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008214/0.3449, allocations: 135.8 kB / 389.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008934/0.3458, allocations: 184.9 kB / 390 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.296e-05/0.3459, allocations: 13.36 kB / 390 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004975/0.3509, allocations: 3.552 MB / 393.6 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3509, allocations: 0.6406 kB / 393.6 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/0.354, allocations: 1.134 MB / 394.7 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004563/0.3544, allocations: 202.2 kB / 394.9 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.3546, allocations: 14.16 kB / 394.9 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006357/0.3553, allocations: 43.78 kB / 395 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.3554, allocations: 50.88 kB / 395 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.3555, allocations: 17.14 kB / 395 MB, free: 4.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005236/0.356, allocations: 385.4 kB / 395.4 MB, free: 4.805 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.356, allocations: 0 / 395.4 MB, free: 4.805 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009318/0.357, allocations: 218.3 kB / 395.6 MB, free: 4.773 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.0001532/0.3571, allocations: 115.4 kB / 395.7 MB, free: 4.672 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002502/0.3596, allocations: 1.064 MB / 396.8 MB, free: 4.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.3597, allocations: 1.375 kB / 396.8 MB, free: 4.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.3607, allocations: 0.5541 MB / 397.3 MB, free: 3.703 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.3618, allocations: 180.1 kB / 397.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.3642, allocations: 1.626 MB / 399.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.3645, allocations: 0.8896 MB / 400 MB, free: 1.668 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.3648, allocations: 54.3 kB / 400.1 MB, free: 1.656 MB / 302.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3648, allocations: 0 / 400.1 MB, free: 1.656 MB / 302.1 MB Notification: Performance of Templates: time 0.0212/0.386, allocations: 15.31 MB / 415.4 MB, free: 4.406 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 -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