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.001303/0.001303, allocations: 118.3 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.00119/0.00119, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2162, allocations: 50.55 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005147/0.2213, allocations: 4.376 MB / 414.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.2235, allocations: 1.238 MB / 415.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003806/0.2239, allocations: 11.94 kB / 415.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.2243, allocations: 138.8 kB / 415.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005129/0.2248, allocations: 265.8 kB / 416 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.2252, allocations: 199.6 kB / 416.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000786/0.226, allocations: 0.9332 MB / 417.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000338/0.2264, allocations: 260.2 kB / 417.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.2268, allocations: 370.7 kB / 417.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004082/0.2272, allocations: 402.3 kB / 418.1 MB, free: 9.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.2273, allocations: 76 kB / 418.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.2275, allocations: 84 kB / 418.2 MB, free: 9.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.2276, allocations: 171.3 kB / 418.4 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003403/0.228, allocations: 414.1 kB / 418.8 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007664/0.2288, allocations: 0.92 MB / 419.7 MB, free: 7.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2288, allocations: 3.938 kB / 419.7 MB, free: 7.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.2288, allocations: 4 kB / 419.7 MB, free: 7.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.2288, allocations: 4 kB / 419.8 MB, free: 7.703 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.001863/0.2307, allocations: 1.101 MB / 420.9 MB, free: 6.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.2307, allocations: 8.031 kB / 420.9 MB, free: 6.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.231, allocations: 91.98 kB / 420.9 MB, free: 6.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006889/0.2317, allocations: 496.5 kB / 421.4 MB, free: 5.914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.2318, allocations: 96.95 kB / 421.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.117e-05/0.2319, allocations: 48.31 kB / 421.6 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.233, allocations: 0.6512 MB / 422.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.2331, allocations: 0 / 422.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/0.2331, allocations: 24 kB / 422.3 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.2332, allocations: 12 kB / 422.3 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.2342, allocations: 451.6 kB / 422.7 MB, free: 4.562 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.002961/0.2372, allocations: 1.948 MB / 424.7 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.2391, allocations: 0.6859 MB / 425.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005726/0.2397, allocations: 269.8 kB / 425.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.286e-05/0.2398, allocations: 12.36 kB / 425.6 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.2398, allocations: 54.92 kB / 425.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 1.924e-06/0.2398, allocations: 0 / 425.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=54): time 0.005047/0.2449, allocations: 1.468 MB / 427.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000201/0.2451, allocations: 0.5683 MB / 427.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000572/0.2457, allocations: 0.542 MB / 428.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/0.2457, allocations: 41.7 kB / 428.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.2459, allocations: 284.7 kB / 428.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.2461, allocations: 189.3 kB / 428.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.2463, allocations: 110.2 kB / 428.9 MB, free: 14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2464, allocations: 366.8 kB / 429.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005298/0.2469, allocations: 201 kB / 429.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006701/0.2476, allocations: 408.4 kB / 429.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.2487, allocations: 496.5 kB / 430.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2487, allocations: 4 kB / 430.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002306/0.251, allocations: 0.8066 MB / 431.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/0.2511, allocations: 37.69 kB / 431.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2511, allocations: 0 / 431.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.2521, allocations: 226.4 kB / 431.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007513/0.2529, allocations: 127.8 kB / 431.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007443/0.2603, allocations: 5.6 MB / 437.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006484/0.261, allocations: 71.55 kB / 437.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.261, allocations: 23.98 kB / 437.2 MB, free: 5.109 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.0002674/0.2613, allocations: 197.7 kB / 437.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.2614, allocations: 71.25 kB / 437.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.2638, allocations: 0.7734 MB / 438.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002216/0.266, allocations: 1.035 MB / 439.3 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.266, allocations: 0 / 439.3 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/0.2663, allocations: 212 kB / 439.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.2664, allocations: 12 kB / 439.5 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/0.2669, allocations: 43.91 kB / 439.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.2671, allocations: 48.42 kB / 439.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002567/0.2696, allocations: 0.7931 MB / 440.4 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001901/0.2716, allocations: 0.9701 MB / 441.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005216/0.2721, allocations: 224.3 kB / 441.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004517/0.2725, allocations: 386.8 kB / 441.9 MB, free: 192 kB / 350.1 MB Notification: Performance of Backend: time 3.81e-07/0.2726, allocations: 4 kB / 441.9 MB, free: 188 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002265/0.2748, allocations: 0.9403 MB / 442.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of SimCode: time 0.002195/0.277, allocations: 1.845 MB / 444.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of Templates: time 0.02058/0.2976, allocations: 13.47 MB / 458.2 MB, free: 15.99 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/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