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.001513/0.001513, allocations: 114.3 kB / 17.75 MB, free: 5.309 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.001779/0.001779, allocations: 189.3 kB / 18.67 MB, free: 4.395 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.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009396/0.0009396, allocations: 43.94 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2097, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004851/0.2146, allocations: 4.375 MB / 405.8 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.2166, allocations: 1.219 MB / 407 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.2169, allocations: 7.938 kB / 407 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.2173, allocations: 134.8 kB / 407.1 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005684/0.2179, allocations: 269.8 kB / 407.4 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.2183, allocations: 195.7 kB / 407.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008009/0.2191, allocations: 0.9291 MB / 408.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003114/0.2194, allocations: 241.8 kB / 408.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003636/0.2198, allocations: 378.7 kB / 409.1 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000403/0.2202, allocations: 398.3 kB / 409.5 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.2203, allocations: 76 kB / 409.6 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.2205, allocations: 80 kB / 409.7 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.2206, allocations: 171.4 kB / 409.8 MB, free: 416 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003254/0.2209, allocations: 414.1 kB / 410.2 MB, free: 0 / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007598/0.2217, allocations: 0.9224 MB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2217, allocations: 0 / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2217, allocations: 0 / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.2218, allocations: 0 / 411.2 MB, free: 15.08 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.001851/0.2236, allocations: 1.117 MB / 412.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.2236, allocations: 8.031 kB / 412.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.2238, allocations: 88 kB / 412.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006474/0.2244, allocations: 484.6 kB / 412.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.2246, allocations: 96.91 kB / 412.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.81e-05/0.2247, allocations: 52.38 kB / 413 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.2258, allocations: 0.6516 MB / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.2258, allocations: 4 kB / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.531e-05/0.2259, allocations: 24 kB / 413.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.2259, allocations: 8 kB / 413.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.227, allocations: 451.6 kB / 414.1 MB, free: 11.93 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.002801/0.2298, allocations: 1.944 MB / 416.1 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.2316, allocations: 0.6871 MB / 416.7 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005522/0.2322, allocations: 270 kB / 417 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.211e-05/0.2323, allocations: 12.41 kB / 417 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.2323, allocations: 43 kB / 417.1 MB, free: 8.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.054e-06/0.2323, allocations: 0 / 417.1 MB, free: 8.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=54): time 0.004903/0.2372, allocations: 1.48 MB / 418.5 MB, free: 7.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001939/0.2374, allocations: 0.5643 MB / 419.1 MB, free: 6.559 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005536/0.238, allocations: 0.5381 MB / 419.6 MB, free: 6.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/0.238, allocations: 41.7 kB / 419.7 MB, free: 5.961 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.2382, allocations: 280.9 kB / 420 MB, free: 5.676 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.2384, allocations: 193.2 kB / 420.2 MB, free: 5.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.2386, allocations: 110.2 kB / 420.3 MB, free: 5.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2387, allocations: 370.8 kB / 420.6 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/0.2392, allocations: 193 kB / 420.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006643/0.2399, allocations: 420.3 kB / 421.2 MB, free: 4.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.2409, allocations: 488.5 kB / 421.7 MB, free: 3.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2409, allocations: 0 / 421.7 MB, free: 3.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002236/0.2432, allocations: 0.8107 MB / 422.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.2432, allocations: 33.7 kB / 422.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2432, allocations: 0 / 422.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009771/0.2442, allocations: 226.3 kB / 422.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007222/0.2449, allocations: 127.8 kB / 422.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007149/0.2521, allocations: 5.611 MB / 428.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006036/0.2527, allocations: 75.55 kB / 428.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.2528, allocations: 20 kB / 428.6 MB, free: 12.48 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.0002442/0.253, allocations: 199 kB / 428.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.2531, allocations: 71.23 kB / 428.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.2554, allocations: 0.7696 MB / 429.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002166/0.2576, allocations: 1.043 MB / 430.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.2576, allocations: 0 / 430.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/0.2579, allocations: 212 kB / 430.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-05/0.258, allocations: 12 kB / 430.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000511/0.2585, allocations: 31.97 kB / 430.9 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.2586, allocations: 48.48 kB / 431 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002497/0.2611, allocations: 0.789 MB / 431.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001792/0.2629, allocations: 0.9663 MB / 432.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005122/0.2634, allocations: 220.4 kB / 432.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003964/0.2638, allocations: 386.8 kB / 433.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of Backend: time 7.11e-07/0.2638, allocations: 4 kB / 433.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.266, allocations: 0.9498 MB / 434.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of SimCode: time 0.002091/0.2681, allocations: 1.837 MB / 436.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of Templates: time 0.01916/0.2872, allocations: 13.42 MB / 449.5 MB, free: 7.43 MB / 366.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