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.001591/0.001591, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.001817/0.001817, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.531/1.531, allocations: 230.2 MB / 255.1 MB, free: 15.26 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.2385/0.2385, allocations: 46.89 MB / 358.1 MB, free: 10.5 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.002248/0.002248, allocations: 83.84 kB / 0.4924 GB, free: 8.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1485, allocations: 65.97 MB / 0.5568 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03521/0.1837, allocations: 28.45 MB / 0.5846 GB, free: 9.375 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3706/0.5543, allocations: 13.33 MB / 0.5976 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004897/0.5548, allocations: 12.56 kB / 0.5976 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008897/0.5556, allocations: 249.4 kB / 0.5978 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01273/0.5684, allocations: 3.685 MB / 0.6014 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008841/0.5772, allocations: 2.375 MB / 0.6038 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001888/0.5791, allocations: 0.8987 MB / 0.6046 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005677/0.5797, allocations: 219.2 kB / 0.6048 GB, free: 4.172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/0.581, allocations: 449.7 kB / 0.6053 GB, free: 4.168 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006196/0.5816, allocations: 286.2 kB / 0.6055 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.476e-05/0.5817, allocations: 37.62 kB / 0.6056 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01927/0.6009, allocations: 7.253 MB / 0.6127 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002926/0.6012, allocations: 102.7 kB / 0.6128 GB, free: 4.078 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005392/0.6018, allocations: 221.8 kB / 0.613 GB, free: 4.023 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01442/0.6162, allocations: 4.431 MB / 0.6173 GB, free: 2.852 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.6162, allocations: 7.625 kB / 0.6173 GB, free: 2.848 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6162, allocations: 1.156 kB / 0.6173 GB, free: 2.848 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.6162, allocations: 3.281 kB / 0.6173 GB, free: 2.848 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.00477/0.621, allocations: 1.269 MB / 0.6185 GB, free: 1.988 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.621, allocations: 10.44 kB / 0.6186 GB, free: 1.988 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/0.6228, allocations: 218.9 kB / 0.6188 GB, free: 1.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006816/0.6235, allocations: 390.2 kB / 0.6191 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/0.6235, allocations: 24.84 kB / 0.6192 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.01e-05/0.6236, allocations: 30.56 kB / 0.6192 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.6252, allocations: 0.5934 MB / 0.6198 GB, free: 1.348 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.6252, allocations: 1.531 kB / 0.6198 GB, free: 1.348 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/0.6252, allocations: 14.84 kB / 0.6198 GB, free: 1.348 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.6252, allocations: 6.875 kB / 0.6198 GB, free: 1.348 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.6269, allocations: 0.5495 MB / 0.6203 GB, free: 1.117 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.003397/0.6303, allocations: 2.619 MB / 0.6229 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.632, allocations: 459.3 kB / 0.6233 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005107/0.6325, allocations: 189.2 kB / 0.6235 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05608/0.6886, allocations: 26.87 MB / 0.6497 GB, free: 6.008 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.571e-05/0.6886, allocations: 38.56 kB / 0.6498 GB, free: 5.961 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 1.994e-06/0.6887, allocations: 0 / 0.6498 GB, free: 5.961 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003225/0.6919, allocations: 0.8248 MB / 0.6506 GB, free: 5.129 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.265e-05/0.692, allocations: 106.8 kB / 0.6507 GB, free: 5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004071/0.6924, allocations: 312.5 kB / 0.651 GB, free: 4.691 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.6924, allocations: 33.69 kB / 0.651 GB, free: 4.652 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.6926, allocations: 204.6 kB / 0.6512 GB, free: 4.449 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.294e-05/0.6927, allocations: 89.31 kB / 0.6513 GB, free: 4.363 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.6928, allocations: 73.64 kB / 0.6514 GB, free: 4.285 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.693, allocations: 346.7 kB / 0.6517 GB, free: 3.941 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004584/0.6935, allocations: 149.4 kB / 0.6518 GB, free: 3.797 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/0.694, allocations: 248.4 kB / 0.6521 GB, free: 3.516 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009694/0.695, allocations: 382.5 kB / 0.6524 GB, free: 3.109 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.695, allocations: 4 kB / 0.6525 GB, free: 3.105 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001179/0.6962, allocations: 437 kB / 0.6529 GB, free: 2.672 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.6962, allocations: 4 kB / 0.6529 GB, free: 2.668 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6962, allocations: 8.312 kB / 0.6529 GB, free: 2.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.6962, allocations: 4 kB / 0.6529 GB, free: 2.656 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.6966, allocations: 100.7 kB / 0.653 GB, free: 2.559 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.6966, allocations: 4 kB / 0.653 GB, free: 2.555 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.697, allocations: 51.7 kB / 0.653 GB, free: 2.504 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.697, allocations: 19.98 kB / 0.6531 GB, free: 2.484 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.0002285/0.6972, allocations: 161.7 kB / 0.6532 GB, free: 2.316 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-05/0.6973, allocations: 31.81 kB / 0.6532 GB, free: 2.285 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002822/0.7002, allocations: 1.917 MB / 0.6551 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-05/0.7002, allocations: 31.89 kB / 0.6551 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7002, allocations: 0 / 0.6551 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.7002, allocations: 3.984 kB / 0.6551 GB, free: 336 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.7015, allocations: 1.021 MB / 0.6561 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.7015, allocations: 0 / 0.6561 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/0.7018, allocations: 75.94 kB / 0.6562 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.7018, allocations: 3.938 kB / 0.6562 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.7019, allocations: 11.98 kB / 0.6562 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.7019, allocations: 7.875 kB / 0.6562 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7019, allocations: 0 / 0.6562 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.7036, allocations: 1.101 MB / 0.6573 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.7038, allocations: 168.2 kB / 0.6575 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/0.7039, allocations: 23.83 kB / 0.6575 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.7042, allocations: 39.84 kB / 0.6575 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.7043, allocations: 31.95 kB / 0.6576 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.7043, allocations: 11.98 kB / 0.6576 GB, free: 13.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000414/0.7047, allocations: 331.1 kB / 0.6579 GB, free: 13.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7047, allocations: 0 / 0.6579 GB, free: 13.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004008/0.7087, allocations: 1.006 MB / 0.6589 GB, free: 12.44 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.006199/0.7149, allocations: 1.189 MB / 0.66 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.7165, allocations: 0.5949 MB / 0.6606 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.7165, allocations: 4 kB / 0.6606 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007138/0.7172, allocations: 417 kB / 0.661 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.7185, allocations: 218.8 kB / 0.6612 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.7209, allocations: 1.557 MB / 0.6627 GB, free: 8.543 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/0.7215, allocations: 0.9677 MB / 0.6637 GB, free: 7.551 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.7216, allocations: 47.42 kB / 0.6637 GB, free: 7.504 MB / 494.1 MB Notification: Performance of SimCode: time 8.72e-07/0.7216, allocations: 0 / 0.6637 GB, free: 7.504 MB / 494.1 MB Notification: Performance of Templates: time 0.04098/0.7626, allocations: 24.2 MB / 0.6874 GB, free: 15.33 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_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: 11.27930213115178]