Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 164.5 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9987/0.9987, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2576/0.2576, allocations: 34.27 MB / 296.1 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|SourceP1.ports.[0-9,]+..m_flow|SourceP1.ports.[0-9,]+..p|SourceP1.ports.[0-9,]+..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.[0-9,]+..m_flow|SinkP1.ports.[0-9,]+..p|SinkP1.ports.[0-9,]+..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|SourceP1.ports.[0-9,]+..m_flow|SourceP1.ports.[0-9,]+..p|SourceP1.ports.[0-9,]+..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.[0-9,]+..m_flow|SinkP1.ports.[0-9,]+..p|SinkP1.ports.[0-9,]+..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.42e-05/3.615e-05, allocations: 5.688 kB / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02559/0.02563, allocations: 28.83 MB / 406.9 MB, free: 6.043 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.03755, allocations: 13.08 MB / 419.9 MB, free: 8.918 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000388/0.03794, allocations: 15.81 kB / 419.9 MB, free: 8.902 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007119/0.03865, allocations: 234.3 kB / 420.2 MB, free: 8.672 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008075/0.04673, allocations: 3.705 MB / 423.9 MB, free: 4.953 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005865/0.05259, allocations: 2.387 MB / 426.3 MB, free: 2.555 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.05368, allocations: 0.9117 MB / 427.2 MB, free: 1.637 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003616/0.05404, allocations: 221 kB / 427.4 MB, free: 1.418 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007235/0.05477, allocations: 0.549 MB / 427.9 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.05503, allocations: 239.3 kB / 428.2 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.339e-05/0.05508, allocations: 32 kB / 428.2 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0107/0.06578, allocations: 6.918 MB / 435.1 MB, free: 9.672 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.06598, allocations: 107.6 kB / 435.2 MB, free: 9.566 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.06622, allocations: 159.7 kB / 435.4 MB, free: 9.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.07679, allocations: 5.386 MB / 440.8 MB, free: 4.012 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.0768, allocations: 0 / 440.8 MB, free: 4.012 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.0768, allocations: 0 / 440.8 MB, free: 4.012 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.07681, allocations: 0 / 440.8 MB, free: 4.012 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.002795/0.0796, allocations: 1.276 MB / 442 MB, free: 2.695 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0002144/0.07982, allocations: 12.03 kB / 442.1 MB, free: 2.684 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.08104, allocations: 299.8 kB / 442.4 MB, free: 2.391 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.08144, allocations: 323.3 kB / 442.7 MB, free: 2.051 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.08147, allocations: 29.03 kB / 442.7 MB, free: 2.023 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.08151, allocations: 36.31 kB / 442.7 MB, free: 1.988 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009595/0.08247, allocations: 0.7061 MB / 443.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.08248, allocations: 192 / 443.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.08251, allocations: 19.94 kB / 443.5 MB, free: 1.168 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.08252, allocations: 4 kB / 443.5 MB, free: 1.164 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006735/0.08319, allocations: 371.4 kB / 443.8 MB, free: 0.8008 MB / 410.7 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.1667/0.2499, allocations: 2.27 MB / 446.1 MB, free: 101.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.2514, allocations: 366.1 kB / 446.5 MB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.2516, allocations: 81.62 kB / 446.5 MB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0235/0.2751, allocations: 13.21 MB / 459.7 MB, free: 100.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.2751, allocations: 36.89 kB / 459.8 MB, free: 100.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.545e-06/0.2751, allocations: 1.859 kB / 459.8 MB, free: 100.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001478/0.2766, allocations: 0.6 MB / 460.4 MB, free: 100.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.2766, allocations: 109.1 kB / 460.5 MB, free: 100.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.2769, allocations: 321.8 kB / 460.8 MB, free: 100.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.2769, allocations: 29.7 kB / 460.8 MB, free: 100.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.277, allocations: 266.4 kB / 461.1 MB, free: 100.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.277, allocations: 88.36 kB / 461.2 MB, free: 100 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.315e-05/0.2771, allocations: 80 kB / 461.2 MB, free: 99.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.381e-05/0.2772, allocations: 0.5152 MB / 461.8 MB, free: 99.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.2773, allocations: 66.06 kB / 461.8 MB, free: 99.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.2774, allocations: 247.2 kB / 462.1 MB, free: 99.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.2776, allocations: 257.1 kB / 462.3 MB, free: 99.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2776, allocations: 4.031 kB / 462.3 MB, free: 99.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000365/0.278, allocations: 297.9 kB / 462.6 MB, free: 98.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.278, allocations: 8.719 kB / 462.6 MB, free: 98.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.278, allocations: 0 / 462.6 MB, free: 98.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.2781, allocations: 6.688 kB / 462.6 MB, free: 98.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.2782, allocations: 80.19 kB / 462.7 MB, free: 98.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.2782, allocations: 10.75 kB / 462.7 MB, free: 98.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.2784, allocations: 36.94 kB / 462.8 MB, free: 98.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.2784, allocations: 17.11 kB / 462.8 MB, free: 98.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (SinkP1.medium.phase,SourceP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.2785, allocations: 177.6 kB / 462.9 MB, free: 98.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.2786, allocations: 39 kB / 463 MB, free: 98.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009317/0.2795, allocations: 1.242 MB / 464.2 MB, free: 98.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.2795, allocations: 27.36 kB / 464.3 MB, free: 98.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2795, allocations: 7.359 kB / 464.3 MB, free: 98.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2795, allocations: 3.938 kB / 464.3 MB, free: 98.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.28, allocations: 0.6646 MB / 464.9 MB, free: 97.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.28, allocations: 0 / 464.9 MB, free: 97.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.2801, allocations: 59.67 kB / 465 MB, free: 97.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.2801, allocations: 7.031 kB / 465 MB, free: 97.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.2801, allocations: 7 kB / 465 MB, free: 97.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.2801, allocations: 3.75 kB / 465 MB, free: 97.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2801, allocations: 0 / 465 MB, free: 97.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006053/0.2807, allocations: 0.8387 MB / 465.8 MB, free: 97.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.2808, allocations: 86.73 kB / 465.9 MB, free: 97.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.2808, allocations: 21.81 kB / 465.9 MB, free: 97.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.2809, allocations: 20.48 kB / 466 MB, free: 97.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.281, allocations: 35.98 kB / 466 MB, free: 97.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.281, allocations: 20.3 kB / 466 MB, free: 97.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000174/0.2812, allocations: 302.6 kB / 466.3 MB, free: 97.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2812, allocations: 0 / 466.3 MB, free: 97.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002178/0.2834, allocations: 1.013 MB / 467.3 MB, free: 97.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002919/0.2863, allocations: 1.298 MB / 468.6 MB, free: 96.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005652/0.2869, allocations: 313.8 kB / 468.9 MB, free: 96.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2869, allocations: 1.062 kB / 468.9 MB, free: 96.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.2872, allocations: 257.3 kB / 469.2 MB, free: 96.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007064/0.2879, allocations: 219.4 kB / 469.4 MB, free: 96.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.2897, allocations: 1.354 MB / 470.8 MB, free: 96.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.2899, allocations: 180.8 kB / 470.9 MB, free: 95.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000353/0.2902, allocations: 273 kB / 471.2 MB, free: 95.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.024e-05/0.2903, allocations: 41.62 kB / 471.2 MB, free: 95.97 MB / 410.7 MB Notification: Performance of SimCode: time 1.343e-06/0.2903, allocations: 0 / 471.2 MB, free: 95.97 MB / 410.7 MB Notification: Performance of Templates: time 0.03838/0.3287, allocations: 40.24 MB / 0.4995 GB, free: 66.51 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.908560899086297]