Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001465/0.001465, allocations: 105 kB / 20.44 MB, free: 1.504 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.001584/0.001584, allocations: 217.3 kB / 23.76 MB, free: 4.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 207.6 MB / 234.5 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2012/0.2012, allocations: 44.24 MB / 331 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002268/0.002268, allocations: 76.48 kB / 468.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1082, allocations: 61.04 MB / 0.5174 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2293/0.3374, allocations: 28.52 MB / 0.5452 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01376/0.3512, allocations: 13.39 MB / 0.5583 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005873/0.3518, allocations: 18.31 kB / 0.5583 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008296/0.3526, allocations: 253.7 kB / 0.5586 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01141/0.364, allocations: 3.665 MB / 0.5621 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007281/0.3713, allocations: 2.384 MB / 0.5645 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001357/0.3727, allocations: 0.9075 MB / 0.5654 GB, free: 4.531 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004896/0.3732, allocations: 208.9 kB / 0.5656 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.3742, allocations: 463.2 kB / 0.566 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005195/0.3747, allocations: 279.2 kB / 0.5663 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.3748, allocations: 42.28 kB / 0.5663 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01536/0.3902, allocations: 7.243 MB / 0.5734 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.3904, allocations: 105.8 kB / 0.5735 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003762/0.3908, allocations: 232.3 kB / 0.5737 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009942/0.4007, allocations: 4.41 MB / 0.578 GB, free: 14.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4007, allocations: 1 kB / 0.578 GB, free: 14.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4007, allocations: 0 / 0.578 GB, free: 14.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.4007, allocations: 0 / 0.578 GB, free: 14.45 MB / 430.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.004273/0.405, allocations: 1.202 MB / 0.5792 GB, free: 13.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.405, allocations: 9.875 kB / 0.5792 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.4068, allocations: 219.8 kB / 0.5794 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007306/0.4075, allocations: 322.8 kB / 0.5797 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.4075, allocations: 26.41 kB / 0.5797 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.374e-05/0.4076, allocations: 27.53 kB / 0.5798 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.4092, allocations: 0.592 MB / 0.5803 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.4092, allocations: 3.938 kB / 0.5803 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/0.4092, allocations: 19.72 kB / 0.5804 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.4092, allocations: 8.719 kB / 0.5804 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.4109, allocations: 0.5457 MB / 0.5809 GB, free: 12.54 MB / 430.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.003424/0.4143, allocations: 2.51 MB / 0.5833 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.4158, allocations: 454.4 kB / 0.5838 GB, free: 9.953 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004608/0.4163, allocations: 189 kB / 0.584 GB, free: 9.855 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04261/0.4589, allocations: 12.67 MB / 0.5963 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.459, allocations: 39.64 kB / 0.5964 GB, free: 2.293 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 2.144e-06/0.459, allocations: 0 / 0.5964 GB, free: 2.293 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.00291/0.4619, allocations: 0.8254 MB / 0.5972 GB, free: 1.461 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.4619, allocations: 106.8 kB / 0.5973 GB, free: 1.332 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004097/0.4623, allocations: 312.5 kB / 0.5976 GB, free: 1.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.4624, allocations: 33.7 kB / 0.5976 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.4626, allocations: 204.5 kB / 0.5978 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.722e-05/0.4626, allocations: 87.27 kB / 0.5979 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.4628, allocations: 73.64 kB / 0.598 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4629, allocations: 342.8 kB / 0.5983 GB, free: 276 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/0.4633, allocations: 155.8 kB / 0.5984 GB, free: 120 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005015/0.4638, allocations: 243 kB / 0.5987 GB, free: 15.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008707/0.4647, allocations: 377.1 kB / 0.599 GB, free: 15.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4647, allocations: 4 kB / 0.599 GB, free: 15.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001053/0.4658, allocations: 437 kB / 0.5994 GB, free: 15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4658, allocations: 8 kB / 0.5995 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.4658, allocations: 320 / 0.5995 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.4658, allocations: 8 kB / 0.5995 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/0.4661, allocations: 91.81 kB / 0.5996 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.4662, allocations: 11.97 kB / 0.5996 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.4665, allocations: 63.58 kB / 0.5996 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.4665, allocations: 12 kB / 0.5996 GB, free: 14.8 MB / 446.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.0001981/0.4667, allocations: 161.8 kB / 0.5998 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.4668, allocations: 31.81 kB / 0.5998 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002645/0.4695, allocations: 1.989 MB / 0.6018 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3e-05/0.4695, allocations: 34.89 kB / 0.6018 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.4695, allocations: 7.984 kB / 0.6018 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4695, allocations: 0 / 0.6018 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.4706, allocations: 1.015 MB / 0.6028 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.4706, allocations: 0 / 0.6028 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.4709, allocations: 83.86 kB / 0.6029 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4709, allocations: 0 / 0.6029 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.471, allocations: 12 kB / 0.6029 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.471, allocations: 3.938 kB / 0.6029 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.471, allocations: 0 / 0.6029 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.4726, allocations: 1.136 MB / 0.604 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.4727, allocations: 91.05 kB / 0.6041 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-05/0.4728, allocations: 23.84 kB / 0.6041 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.4731, allocations: 35.89 kB / 0.6041 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-05/0.4732, allocations: 39.94 kB / 0.6042 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.4732, allocations: 8 kB / 0.6042 GB, free: 10.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003726/0.4736, allocations: 323.1 kB / 0.6045 GB, free: 9.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4736, allocations: 0 / 0.6045 GB, free: 9.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003442/0.477, allocations: 1.002 MB / 0.6055 GB, free: 8.746 MB / 446.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.005594/0.4826, allocations: 1.171 MB / 0.6066 GB, free: 7.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.4839, allocations: 0.6142 MB / 0.6072 GB, free: 6.973 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4839, allocations: 0.625 kB / 0.6072 GB, free: 6.973 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000698/0.4846, allocations: 433 kB / 0.6076 GB, free: 6.547 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.4857, allocations: 221.5 kB / 0.6078 GB, free: 6.336 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.4881, allocations: 1.593 MB / 0.6094 GB, free: 4.711 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/0.4887, allocations: 0.9638 MB / 0.6103 GB, free: 3.719 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.4888, allocations: 47.42 kB / 0.6104 GB, free: 3.672 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4888, allocations: 4 kB / 0.6104 GB, free: 3.668 MB / 446.1 MB Notification: Performance of Templates: time 0.03691/0.5257, allocations: 24.04 MB / 0.6339 GB, free: 11.61 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.442249150946736]