Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008425/0.0008425, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003704/0.003704, allocations: 157.7 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9002/0.9002, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2709/0.2709, allocations: 34.24 MB / 295.6 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 443.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.773e-05, allocations: 2.281 kB / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2073/0.2074, allocations: 25.76 MB / 469.2 MB, free: 28.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008741/0.2161, allocations: 11.79 MB / 481 MB, free: 20.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003229/0.2164, allocations: 14.41 kB / 481 MB, free: 20.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006347/0.2171, allocations: 224 kB / 481.2 MB, free: 20.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008686/0.2257, allocations: 3.694 MB / 484.9 MB, free: 18.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005416/0.2312, allocations: 2.389 MB / 487.3 MB, free: 17.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.2322, allocations: 0.9243 MB / 488.2 MB, free: 17.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.2325, allocations: 217.7 kB / 488.4 MB, free: 17.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007359/0.2333, allocations: 0.543 MB / 489 MB, free: 16.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.2336, allocations: 242.1 kB / 489.2 MB, free: 16.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.306e-05/0.2336, allocations: 32.69 kB / 489.2 MB, free: 16.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01287/0.2465, allocations: 6.916 MB / 496.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.2467, allocations: 102.9 kB / 496.3 MB, free: 15.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003455/0.247, allocations: 163.5 kB / 496.4 MB, free: 15.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01429/0.2613, allocations: 5.541 MB / 0.4902 GB, free: 13.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.2613, allocations: 7.938 kB / 0.4902 GB, free: 13.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.2613, allocations: 1.406 kB / 0.4902 GB, free: 13.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.254e-05/0.2614, allocations: 1.094 kB / 0.4902 GB, free: 13.34 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.006831/0.2682, allocations: 1.194 MB / 0.4914 GB, free: 12.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.495e-05/0.2683, allocations: 9.219 kB / 0.4914 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.2695, allocations: 213.7 kB / 0.4916 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006281/0.2702, allocations: 315 kB / 0.4919 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.2702, allocations: 26.44 kB / 0.4919 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.2702, allocations: 31.81 kB / 0.4919 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.2713, allocations: 0.7419 MB / 0.4927 GB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.2713, allocations: 1.562 kB / 0.4927 GB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.2713, allocations: 20.06 kB / 0.4927 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.2714, allocations: 8.25 kB / 0.4927 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000921/0.2723, allocations: 0.5469 MB / 0.4932 GB, free: 11.46 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.001699/0.274, allocations: 1.846 MB / 0.495 GB, free: 9.898 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008601/0.2748, allocations: 454.5 kB / 0.4955 GB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.2751, allocations: 186.8 kB / 0.4956 GB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02549/0.3006, allocations: 13.19 MB / 0.5085 GB, free: 3.039 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3006, allocations: 34.56 kB / 0.5086 GB, free: 2.996 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.825e-06/0.3006, allocations: 0 / 0.5086 GB, free: 2.996 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001635/0.3023, allocations: 0.8145 MB / 0.5093 GB, free: 2.176 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.3023, allocations: 110.8 kB / 0.5095 GB, free: 2.043 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.3025, allocations: 280.5 kB / 0.5097 GB, free: 1.762 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.3025, allocations: 29.7 kB / 0.5097 GB, free: 1.727 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.3026, allocations: 204.5 kB / 0.5099 GB, free: 1.523 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.3027, allocations: 99.14 kB / 0.51 GB, free: 1.426 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/0.3027, allocations: 73.69 kB / 0.5101 GB, free: 1.348 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.046e-05/0.3028, allocations: 346.8 kB / 0.5104 GB, free: 1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.303, allocations: 144.5 kB / 0.5106 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.3032, allocations: 303.6 kB / 0.5109 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.3036, allocations: 377.9 kB / 0.5112 GB, free: 112 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3036, allocations: 4 kB / 0.5112 GB, free: 108 kB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000611/0.3042, allocations: 441 kB / 0.5117 GB, free: 15.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.3043, allocations: 4.312 kB / 0.5117 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.3043, allocations: 11.98 kB / 0.5117 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.3043, allocations: 7.938 kB / 0.5117 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.3045, allocations: 83.88 kB / 0.5118 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.3045, allocations: 10.62 kB / 0.5118 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.3047, allocations: 47.75 kB / 0.5118 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.3047, allocations: 23.92 kB / 0.5118 GB, free: 15.48 MB / 426.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.0001463/0.3049, allocations: 157.8 kB / 0.512 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.3049, allocations: 31.81 kB / 0.512 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.3065, allocations: 1.998 MB / 0.514 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/0.3065, allocations: 31.94 kB / 0.514 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3065, allocations: 0 / 0.514 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3065, allocations: 0 / 0.514 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005904/0.3071, allocations: 0.868 MB / 0.5148 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.3071, allocations: 4 kB / 0.5148 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.3073, allocations: 83.86 kB / 0.5149 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3073, allocations: 3.984 kB / 0.5149 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.3073, allocations: 11.25 kB / 0.5149 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3073, allocations: 0 / 0.5149 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3073, allocations: 0 / 0.5149 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009221/0.3082, allocations: 1.138 MB / 0.5161 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.3083, allocations: 91.14 kB / 0.5161 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.3083, allocations: 19.83 kB / 0.5162 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.3085, allocations: 27.97 kB / 0.5162 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.3085, allocations: 35.94 kB / 0.5162 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.3086, allocations: 11.98 kB / 0.5162 GB, free: 10.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000215/0.3088, allocations: 307.1 kB / 0.5165 GB, free: 10.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3088, allocations: 0 / 0.5165 GB, free: 10.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005415/0.3142, allocations: 1.018 MB / 0.5175 GB, free: 9.59 MB / 426.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.003849/0.318, allocations: 1.306 MB / 0.5188 GB, free: 8.277 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007525/0.3188, allocations: 0.6145 MB / 0.5194 GB, free: 7.664 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3188, allocations: 0 / 0.5194 GB, free: 7.664 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003787/0.3192, allocations: 429 kB / 0.5198 GB, free: 7.242 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006057/0.3198, allocations: 189.8 kB / 0.52 GB, free: 7.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.3212, allocations: 1.555 MB / 0.5215 GB, free: 5.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.3214, allocations: 370.2 kB / 0.5219 GB, free: 5.094 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.411e-05/0.3215, allocations: 48.38 kB / 0.5219 GB, free: 5.047 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3215, allocations: 4 kB / 0.5219 GB, free: 5.043 MB / 426.7 MB Notification: Performance of Templates: time 0.02564/0.3472, allocations: 24.32 MB / 0.5457 GB, free: 12.74 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.0563121400773525]