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.001458/0.001458, allocations: 116.7 kB / 19.17 MB, free: 3.871 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.001489/0.001489, allocations: 206.6 kB / 22.12 MB, free: 0.9219 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.525/1.525, allocations: 230.3 MB / 255.2 MB, free: 15.22 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.2517/0.2517, allocations: 46.93 MB / 358.2 MB, free: 10.42 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.002607/0.002607, allocations: 83.86 kB / 0.4925 GB, free: 7.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1516, allocations: 66 MB / 0.557 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.04205/0.1937, allocations: 28.45 MB / 0.5847 GB, free: 8.977 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.341/0.5347, allocations: 13.32 MB / 0.5978 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004315/0.5351, allocations: 16.53 kB / 0.5978 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008239/0.5359, allocations: 253.4 kB / 0.598 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01154/0.5474, allocations: 3.673 MB / 0.6016 GB, free: 4.266 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007599/0.555, allocations: 2.377 MB / 0.6039 GB, free: 4.207 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001686/0.5567, allocations: 0.8986 MB / 0.6048 GB, free: 4.207 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000502/0.5572, allocations: 233.4 kB / 0.605 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.5584, allocations: 451.4 kB / 0.6055 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004646/0.5588, allocations: 279.9 kB / 0.6057 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.799e-05/0.5589, allocations: 33.66 kB / 0.6058 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01752/0.5764, allocations: 7.256 MB / 0.6128 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.5767, allocations: 99.31 kB / 0.6129 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005036/0.5772, allocations: 225 kB / 0.6132 GB, free: 4.023 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01442/0.5916, allocations: 4.433 MB / 0.6175 GB, free: 2.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.5916, allocations: 5.281 kB / 0.6175 GB, free: 2.816 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5916, allocations: 0 / 0.6175 GB, free: 2.816 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.5916, allocations: 0 / 0.6175 GB, free: 2.816 MB / 446.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.005091/0.5967, allocations: 1.283 MB / 0.6187 GB, free: 1.945 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.5967, allocations: 9.188 kB / 0.6187 GB, free: 1.945 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/0.5985, allocations: 216.2 kB / 0.619 GB, free: 1.867 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005502/0.5991, allocations: 386.3 kB / 0.6193 GB, free: 1.566 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.5991, allocations: 25.12 kB / 0.6193 GB, free: 1.566 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.5992, allocations: 29.52 kB / 0.6194 GB, free: 1.566 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.6008, allocations: 0.591 MB / 0.62 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.6008, allocations: 0.8125 kB / 0.62 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/0.6008, allocations: 11.97 kB / 0.62 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.6008, allocations: 7.562 kB / 0.62 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.6025, allocations: 0.5443 MB / 0.6205 GB, free: 1.102 MB / 446.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.003222/0.6057, allocations: 2.631 MB / 0.6231 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.6075, allocations: 446.8 kB / 0.6235 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.608, allocations: 192.8 kB / 0.6237 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05697/0.665, allocations: 26.88 MB / 0.6499 GB, free: 5.914 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.01e-05/0.665, allocations: 42.55 kB / 0.65 GB, free: 5.863 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.274e-06/0.665, allocations: 0 / 0.65 GB, free: 5.863 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003213/0.6682, allocations: 0.8131 MB / 0.6508 GB, free: 5.043 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.6683, allocations: 110.8 kB / 0.6509 GB, free: 4.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004005/0.6687, allocations: 316.5 kB / 0.6512 GB, free: 4.598 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.6687, allocations: 29.7 kB / 0.6512 GB, free: 4.562 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.6689, allocations: 204.6 kB / 0.6514 GB, free: 4.359 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.146e-05/0.669, allocations: 89.3 kB / 0.6515 GB, free: 4.273 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.6691, allocations: 71.06 kB / 0.6516 GB, free: 4.199 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.6693, allocations: 338.8 kB / 0.6519 GB, free: 3.859 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004691/0.6698, allocations: 157.3 kB / 0.652 GB, free: 3.707 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005576/0.6703, allocations: 246.8 kB / 0.6523 GB, free: 3.426 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.6714, allocations: 381.9 kB / 0.6526 GB, free: 3.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.6714, allocations: 0 / 0.6526 GB, free: 3.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001198/0.6726, allocations: 441 kB / 0.653 GB, free: 2.582 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6726, allocations: 4 kB / 0.653 GB, free: 2.578 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.6726, allocations: 4.938 kB / 0.6531 GB, free: 2.574 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.6726, allocations: 11.98 kB / 0.6531 GB, free: 2.562 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/0.673, allocations: 87.81 kB / 0.6531 GB, free: 2.477 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.673, allocations: 7.938 kB / 0.6532 GB, free: 2.469 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.6734, allocations: 59.64 kB / 0.6532 GB, free: 2.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.6734, allocations: 15.62 kB / 0.6532 GB, free: 2.398 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.0002221/0.6736, allocations: 168.2 kB / 0.6534 GB, free: 2.227 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.083e-05/0.6737, allocations: 35.81 kB / 0.6534 GB, free: 2.191 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002847/0.6766, allocations: 1.912 MB / 0.6553 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.558e-05/0.6766, allocations: 31.89 kB / 0.6553 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6766, allocations: 3.938 kB / 0.6553 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.6766, allocations: 0 / 0.6553 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.6778, allocations: 1.02 MB / 0.6563 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.6778, allocations: 3.984 kB / 0.6563 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.6782, allocations: 79.88 kB / 0.6564 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.6782, allocations: 0 / 0.6564 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.6782, allocations: 8 kB / 0.6564 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.6782, allocations: 7.922 kB / 0.6564 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6782, allocations: 0 / 0.6564 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.68, allocations: 1.1 MB / 0.6575 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.6802, allocations: 172.2 kB / 0.6577 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.32e-05/0.6802, allocations: 23.83 kB / 0.6577 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.6805, allocations: 35.91 kB / 0.6577 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.6806, allocations: 31.95 kB / 0.6577 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.6807, allocations: 12 kB / 0.6578 GB, free: 13.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004018/0.6811, allocations: 327.1 kB / 0.6581 GB, free: 13.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6811, allocations: 0 / 0.6581 GB, free: 13.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004109/0.6852, allocations: 1.006 MB / 0.659 GB, free: 12.36 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.007571/0.6927, allocations: 1.175 MB / 0.6602 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001674/0.6944, allocations: 0.5943 MB / 0.6608 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.6944, allocations: 3.984 kB / 0.6608 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007839/0.6952, allocations: 417.6 kB / 0.6612 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.6967, allocations: 217.2 kB / 0.6614 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.6995, allocations: 1.562 MB / 0.6629 GB, free: 8.465 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000686/0.7001, allocations: 0.9599 MB / 0.6638 GB, free: 7.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.7003, allocations: 43.44 kB / 0.6639 GB, free: 7.438 MB / 494.1 MB Notification: Performance of SimCode: time 1.603e-06/0.7003, allocations: 4 kB / 0.6639 GB, free: 7.434 MB / 494.1 MB Notification: Performance of Templates: time 0.04051/0.7408, allocations: 24.2 MB / 0.6875 GB, free: 15.27 MB / 0.5137 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 11.232815804003621]