Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008946/0.0008948, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.233/1.233, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008369/0.000837, allocations: 85.02 kB / 267 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3112/0.3112, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.728e-05/2.73e-05, allocations: 4 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1022, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.081/6.183, allocations: 2.824 GB / 3.297 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/6.183, allocations: 87.36 kB / 3.297 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.888/8.071, allocations: 466.1 MB / 3.752 GB, free: 49.97 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.874e-06/8.071, allocations: 0 / 3.752 GB, free: 49.97 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.926e-05/8.071, allocations: 23.69 kB / 3.752 GB, free: 49.97 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008943/8.08, allocations: 2.143 MB / 3.754 GB, free: 49.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/8.08, allocations: 13.89 kB / 3.754 GB, free: 49.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002577/8.083, allocations: 377.2 kB / 3.755 GB, free: 49.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/8.085, allocations: 0.8762 MB / 3.756 GB, free: 48.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-05/8.085, allocations: 72.88 kB / 3.756 GB, free: 48.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/8.085, allocations: 76.06 kB / 3.756 GB, free: 48.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/8.088, allocations: 1.46 MB / 3.757 GB, free: 48.56 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/8.088, allocations: 10.31 kB / 3.757 GB, free: 48.56 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.353e-05/8.088, allocations: 33.8 kB / 3.757 GB, free: 48.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.83e-05/8.089, allocations: 55.28 kB / 3.757 GB, free: 48.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002493/8.091, allocations: 1.247 MB / 3.759 GB, free: 48.54 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.006912/8.098, allocations: 6.566 MB / 3.765 GB, free: 44.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/8.1, allocations: 0.9337 MB / 3.766 GB, free: 44.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004721/8.1, allocations: 391.4 kB / 3.766 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05638/8.157, allocations: 32.1 MB / 3.798 GB, free: 40.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.961e-05/8.157, allocations: 44.16 kB / 3.798 GB, free: 40.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=57): time 5.059e-06/8.157, allocations: 0 / 3.798 GB, free: 40.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61): time 0.006434/8.163, allocations: 2.808 MB / 3.8 GB, free: 40.19 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.349e-05/8.163, allocations: 195.7 kB / 3.801 GB, free: 39.97 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008326/8.164, allocations: 0.6328 MB / 3.801 GB, free: 39.84 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.855e-05/8.164, allocations: 38.27 kB / 3.801 GB, free: 39.81 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/8.165, allocations: 420.9 kB / 3.802 GB, free: 39.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/8.165, allocations: 211.2 kB / 3.802 GB, free: 39.49 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/8.165, allocations: 15.28 kB / 3.802 GB, free: 39.49 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001636/8.165, allocations: 390.8 kB / 3.802 GB, free: 39.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/8.165, allocations: 345.9 kB / 3.803 GB, free: 39.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005371/8.166, allocations: 0.5505 MB / 3.803 GB, free: 38.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/8.167, allocations: 417.8 kB / 3.804 GB, free: 38.92 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/8.167, allocations: 3.125 kB / 3.804 GB, free: 38.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001631/8.168, allocations: 1.201 MB / 3.805 GB, free: 38.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008401/8.169, allocations: 2.265 MB / 3.807 GB, free: 36.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/8.169, allocations: 11.81 kB / 3.807 GB, free: 36.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002743/8.172, allocations: 0.6539 MB / 3.808 GB, free: 36.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/8.172, allocations: 159.3 kB / 3.808 GB, free: 36.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/8.174, allocations: 1.265 MB / 3.809 GB, free: 35.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009142/8.175, allocations: 101.1 kB / 3.809 GB, free: 35.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.259e-05/8.175, allocations: 41.12 kB / 3.809 GB, free: 35.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/8.175, allocations: 3.938 kB / 3.809 GB, free: 35.88 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001674/8.176, allocations: 1.073 MB / 3.81 GB, free: 35.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/8.176, allocations: 3.75 kB / 3.81 GB, free: 35.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/8.178, allocations: 400 kB / 3.811 GB, free: 35.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/8.178, allocations: 173.1 kB / 3.811 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009134/8.179, allocations: 1.064 MB / 3.812 GB, free: 35.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008663/8.18, allocations: 102.1 kB / 3.812 GB, free: 35.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-05/8.18, allocations: 37.91 kB / 3.812 GB, free: 35.28 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 (valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase,sink.state.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.0002483/8.18, allocations: 159.1 kB / 3.812 GB, free: 35.17 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/8.181, allocations: 85.34 kB / 3.812 GB, free: 35.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003438/8.184, allocations: 3.23 MB / 3.815 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.209e-05/8.184, allocations: 35.11 kB / 3.815 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/8.184, allocations: 7.891 kB / 3.815 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002514/8.187, allocations: 2.699 MB / 3.818 GB, free: 34.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005028/8.192, allocations: 4.48 MB / 3.822 GB, free: 33.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/8.192, allocations: 3.953 kB / 3.822 GB, free: 33.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006358/8.192, allocations: 175.4 kB / 3.822 GB, free: 33.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003163/8.193, allocations: 89.72 kB / 3.823 GB, free: 33.74 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/8.193, allocations: 19.41 kB / 3.823 GB, free: 33.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004023/8.193, allocations: 0.6531 MB / 3.823 GB, free: 33.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/8.193, allocations: 0 / 3.823 GB, free: 33.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/8.196, allocations: 2.736 MB / 3.826 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006139/8.196, allocations: 463.6 kB / 3.826 GB, free: 32.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/8.196, allocations: 21.3 kB / 3.826 GB, free: 32.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006916/8.197, allocations: 89.89 kB / 3.826 GB, free: 32.51 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/8.197, allocations: 63.64 kB / 3.826 GB, free: 32.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.653e-05/8.197, allocations: 24.98 kB / 3.827 GB, free: 32.51 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009025/8.198, allocations: 0.7932 MB / 3.827 GB, free: 32.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.11e-07/8.198, allocations: 2.344 kB / 3.827 GB, free: 32.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006882/8.205, allocations: 1.731 MB / 3.829 GB, free: 32.13 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pipe.mediums[1].p,pipe.mediums[1].h) * Number of discrete variables: 21 ($cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009935/8.215, allocations: 1.969 MB / 3.831 GB, free: 31.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002734/8.218, allocations: 1.673 MB / 3.833 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/8.218, allocations: 5.656 kB / 3.833 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/8.219, allocations: 0.846 MB / 3.833 GB, free: 31.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/8.221, allocations: 470.2 kB / 3.834 GB, free: 31.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/8.225, allocations: 2.385 MB / 3.836 GB, free: 30.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007774/8.226, allocations: 1.347 MB / 3.837 GB, free: 30.24 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001647/8.227, allocations: 0.9766 MB / 3.838 GB, free: 30.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/8.227, allocations: 74.08 kB / 3.838 GB, free: 30.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.633e-06/8.227, allocations: 0 / 3.838 GB, free: 30.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.06874/8.296, allocations: 54.73 MB / 3.892 GB, free: 20.73 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestPipesAndValves/DynamicPipeClosingValve/DynamicPipeClosingValve.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches