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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001717/0.001717, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002427/0.002427, allocations: 211.2 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 230.2 MB / 256.8 MB, free: 8.645 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2359/0.2359, allocations: 46.89 MB / 359.9 MB, free: 4.988 MB / 286.1 MB [Timeout remaining time 90] 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 0.002264/0.002264, allocations: 79.86 kB / 0.495 GB, free: 8.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3457, allocations: 65.99 MB / 0.5594 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03395/0.3797, allocations: 28.44 MB / 0.5872 GB, free: 8.629 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01896/0.3986, allocations: 13.35 MB / 0.6002 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005322/0.3991, allocations: 11.94 kB / 0.6002 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009549/0.4001, allocations: 250.4 kB / 0.6005 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01129/0.4114, allocations: 3.659 MB / 0.6041 GB, free: 7.316 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006843/0.4182, allocations: 2.391 MB / 0.6064 GB, free: 4.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.4198, allocations: 0.9041 MB / 0.6073 GB, free: 4.023 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004691/0.4202, allocations: 228.7 kB / 0.6075 GB, free: 3.797 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008838/0.4211, allocations: 454.2 kB / 0.6079 GB, free: 3.352 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003827/0.4215, allocations: 282.8 kB / 0.6082 GB, free: 3.074 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.188e-05/0.4216, allocations: 36 kB / 0.6082 GB, free: 3.039 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01479/0.4363, allocations: 7.247 MB / 0.6153 GB, free: 11.78 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.4366, allocations: 99.66 kB / 0.6154 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003928/0.437, allocations: 226.9 kB / 0.6156 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.4485, allocations: 4.427 MB / 0.6199 GB, free: 7.023 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.4485, allocations: 0 / 0.6199 GB, free: 7.023 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4485, allocations: 0 / 0.6199 GB, free: 7.023 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.4485, allocations: 0 / 0.6199 GB, free: 7.023 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.003519/0.452, allocations: 1.29 MB / 0.6212 GB, free: 5.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.452, allocations: 15.97 kB / 0.6212 GB, free: 5.664 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.4537, allocations: 208.5 kB / 0.6214 GB, free: 5.461 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006362/0.4543, allocations: 383.5 kB / 0.6218 GB, free: 5.051 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.4544, allocations: 25.03 kB / 0.6218 GB, free: 5.027 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-05/0.4544, allocations: 28.38 kB / 0.6218 GB, free: 5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.4561, allocations: 0.59 MB / 0.6224 GB, free: 4.367 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.4561, allocations: 4 kB / 0.6224 GB, free: 4.363 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.4562, allocations: 16 kB / 0.6224 GB, free: 4.348 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.4562, allocations: 8 kB / 0.6224 GB, free: 4.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.4579, allocations: 0.5484 MB / 0.623 GB, free: 3.793 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.003455/0.4613, allocations: 2.629 MB / 0.6255 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.463, allocations: 446.2 kB / 0.626 GB, free: 492 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005009/0.4635, allocations: 192.7 kB / 0.6261 GB, free: 296 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05448/0.5179, allocations: 26.88 MB / 0.6524 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.569e-05/0.518, allocations: 42.55 kB / 0.6524 GB, free: 1.949 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/0.518, allocations: 0 / 0.6524 GB, free: 1.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=25): time 0.003204/0.5212, allocations: 0.8209 MB / 0.6532 GB, free: 1.121 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/0.5213, allocations: 106.8 kB / 0.6533 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/0.5217, allocations: 312.5 kB / 0.6536 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.5218, allocations: 29.7 kB / 0.6537 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.522, allocations: 212.5 kB / 0.6539 GB, free: 440 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.163e-05/0.522, allocations: 87.22 kB / 0.6539 GB, free: 352 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.5222, allocations: 65.69 kB / 0.654 GB, free: 280 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.5224, allocations: 342.8 kB / 0.6543 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004386/0.5228, allocations: 147.9 kB / 0.6545 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005503/0.5234, allocations: 251.7 kB / 0.6547 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009296/0.5243, allocations: 381.9 kB / 0.6551 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.5243, allocations: 0 / 0.6551 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001138/0.5254, allocations: 445.2 kB / 0.6555 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.5255, allocations: 8.062 kB / 0.6555 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.5255, allocations: 4 kB / 0.6555 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.5255, allocations: 7.938 kB / 0.6555 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.5259, allocations: 91.86 kB / 0.6556 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.5259, allocations: 4 kB / 0.6556 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.5262, allocations: 51.69 kB / 0.6557 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.443e-05/0.5263, allocations: 16 kB / 0.6557 GB, free: 14.47 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.0002346/0.5265, allocations: 165.7 kB / 0.6558 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.5266, allocations: 39.77 kB / 0.6559 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002833/0.5295, allocations: 1.909 MB / 0.6577 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.769e-05/0.5295, allocations: 35.88 kB / 0.6578 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.5295, allocations: 0 / 0.6578 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.5295, allocations: 0 / 0.6578 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.5307, allocations: 1.024 MB / 0.6588 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.5307, allocations: 4 kB / 0.6588 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.5311, allocations: 79.86 kB / 0.6589 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.5311, allocations: 0 / 0.6589 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.5312, allocations: 12 kB / 0.6589 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.5312, allocations: 3.938 kB / 0.6589 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.5312, allocations: 3.984 kB / 0.6589 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.533, allocations: 1.097 MB / 0.6599 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.5331, allocations: 172.2 kB / 0.6601 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.734e-05/0.5332, allocations: 23.84 kB / 0.6601 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.5335, allocations: 31.91 kB / 0.6602 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.5337, allocations: 35.95 kB / 0.6602 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.5337, allocations: 8 kB / 0.6602 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004559/0.5341, allocations: 335 kB / 0.6605 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5341, allocations: 0 / 0.6605 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003222/0.5374, allocations: 1.002 MB / 0.6615 GB, free: 8.398 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.005381/0.5427, allocations: 1.191 MB / 0.6627 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001593/0.5443, allocations: 0.5988 MB / 0.6633 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.5443, allocations: 0 / 0.6633 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007809/0.5451, allocations: 413 kB / 0.6636 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.5464, allocations: 219.1 kB / 0.6639 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.5492, allocations: 1.57 MB / 0.6654 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007864/0.55, allocations: 0.9638 MB / 0.6663 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.5502, allocations: 43.44 kB / 0.6664 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of SimCode: time 9.02e-07/0.5502, allocations: 0 / 0.6664 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of Templates: time 0.04275/0.5929, allocations: 24.19 MB / 0.69 GB, free: 11.18 MB / 0.5294 GB [Timeout remaining time 659] 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/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_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