Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001847/0.001847, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 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.002325/0.002325, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 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 1.507/1.507, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2281/0.2281, allocations: 46.9 MB / 361.1 MB, free: 4.648 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002489/0.002489, allocations: 75.88 kB / 0.4967 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2945, allocations: 65.99 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03486/0.3293, allocations: 28.66 MB / 0.5892 GB, free: 8.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0184/0.3477, allocations: 13.38 MB / 0.6022 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003495/0.3481, allocations: 19.88 kB / 0.6023 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007532/0.3488, allocations: 254.4 kB / 0.6025 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009695/0.3585, allocations: 3.673 MB / 0.6061 GB, free: 6.883 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006302/0.3648, allocations: 2.376 MB / 0.6084 GB, free: 4.508 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.3661, allocations: 0.9041 MB / 0.6093 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003906/0.3665, allocations: 204.8 kB / 0.6095 GB, free: 3.398 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008966/0.3674, allocations: 462.1 kB / 0.6099 GB, free: 2.945 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004216/0.3679, allocations: 290.8 kB / 0.6102 GB, free: 2.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.839e-05/0.3679, allocations: 36 kB / 0.6102 GB, free: 2.625 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0143/0.3822, allocations: 7.251 MB / 0.6173 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.3824, allocations: 99.61 kB / 0.6174 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000342/0.3828, allocations: 223 kB / 0.6176 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.3928, allocations: 4.435 MB / 0.622 GB, free: 6.602 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3928, allocations: 0 / 0.622 GB, free: 6.602 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3928, allocations: 0 / 0.622 GB, free: 6.602 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.3928, allocations: 0 / 0.622 GB, free: 6.602 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.003417/0.3962, allocations: 1.279 MB / 0.6232 GB, free: 5.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3962, allocations: 12.03 kB / 0.6232 GB, free: 5.258 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.398, allocations: 212.5 kB / 0.6234 GB, free: 5.051 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/0.3987, allocations: 379.5 kB / 0.6238 GB, free: 4.645 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.3987, allocations: 28.97 kB / 0.6238 GB, free: 4.617 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.3987, allocations: 28.38 kB / 0.6238 GB, free: 4.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.4005, allocations: 0.5978 MB / 0.6244 GB, free: 3.949 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4005, allocations: 3.938 kB / 0.6244 GB, free: 3.945 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.4005, allocations: 12 kB / 0.6244 GB, free: 3.934 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.4006, allocations: 8 kB / 0.6245 GB, free: 3.926 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.4024, allocations: 0.5445 MB / 0.625 GB, free: 3.383 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.003448/0.4058, allocations: 2.625 MB / 0.6275 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.4076, allocations: 454 kB / 0.628 GB, free: 68 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005506/0.4081, allocations: 188.8 kB / 0.6282 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05981/0.4679, allocations: 26.88 MB / 0.6544 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/0.468, allocations: 46.5 kB / 0.6545 GB, free: 1.531 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 2.445e-06/0.468, allocations: 0 / 0.6545 GB, free: 1.531 MB / 494.1 MB Notification: Performance of matching and sorting (n=25): time 0.00323/0.4712, allocations: 0.8092 MB / 0.6552 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/0.4713, allocations: 114.8 kB / 0.6554 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.4717, allocations: 312.5 kB / 0.6557 GB, free: 272 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.4717, allocations: 33.7 kB / 0.6557 GB, free: 232 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.4719, allocations: 204.5 kB / 0.6559 GB, free: 24 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.472, allocations: 95.39 kB / 0.656 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.4721, allocations: 69.69 kB / 0.656 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.4723, allocations: 338.8 kB / 0.6564 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/0.4728, allocations: 155.9 kB / 0.6565 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.4733, allocations: 239.8 kB / 0.6567 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.4743, allocations: 385.8 kB / 0.6571 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4743, allocations: 0 / 0.6571 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001217/0.4756, allocations: 441 kB / 0.6575 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4756, allocations: 6.344 kB / 0.6575 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.4756, allocations: 7.938 kB / 0.6575 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.4756, allocations: 7.75 kB / 0.6575 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.476, allocations: 88.12 kB / 0.6576 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.476, allocations: 15.98 kB / 0.6576 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.4763, allocations: 47.75 kB / 0.6577 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.4764, allocations: 12 kB / 0.6577 GB, free: 14.06 MB / 0.4981 GB 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.0002085/0.4766, allocations: 161.8 kB / 0.6579 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/0.4767, allocations: 35.77 kB / 0.6579 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002866/0.4795, allocations: 1.924 MB / 0.6598 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.23e-05/0.4796, allocations: 27.95 kB / 0.6598 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4796, allocations: 3.984 kB / 0.6598 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4796, allocations: 0 / 0.6598 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.4808, allocations: 1.016 MB / 0.6608 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4808, allocations: 0 / 0.6608 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/0.4812, allocations: 79.86 kB / 0.6609 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.4812, allocations: 4 kB / 0.6609 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.4812, allocations: 11.94 kB / 0.6609 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.4812, allocations: 0 / 0.6609 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4812, allocations: 3.938 kB / 0.6609 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.483, allocations: 1.104 MB / 0.662 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.4831, allocations: 168.2 kB / 0.6621 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.4832, allocations: 27.78 kB / 0.6622 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.4835, allocations: 27.95 kB / 0.6622 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.332e-05/0.4836, allocations: 31.95 kB / 0.6622 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.4836, allocations: 16 kB / 0.6622 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004077/0.4841, allocations: 327.1 kB / 0.6625 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4841, allocations: 3.938 kB / 0.6625 GB, free: 9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002913/0.487, allocations: 1.006 MB / 0.6635 GB, free: 7.992 MB / 0.4981 GB 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.004406/0.4914, allocations: 1.179 MB / 0.6647 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001467/0.4928, allocations: 0.5943 MB / 0.6653 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4928, allocations: 0 / 0.6653 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007311/0.4936, allocations: 417.6 kB / 0.6657 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.4948, allocations: 231.8 kB / 0.6659 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.4972, allocations: 1.545 MB / 0.6674 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000624/0.4978, allocations: 0.9638 MB / 0.6683 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004904/0.4983, allocations: 274.8 kB / 0.6686 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.4984, allocations: 47.38 kB / 0.6686 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/0.4984, allocations: 0 / 0.6686 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of Templates: time 0.06181/0.5602, allocations: 40.03 MB / 0.7077 GB, free: 10.71 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.69597786758095]