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.00106/0.00106, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001077, allocations: 197.2 kB / 18.73 MB, free: 4.32 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 / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 59.91 kB / 358.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.244, allocations: 50.55 MB / 409.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005188/0.2493, allocations: 4.371 MB / 413.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.2517, allocations: 1.25 MB / 414.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002916/0.252, allocations: 4 kB / 414.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.2524, allocations: 138.8 kB / 415 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004955/0.2529, allocations: 261.8 kB / 415.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.2534, allocations: 199.6 kB / 415.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008129/0.2542, allocations: 0.9258 MB / 416.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/0.2545, allocations: 256.3 kB / 416.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004127/0.2549, allocations: 370.7 kB / 417 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004393/0.2554, allocations: 410.3 kB / 417.4 MB, free: 9.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.2555, allocations: 76 kB / 417.5 MB, free: 9.363 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.2557, allocations: 84 kB / 417.6 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.2558, allocations: 167.4 kB / 417.7 MB, free: 9.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003197/0.2561, allocations: 422 kB / 418.1 MB, free: 8.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008104/0.2569, allocations: 0.9162 MB / 419 MB, free: 7.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.257, allocations: 0 / 419 MB, free: 7.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.257, allocations: 0 / 419 MB, free: 7.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.257, allocations: 0 / 419 MB, free: 7.785 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.001962/0.259, allocations: 1.105 MB / 420.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.259, allocations: 16.03 kB / 420.2 MB, free: 6.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002575/0.2593, allocations: 95.92 kB / 420.3 MB, free: 6.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/0.26, allocations: 488.5 kB / 420.7 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.2601, allocations: 92.97 kB / 420.8 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.595e-05/0.2602, allocations: 48.38 kB / 420.9 MB, free: 5.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.2613, allocations: 0.6565 MB / 421.5 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.2614, allocations: 4 kB / 421.5 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.453e-05/0.2614, allocations: 20 kB / 421.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.2614, allocations: 8 kB / 421.6 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.2624, allocations: 459.7 kB / 422 MB, free: 4.629 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.002904/0.2654, allocations: 1.936 MB / 423.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.2672, allocations: 0.6944 MB / 424.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/0.2678, allocations: 258 kB / 424.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.421e-05/0.2679, allocations: 12.44 kB / 424.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.2679, allocations: 46.94 kB / 424.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 1.754e-06/0.2679, allocations: 0 / 424.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=54): time 0.004912/0.2728, allocations: 1.484 MB / 426.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002334/0.2731, allocations: 0.5644 MB / 427 MB, free: 15.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000586/0.2737, allocations: 0.5381 MB / 427.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/0.2737, allocations: 41.7 kB / 427.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.2739, allocations: 288.8 kB / 427.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.2741, allocations: 185.3 kB / 428 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.2743, allocations: 106.2 kB / 428.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2744, allocations: 378.8 kB / 428.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000495/0.2749, allocations: 189 kB / 428.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006553/0.2756, allocations: 420.2 kB / 429.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.2766, allocations: 492.5 kB / 429.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2766, allocations: 0 / 429.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00222/0.2788, allocations: 0.8145 MB / 430.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.2789, allocations: 33.7 kB / 430.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2789, allocations: 0 / 430.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.2799, allocations: 222.4 kB / 430.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/0.2806, allocations: 127.8 kB / 430.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007177/0.2878, allocations: 5.607 MB / 436.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006619/0.2885, allocations: 75.55 kB / 436.5 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/0.2886, allocations: 20 kB / 436.5 MB, free: 5.188 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.0002921/0.2889, allocations: 197.7 kB / 436.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.289, allocations: 71.25 kB / 436.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.2913, allocations: 0.7734 MB / 437.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.2913, allocations: 4 kB / 437.5 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.2913, allocations: 0 / 437.5 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002127/0.2934, allocations: 1.05 MB / 438.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/0.2965, allocations: 1.494 MB / 440.1 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.2966, allocations: 3.938 kB / 440.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007498/0.2973, allocations: 131.8 kB / 440.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008558/0.2982, allocations: 169.6 kB / 440.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.2982, allocations: 12.19 kB / 440.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005207/0.3034, allocations: 3.814 MB / 444.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3035, allocations: 0 / 444.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002791/0.3063, allocations: 1.063 MB / 445.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.3066, allocations: 208.1 kB / 445.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.064e-05/0.3067, allocations: 12 kB / 445.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004896/0.3072, allocations: 36.2 kB / 445.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.3073, allocations: 52.47 kB / 445.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.3073, allocations: 19.94 kB / 445.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004595/0.3078, allocations: 382.8 kB / 445.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3078, allocations: 0 / 445.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000811/0.3086, allocations: 215.8 kB / 446.2 MB, free: 10.97 MB / 366.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.0001747/0.3088, allocations: 119.2 kB / 446.3 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002305/0.3111, allocations: 1.038 MB / 447.3 MB, free: 9.758 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.3111, allocations: 7.953 kB / 447.3 MB, free: 9.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009825/0.3121, allocations: 0.5357 MB / 447.9 MB, free: 9.191 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008188/0.3129, allocations: 186.6 kB / 448 MB, free: 9.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.315, allocations: 1.262 MB / 449.3 MB, free: 7.719 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.3154, allocations: 0.884 MB / 450.2 MB, free: 6.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002929/0.3157, allocations: 85.11 kB / 450.3 MB, free: 6.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.3158, allocations: 51.44 kB / 450.3 MB, free: 6.672 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3158, allocations: 0 / 450.3 MB, free: 6.672 MB / 366.1 MB Notification: Performance of Templates: time 0.02135/0.3372, allocations: 14.21 MB / 464.5 MB, free: 8.664 MB / 382.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/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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches