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.00157/0.00157, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001449/0.001449, allocations: 172.5 kB / 24.82 MB, free: 9.273 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 1.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.364/0.364, allocations: 34.27 MB / 296.1 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 179] 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 9.91e-07/9.91e-07, allocations: 0 / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.283e-05, allocations: 2.312 kB / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01377/0.01378, allocations: 14.69 MB / 393.2 MB, free: 3.625 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.02477, allocations: 11.67 MB / 404.9 MB, free: 7.906 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.02499, allocations: 15.88 kB / 404.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00044/0.02543, allocations: 139 kB / 405 MB, free: 7.754 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007588/0.03302, allocations: 3.712 MB / 408.7 MB, free: 4.031 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004317/0.03734, allocations: 2.066 MB / 410.8 MB, free: 1.957 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00097/0.03831, allocations: 0.9429 MB / 411.7 MB, free: 1.008 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002839/0.03859, allocations: 236.9 kB / 412 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006503/0.03924, allocations: 0.5417 MB / 412.5 MB, free: 236 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.03946, allocations: 235.3 kB / 412.7 MB, free: 0 / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.67e-05/0.03951, allocations: 36.05 kB / 412.8 MB, free: 15.96 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009344/0.04886, allocations: 6.773 MB / 419.6 MB, free: 9.184 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.04898, allocations: 103.6 kB / 419.7 MB, free: 9.082 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.04912, allocations: 159.7 kB / 419.8 MB, free: 8.926 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006646/0.05577, allocations: 5.238 MB / 425 MB, free: 3.676 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.05577, allocations: 0 / 425 MB, free: 3.676 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.05577, allocations: 4 kB / 425.1 MB, free: 3.672 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.05578, allocations: 0 / 425.1 MB, free: 3.672 MB / 394.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.002032/0.05781, allocations: 1.248 MB / 426.3 MB, free: 2.383 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.05786, allocations: 12.03 kB / 426.3 MB, free: 2.371 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009433/0.0588, allocations: 303.7 kB / 426.6 MB, free: 2.074 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.05915, allocations: 331.2 kB / 426.9 MB, free: 1.727 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.05918, allocations: 29.03 kB / 427 MB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.05922, allocations: 28.38 kB / 427 MB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008289/0.06005, allocations: 0.6865 MB / 427.7 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.06006, allocations: 12.11 kB / 427.7 MB, free: 0.8789 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.06009, allocations: 15.94 kB / 427.7 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.0601, allocations: 8 kB / 427.7 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005218/0.06062, allocations: 324.1 kB / 428 MB, free: 0.5391 MB / 394.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.001629/0.06225, allocations: 2.172 MB / 430.2 MB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006942/0.06294, allocations: 358.5 kB / 430.5 MB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.446e-05/0.06303, allocations: 67.64 kB / 430.6 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02067/0.0837, allocations: 11.5 MB / 442.1 MB, free: 2.348 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.08374, allocations: 41.39 kB / 442.2 MB, free: 2.297 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.484e-06/0.08375, allocations: 0 / 442.2 MB, free: 2.297 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001332/0.08508, allocations: 0.5647 MB / 442.7 MB, free: 1.727 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.08513, allocations: 106.8 kB / 442.8 MB, free: 1.598 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.08536, allocations: 322.1 kB / 443.1 MB, free: 1.266 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.08538, allocations: 33.7 kB / 443.2 MB, free: 1.227 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.08552, allocations: 255.2 kB / 443.4 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.86e-05/0.08559, allocations: 95.12 kB / 443.5 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.391e-05/0.08567, allocations: 75.33 kB / 443.6 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.08583, allocations: 0.5156 MB / 444.1 MB, free: 276 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.0859, allocations: 55.94 kB / 444.2 MB, free: 220 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2312/0.3171, allocations: 238.3 kB / 444.4 MB, free: 76.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.3174, allocations: 241.3 kB / 444.6 MB, free: 76.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3174, allocations: 2.719 kB / 444.6 MB, free: 76.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004696/0.3179, allocations: 282 kB / 444.9 MB, free: 76.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.3179, allocations: 7.062 kB / 444.9 MB, free: 76.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.3179, allocations: 2.781 kB / 444.9 MB, free: 76.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.318, allocations: 5.188 kB / 444.9 MB, free: 76.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.3182, allocations: 76.5 kB / 445 MB, free: 76.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.3182, allocations: 8.469 kB / 445 MB, free: 76.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.3183, allocations: 38.58 kB / 445 MB, free: 76.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.3184, allocations: 15.23 kB / 445.1 MB, free: 76.8 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_a.phase,V1.state_b.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.0001725/0.3185, allocations: 183.1 kB / 445.2 MB, free: 76.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-05/0.3186, allocations: 38.67 kB / 445.3 MB, free: 76.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.3196, allocations: 1.126 MB / 446.4 MB, free: 76.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.3196, allocations: 30.61 kB / 446.4 MB, free: 76.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.3196, allocations: 0 / 446.4 MB, free: 76.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3196, allocations: 3.562 kB / 446.4 MB, free: 76.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/0.3201, allocations: 0.6054 MB / 447 MB, free: 76.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3201, allocations: 5.484 kB / 447 MB, free: 76.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.3202, allocations: 58.95 kB / 447.1 MB, free: 76.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.3202, allocations: 5.625 kB / 447.1 MB, free: 76.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3203, allocations: 6.594 kB / 447.1 MB, free: 76.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3203, allocations: 1.75 kB / 447.1 MB, free: 76.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3203, allocations: 2.406 kB / 447.1 MB, free: 76.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005352/0.3208, allocations: 0.7719 MB / 447.9 MB, free: 76.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.3209, allocations: 89.81 kB / 448 MB, free: 76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.3209, allocations: 21.66 kB / 448 MB, free: 76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.982e-05/0.321, allocations: 20.19 kB / 448 MB, free: 76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.3211, allocations: 35.91 kB / 448 MB, free: 76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.3211, allocations: 9.625 kB / 448.1 MB, free: 76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001399/0.3212, allocations: 284.6 kB / 448.3 MB, free: 75.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3212, allocations: 0 / 448.3 MB, free: 75.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002639/0.3238, allocations: 1.013 MB / 449.3 MB, free: 75.86 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.002868/0.3267, allocations: 1.315 MB / 450.7 MB, free: 75.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003416/0.3271, allocations: 274.1 kB / 450.9 MB, free: 75.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3271, allocations: 0 / 450.9 MB, free: 75.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.3273, allocations: 231.7 kB / 451.2 MB, free: 75.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006105/0.3279, allocations: 212.5 kB / 451.4 MB, free: 75.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.3294, allocations: 1.323 MB / 452.7 MB, free: 75.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.956e-05/0.3295, allocations: 187.6 kB / 452.9 MB, free: 75.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002802/0.3297, allocations: 261.5 kB / 453.1 MB, free: 75.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/0.33, allocations: 250.2 kB / 453.4 MB, free: 75.02 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.33, allocations: 0.9688 kB / 453.4 MB, free: 75.02 MB / 410.7 MB Notification: Performance of Templates: time 0.04799/0.378, allocations: 45.41 MB / 498.8 MB, free: 61.77 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: 5.016429475042969]