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.001532/0.001532, allocations: 114.1 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001904/0.001904, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001223, allocations: 67.88 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2099, allocations: 50.54 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004937/0.2148, allocations: 4.376 MB / 414.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.2169, allocations: 1.242 MB / 415.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003193/0.2173, allocations: 7.938 kB / 415.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.2177, allocations: 138.8 kB / 415.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005826/0.2183, allocations: 257.8 kB / 415.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.2187, allocations: 199.6 kB / 416.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007993/0.2195, allocations: 0.9333 MB / 417.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/0.2198, allocations: 260.3 kB / 417.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003912/0.2202, allocations: 370.7 kB / 417.7 MB, free: 9.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.2207, allocations: 402.3 kB / 418.1 MB, free: 9.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.2208, allocations: 76 kB / 418.2 MB, free: 9.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.2209, allocations: 80 kB / 418.2 MB, free: 9.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.2211, allocations: 175.3 kB / 418.4 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003394/0.2214, allocations: 414.1 kB / 418.8 MB, free: 8.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007775/0.2222, allocations: 0.92 MB / 419.7 MB, free: 7.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2222, allocations: 0 / 419.7 MB, free: 7.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2222, allocations: 0 / 419.7 MB, free: 7.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.657e-06/0.2222, allocations: 0 / 419.7 MB, free: 7.75 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.001848/0.2241, allocations: 1.109 MB / 420.8 MB, free: 6.578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.2241, allocations: 8.031 kB / 420.8 MB, free: 6.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.2244, allocations: 95.94 kB / 420.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006493/0.225, allocations: 488.5 kB / 421.4 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.2252, allocations: 104.9 kB / 421.5 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.559e-05/0.2253, allocations: 48.38 kB / 421.6 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.2263, allocations: 0.6516 MB / 422.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.2264, allocations: 0 / 422.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/0.2264, allocations: 20 kB / 422.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.2264, allocations: 12 kB / 422.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.2275, allocations: 451.6 kB / 422.7 MB, free: 4.598 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.002856/0.2303, allocations: 1.944 MB / 424.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.2323, allocations: 0.6898 MB / 425.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005584/0.2328, allocations: 269.7 kB / 425.6 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.349e-05/0.2329, allocations: 12.42 kB / 425.6 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.2329, allocations: 46.94 kB / 425.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 1.793e-06/0.2329, allocations: 0 / 425.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=54): time 0.005112/0.2381, allocations: 1.476 MB / 427.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002108/0.2383, allocations: 0.5683 MB / 427.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005737/0.2389, allocations: 0.5381 MB / 428.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.65e-05/0.2389, allocations: 37.7 kB / 428.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.2391, allocations: 300.7 kB / 428.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.2393, allocations: 181.3 kB / 428.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.2395, allocations: 106.2 kB / 428.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.2396, allocations: 370.8 kB / 429.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005129/0.2401, allocations: 197 kB / 429.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000671/0.2408, allocations: 413.5 kB / 429.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.2419, allocations: 496.5 kB / 430.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2419, allocations: 0 / 430.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002351/0.2442, allocations: 0.8183 MB / 431.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.2443, allocations: 29.7 kB / 431.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2443, allocations: 4 kB / 431.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.2453, allocations: 218.4 kB / 431.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007447/0.2461, allocations: 127.8 kB / 431.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007485/0.2536, allocations: 5.608 MB / 437.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005697/0.2542, allocations: 79.55 kB / 437.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.2542, allocations: 19.98 kB / 437.2 MB, free: 5.137 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.000235/0.2545, allocations: 193.7 kB / 437.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.2546, allocations: 67.25 kB / 437.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.2569, allocations: 0.7812 MB / 438.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002212/0.2591, allocations: 1.035 MB / 439.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2592, allocations: 0 / 439.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/0.2594, allocations: 208 kB / 439.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.494e-05/0.2595, allocations: 19.94 kB / 439.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004985/0.26, allocations: 31.97 kB / 439.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.2601, allocations: 48.42 kB / 439.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002477/0.2626, allocations: 0.7893 MB / 440.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001752/0.2644, allocations: 0.9662 MB / 441.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004976/0.2649, allocations: 228.3 kB / 441.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004049/0.2653, allocations: 386.8 kB / 441.9 MB, free: 232 kB / 350.1 MB Notification: Performance of Backend: time 3.61e-07/0.2653, allocations: 0 / 441.9 MB, free: 232 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002139/0.2675, allocations: 0.9459 MB / 442.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of SimCode: time 0.002101/0.2696, allocations: 1.852 MB / 444.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of Templates: time 0.02038/0.29, allocations: 13.48 MB / 458.2 MB, free: 20 kB / 366.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