Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001537/0.001537, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001866/0.001866, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 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.498/1.498, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2246/0.2246, allocations: 44.92 MB / 359.6 MB, free: 6.312 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 59.91 kB / 0.4943 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3162, allocations: 65.48 MB / 0.5582 GB, free: 7.727 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03562/0.3519, allocations: 28.66 MB / 0.5862 GB, free: 11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01871/0.3706, allocations: 13.4 MB / 0.5993 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004718/0.371, allocations: 15.88 kB / 0.5993 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000893/0.3719, allocations: 246.4 kB / 0.5996 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01069/0.3826, allocations: 3.682 MB / 0.6032 GB, free: 9.617 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007354/0.39, allocations: 2.394 MB / 0.6055 GB, free: 7.227 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001585/0.3916, allocations: 0.9158 MB / 0.6064 GB, free: 6.309 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005534/0.3921, allocations: 208.9 kB / 0.6066 GB, free: 6.098 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.3932, allocations: 458.2 kB / 0.607 GB, free: 5.648 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005514/0.3938, allocations: 282.9 kB / 0.6073 GB, free: 5.371 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.3939, allocations: 40 kB / 0.6073 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01571/0.4096, allocations: 7.262 MB / 0.6144 GB, free: 14.06 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.4098, allocations: 103.6 kB / 0.6145 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004302/0.4103, allocations: 227 kB / 0.6148 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01079/0.4211, allocations: 4.431 MB / 0.6191 GB, free: 9.293 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4211, allocations: 3.938 kB / 0.6191 GB, free: 9.289 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4211, allocations: 0 / 0.6191 GB, free: 9.289 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.644e-05/0.4211, allocations: 0 / 0.6191 GB, free: 9.289 MB / 462.1 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.003736/0.4248, allocations: 1.207 MB / 0.6203 GB, free: 8.047 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.4249, allocations: 8.031 kB / 0.6203 GB, free: 8.039 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001911/0.4268, allocations: 208.5 kB / 0.6205 GB, free: 7.836 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007847/0.4276, allocations: 317.3 kB / 0.6208 GB, free: 7.496 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.4276, allocations: 21.03 kB / 0.6208 GB, free: 7.477 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.162e-05/0.4277, allocations: 32.38 kB / 0.6208 GB, free: 7.445 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.4295, allocations: 0.594 MB / 0.6214 GB, free: 6.812 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.4295, allocations: 4 kB / 0.6214 GB, free: 6.809 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/0.4295, allocations: 16 kB / 0.6214 GB, free: 6.793 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.4296, allocations: 8 kB / 0.6214 GB, free: 6.785 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.4314, allocations: 0.541 MB / 0.622 GB, free: 6.242 MB / 462.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.003893/0.4353, allocations: 2.531 MB / 0.6244 GB, free: 3.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.437, allocations: 454.1 kB / 0.6249 GB, free: 3.047 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/0.4375, allocations: 192.7 kB / 0.625 GB, free: 2.855 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04906/0.4866, allocations: 13.15 MB / 0.6379 GB, free: 5.684 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.4866, allocations: 38.48 kB / 0.6379 GB, free: 5.637 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.395e-06/0.4866, allocations: 0 / 0.6379 GB, free: 5.637 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003236/0.4899, allocations: 0.8209 MB / 0.6387 GB, free: 4.809 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/0.49, allocations: 106.8 kB / 0.6388 GB, free: 4.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.4904, allocations: 316.5 kB / 0.6391 GB, free: 4.367 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.158e-05/0.4905, allocations: 25.7 kB / 0.6392 GB, free: 4.336 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.4906, allocations: 212.5 kB / 0.6394 GB, free: 4.125 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.4907, allocations: 91.2 kB / 0.6394 GB, free: 4.035 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.4909, allocations: 61.7 kB / 0.6395 GB, free: 3.969 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.4911, allocations: 350.8 kB / 0.6398 GB, free: 3.617 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/0.4915, allocations: 143.9 kB / 0.64 GB, free: 3.477 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005391/0.492, allocations: 243.9 kB / 0.6402 GB, free: 3.199 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000946/0.493, allocations: 374 kB / 0.6406 GB, free: 2.801 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.493, allocations: 0 / 0.6406 GB, free: 2.801 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001221/0.4942, allocations: 453.2 kB / 0.641 GB, free: 2.352 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.4942, allocations: 8 kB / 0.641 GB, free: 2.344 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.4943, allocations: 4 kB / 0.641 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.4943, allocations: 7.938 kB / 0.641 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.4947, allocations: 87.86 kB / 0.6411 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.4947, allocations: 7.938 kB / 0.6411 GB, free: 2.238 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.495, allocations: 51.69 kB / 0.6412 GB, free: 2.188 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.495, allocations: 20 kB / 0.6412 GB, free: 2.168 MB / 478.1 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.0002428/0.4953, allocations: 161.7 kB / 0.6413 GB, free: 2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.4954, allocations: 39.77 kB / 0.6414 GB, free: 1.961 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/0.4984, allocations: 1.984 MB / 0.6433 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.49e-05/0.4984, allocations: 35.83 kB / 0.6433 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4984, allocations: 0 / 0.6433 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.4984, allocations: 7.922 kB / 0.6434 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.4997, allocations: 1.015 MB / 0.6443 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.4997, allocations: 0 / 0.6443 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.5, allocations: 79.86 kB / 0.6444 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.5, allocations: 0 / 0.6444 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.5001, allocations: 8 kB / 0.6444 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.5001, allocations: 3.938 kB / 0.6444 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5001, allocations: 4 kB / 0.6444 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.502, allocations: 1.132 MB / 0.6455 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.5021, allocations: 99.11 kB / 0.6456 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.55e-05/0.5022, allocations: 27.77 kB / 0.6457 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.5025, allocations: 31.91 kB / 0.6457 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.5026, allocations: 31.94 kB / 0.6457 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.5027, allocations: 12 kB / 0.6457 GB, free: 13.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004089/0.5031, allocations: 327.1 kB / 0.646 GB, free: 13.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5031, allocations: 0 / 0.646 GB, free: 13.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002875/0.5059, allocations: 1.006 MB / 0.647 GB, free: 12.09 MB / 494.1 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.004948/0.5109, allocations: 1.165 MB / 0.6482 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001545/0.5124, allocations: 0.6111 MB / 0.6488 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5124, allocations: 0 / 0.6488 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007643/0.5132, allocations: 436.8 kB / 0.6492 GB, free: 9.879 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.5145, allocations: 220.3 kB / 0.6494 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.5171, allocations: 1.599 MB / 0.6509 GB, free: 8.035 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007262/0.5178, allocations: 0.9677 MB / 0.6519 GB, free: 7.039 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.518, allocations: 39.44 kB / 0.6519 GB, free: 7 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.518, allocations: 4 kB / 0.6519 GB, free: 6.996 MB / 494.1 MB Notification: Performance of Templates: time 0.04114/0.5591, allocations: 24.18 MB / 0.6756 GB, free: 14.83 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 10.786176593974233]