Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.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.002104/0.002104, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.002433/0.002433, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.537/1.537, allocations: 177.1 MB / 204.7 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] 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.2077/0.2077, allocations: 34.27 MB / 295.4 MB, free: 14.47 MB / 286.1 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.TestValveDiscrete,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.TestValveDiscrete") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,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.TestValveDiscrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002592/0.002592, allocations: 79.88 kB / 443.1 MB, free: 6.477 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3162, allocations: 66.06 MB / 0.4973 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.02554/0.3417, allocations: 25.9 MB / 0.5226 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01379/0.3555, allocations: 11.77 MB / 0.5341 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003992/0.3559, allocations: 14.81 kB / 0.5341 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000779/0.3567, allocations: 230.2 kB / 0.5343 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.3681, allocations: 3.646 MB / 0.5379 GB, free: 3.281 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007204/0.3753, allocations: 2.355 MB / 0.5402 GB, free: 2.121 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001631/0.3769, allocations: 0.9004 MB / 0.541 GB, free: 1.695 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004306/0.3774, allocations: 210.9 kB / 0.5412 GB, free: 1.594 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008659/0.3782, allocations: 447.1 kB / 0.5417 GB, free: 1.355 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003653/0.3786, allocations: 265.3 kB / 0.5419 GB, free: 1.207 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.31e-05/0.3786, allocations: 32.31 kB / 0.542 GB, free: 1.207 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01575/0.3944, allocations: 6.907 MB / 0.5487 GB, free: 13.76 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.3946, allocations: 102.1 kB / 0.5488 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004431/0.3951, allocations: 181.7 kB / 0.549 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.4075, allocations: 4.417 MB / 0.5533 GB, free: 10.78 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4075, allocations: 1.156 kB / 0.5533 GB, free: 10.78 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4075, allocations: 0 / 0.5533 GB, free: 10.78 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.4075, allocations: 0 / 0.5533 GB, free: 10.78 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.004048/0.4116, allocations: 1.187 MB / 0.5544 GB, free: 9.938 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4116, allocations: 12.95 kB / 0.5545 GB, free: 9.934 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001804/0.4134, allocations: 214.5 kB / 0.5547 GB, free: 9.848 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005976/0.414, allocations: 314.9 kB / 0.555 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.4141, allocations: 27.56 kB / 0.555 GB, free: 9.562 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.4141, allocations: 30.69 kB / 0.555 GB, free: 9.551 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.4158, allocations: 0.7329 MB / 0.5557 GB, free: 8.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.4158, allocations: 1.5 kB / 0.5557 GB, free: 8.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-05/0.4159, allocations: 15.72 kB / 0.5557 GB, free: 8.969 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.4159, allocations: 11.53 kB / 0.5558 GB, free: 8.965 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.4175, allocations: 0.525 MB / 0.5563 GB, free: 8.711 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.002964/0.4205, allocations: 1.864 MB / 0.5581 GB, free: 6.957 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.4221, allocations: 434.2 kB / 0.5585 GB, free: 6.523 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004429/0.4226, allocations: 172.7 kB / 0.5587 GB, free: 6.352 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05076/0.4733, allocations: 13.21 MB / 0.5716 GB, free: 9.121 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.4734, allocations: 34.56 kB / 0.5716 GB, free: 9.078 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 1.874e-06/0.4734, allocations: 0 / 0.5716 GB, free: 9.078 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003015/0.4764, allocations: 0.7951 MB / 0.5724 GB, free: 8.277 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/0.4765, allocations: 106.8 kB / 0.5725 GB, free: 8.148 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.4768, allocations: 276.2 kB / 0.5727 GB, free: 7.867 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.594e-05/0.4769, allocations: 25.7 kB / 0.5728 GB, free: 7.836 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.4771, allocations: 212.4 kB / 0.573 GB, free: 7.625 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.4772, allocations: 91.22 kB / 0.5731 GB, free: 7.535 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.4773, allocations: 73.69 kB / 0.5731 GB, free: 7.457 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.4775, allocations: 338.8 kB / 0.5735 GB, free: 7.117 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/0.4779, allocations: 135.9 kB / 0.5736 GB, free: 6.984 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005354/0.4784, allocations: 283.7 kB / 0.5739 GB, free: 6.656 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008883/0.4793, allocations: 365.3 kB / 0.5742 GB, free: 6.266 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4793, allocations: 0 / 0.5742 GB, free: 6.266 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001065/0.4804, allocations: 425 kB / 0.5746 GB, free: 5.844 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4804, allocations: 4 kB / 0.5746 GB, free: 5.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.4804, allocations: 4 kB / 0.5746 GB, free: 5.836 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.4804, allocations: 4 kB / 0.5746 GB, free: 5.832 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.4808, allocations: 80.19 kB / 0.5747 GB, free: 5.754 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.4808, allocations: 11.94 kB / 0.5747 GB, free: 5.742 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.4811, allocations: 43.77 kB / 0.5747 GB, free: 5.699 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.4811, allocations: 23.97 kB / 0.5748 GB, free: 5.676 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: 5 (Opening.y,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.0002014/0.4813, allocations: 157.8 kB / 0.5749 GB, free: 5.512 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-05/0.4814, allocations: 35.8 kB / 0.575 GB, free: 5.477 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002822/0.4842, allocations: 1.989 MB / 0.5769 GB, free: 3.48 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.309e-05/0.4843, allocations: 27.95 kB / 0.5769 GB, free: 3.453 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.4843, allocations: 7.938 kB / 0.5769 GB, free: 3.445 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.4843, allocations: 3.984 kB / 0.5769 GB, free: 3.441 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.4854, allocations: 0.8719 MB / 0.5778 GB, free: 2.539 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.4854, allocations: 4 kB / 0.5778 GB, free: 2.535 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.4857, allocations: 71.88 kB / 0.5779 GB, free: 2.465 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.994e-06/0.4857, allocations: 4 kB / 0.5779 GB, free: 2.461 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.4857, allocations: 4 kB / 0.5779 GB, free: 2.457 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.4857, allocations: 4 kB / 0.5779 GB, free: 2.453 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4857, allocations: 0 / 0.5779 GB, free: 2.453 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.4874, allocations: 1.115 MB / 0.579 GB, free: 1.32 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.4875, allocations: 87.16 kB / 0.579 GB, free: 1.234 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.627e-05/0.4876, allocations: 23.83 kB / 0.5791 GB, free: 1.211 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.4879, allocations: 23.98 kB / 0.5791 GB, free: 1.188 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.777e-05/0.4879, allocations: 39.88 kB / 0.5791 GB, free: 1.148 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.488, allocations: 11.98 kB / 0.5791 GB, free: 1.137 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003704/0.4883, allocations: 299.1 kB / 0.5794 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4883, allocations: 3.938 kB / 0.5794 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003859/0.4922, allocations: 1.018 MB / 0.5804 GB, free: 15.82 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: 19 ($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,Opening.y) * 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.004521/0.4967, allocations: 1.163 MB / 0.5816 GB, free: 14.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.4981, allocations: 0.599 MB / 0.5821 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4981, allocations: 0 / 0.5821 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000713/0.4988, allocations: 417.1 kB / 0.5825 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.4999, allocations: 182.8 kB / 0.5827 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.5023, allocations: 1.56 MB / 0.5842 GB, free: 11.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.5026, allocations: 370.2 kB / 0.5846 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004598/0.5031, allocations: 274.2 kB / 0.5849 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.5032, allocations: 40.5 kB / 0.5849 GB, free: 11.17 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5032, allocations: 0 / 0.5849 GB, free: 11.17 MB / 494.1 MB Notification: Performance of Templates: time 0.06299/0.5662, allocations: 39.16 MB / 0.6231 GB, free: 4.145 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveDiscrete/TestValveDiscrete.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.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.905057433992624]