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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001449/0.001449, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001652/0.001652, allocations: 217 kB / 24.5 MB, free: 4.133 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.342/1.342, allocations: 230.5 MB / 258.1 MB, free: 8.02 MB / 206.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.2114/0.2114, allocations: 46.92 MB / 361.5 MB, free: 4.199 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.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.002268/0.002268, allocations: 75.88 kB / 0.4974 GB, free: 7.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2948, allocations: 66.09 MB / 0.562 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.0323/0.3271, allocations: 28.67 MB / 0.59 GB, free: 7.465 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01672/0.3438, allocations: 13.39 MB / 0.603 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003005/0.3441, allocations: 19.81 kB / 0.6031 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007022/0.3448, allocations: 254.4 kB / 0.6033 GB, free: 9.762 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008843/0.3537, allocations: 3.674 MB / 0.6069 GB, free: 6.086 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005927/0.3596, allocations: 2.39 MB / 0.6092 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.3608, allocations: 0.9158 MB / 0.6101 GB, free: 2.781 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.3612, allocations: 212.9 kB / 0.6103 GB, free: 2.566 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007619/0.362, allocations: 462.2 kB / 0.6108 GB, free: 2.113 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003688/0.3623, allocations: 286.8 kB / 0.611 GB, free: 1.832 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.236e-05/0.3624, allocations: 36 kB / 0.6111 GB, free: 1.797 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01356/0.3759, allocations: 7.262 MB / 0.6182 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.3761, allocations: 95.67 kB / 0.6182 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00031/0.3764, allocations: 227 kB / 0.6185 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009574/0.386, allocations: 4.431 MB / 0.6228 GB, free: 5.766 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.386, allocations: 0 / 0.6228 GB, free: 5.766 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.386, allocations: 0 / 0.6228 GB, free: 5.766 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.386, allocations: 0 / 0.6228 GB, free: 5.766 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.003037/0.3891, allocations: 1.219 MB / 0.624 GB, free: 4.512 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3891, allocations: 8.031 kB / 0.624 GB, free: 4.504 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.3907, allocations: 208.5 kB / 0.6242 GB, free: 4.301 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006047/0.3913, allocations: 313.2 kB / 0.6245 GB, free: 3.965 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.3914, allocations: 25.03 kB / 0.6245 GB, free: 3.941 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.782e-05/0.3914, allocations: 32.31 kB / 0.6245 GB, free: 3.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.3929, allocations: 0.5902 MB / 0.6251 GB, free: 3.281 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3929, allocations: 8 kB / 0.6251 GB, free: 3.273 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.393, allocations: 16 kB / 0.6251 GB, free: 3.258 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.393, allocations: 8 kB / 0.6251 GB, free: 3.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.3946, allocations: 0.5448 MB / 0.6257 GB, free: 2.703 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.00314/0.3977, allocations: 2.527 MB / 0.6281 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.3993, allocations: 459.4 kB / 0.6286 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004527/0.3998, allocations: 184.7 kB / 0.6288 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04331/0.4431, allocations: 13.14 MB / 0.6416 GB, free: 2.16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.4431, allocations: 38.56 kB / 0.6416 GB, free: 2.113 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 1.943e-06/0.4431, allocations: 0 / 0.6416 GB, free: 2.113 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.002893/0.446, allocations: 0.8247 MB / 0.6424 GB, free: 1.281 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.138e-05/0.4461, allocations: 110.8 kB / 0.6425 GB, free: 1.148 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004005/0.4465, allocations: 312.5 kB / 0.6428 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.4466, allocations: 29.7 kB / 0.6429 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.4467, allocations: 208.6 kB / 0.6431 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.119e-05/0.4468, allocations: 87.22 kB / 0.6432 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.4469, allocations: 69.69 kB / 0.6432 GB, free: 448 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.4471, allocations: 342.8 kB / 0.6435 GB, free: 96 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.4475, allocations: 147.9 kB / 0.6437 GB, free: 15.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004999/0.448, allocations: 243.8 kB / 0.6439 GB, free: 15.67 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008581/0.4489, allocations: 381 kB / 0.6443 GB, free: 15.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4489, allocations: 0 / 0.6443 GB, free: 15.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001054/0.4499, allocations: 449.9 kB / 0.6447 GB, free: 14.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.4499, allocations: 6.188 kB / 0.6447 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4499, allocations: 4 kB / 0.6447 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.45, allocations: 7.938 kB / 0.6447 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/0.4504, allocations: 91.86 kB / 0.6448 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.4504, allocations: 8 kB / 0.6448 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.4507, allocations: 55.88 kB / 0.6449 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.4507, allocations: 16 kB / 0.6449 GB, free: 14.64 MB / 494.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.0002041/0.4509, allocations: 161.7 kB / 0.645 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.451, allocations: 43.75 kB / 0.6451 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/0.4537, allocations: 1.987 MB / 0.647 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.545e-05/0.4537, allocations: 35.88 kB / 0.6471 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4538, allocations: 4 kB / 0.6471 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4538, allocations: 0 / 0.6471 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.455, allocations: 1.015 MB / 0.6481 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.455, allocations: 0 / 0.6481 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/0.4554, allocations: 79.86 kB / 0.6481 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.4554, allocations: 0 / 0.6481 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.4554, allocations: 8 kB / 0.6481 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.4554, allocations: 7.938 kB / 0.6481 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4554, allocations: 4 kB / 0.6482 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.4571, allocations: 1.128 MB / 0.6493 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.4572, allocations: 91.11 kB / 0.6493 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.733e-05/0.4573, allocations: 23.78 kB / 0.6494 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.4576, allocations: 35.89 kB / 0.6494 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.852e-05/0.4577, allocations: 35.94 kB / 0.6494 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.4577, allocations: 8 kB / 0.6494 GB, free: 9.887 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003948/0.4581, allocations: 335.1 kB / 0.6498 GB, free: 9.559 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4581, allocations: 0 / 0.6498 GB, free: 9.559 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002645/0.4607, allocations: 1.002 MB / 0.6507 GB, free: 8.555 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.003392/0.4641, allocations: 1.168 MB / 0.6519 GB, free: 7.375 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.4654, allocations: 0.6146 MB / 0.6525 GB, free: 6.762 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4654, allocations: 0 / 0.6525 GB, free: 6.762 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006879/0.4661, allocations: 429 kB / 0.6529 GB, free: 6.344 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.4671, allocations: 209.7 kB / 0.6531 GB, free: 6.145 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.4694, allocations: 1.603 MB / 0.6547 GB, free: 4.504 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005851/0.47, allocations: 0.9677 MB / 0.6556 GB, free: 3.508 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.4701, allocations: 43.38 kB / 0.6556 GB, free: 3.465 MB / 494.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4701, allocations: 0 / 0.6556 GB, free: 3.465 MB / 494.1 MB Notification: Performance of Templates: time 0.03566/0.5058, allocations: 24.18 MB / 0.6792 GB, free: 11.3 MB / 0.5137 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.1.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 [Calling sys.exit(0), Time elapsed: 9.705366496928036]