Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001422/0.001422, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001578/0.001578, allocations: 209.6 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2289/0.2289, allocations: 46.96 MB / 360.9 MB, free: 4.043 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 63.91 kB / 0.4966 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.318, allocations: 66.04 MB / 0.5611 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03362/0.3516, allocations: 25.92 MB / 0.5864 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01708/0.3687, allocations: 11.78 MB / 0.5979 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003476/0.369, allocations: 15.81 kB / 0.5979 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007541/0.3698, allocations: 230.5 kB / 0.5981 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009709/0.3795, allocations: 3.647 MB / 0.6017 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00646/0.3859, allocations: 2.348 MB / 0.604 GB, free: 8.141 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001417/0.3873, allocations: 0.908 MB / 0.6049 GB, free: 7.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003978/0.3877, allocations: 212.9 kB / 0.6051 GB, free: 7.016 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008549/0.3886, allocations: 450.2 kB / 0.6055 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003782/0.389, allocations: 266.8 kB / 0.6057 GB, free: 6.312 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.652e-05/0.389, allocations: 36 kB / 0.6058 GB, free: 6.277 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01383/0.4029, allocations: 6.903 MB / 0.6125 GB, free: 15.37 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.4031, allocations: 99.66 kB / 0.6126 GB, free: 15.27 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002943/0.4033, allocations: 191.2 kB / 0.6128 GB, free: 15.08 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009661/0.413, allocations: 4.42 MB / 0.6171 GB, free: 10.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.413, allocations: 0 / 0.6171 GB, free: 10.65 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.413, allocations: 0 / 0.6171 GB, free: 10.65 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.413, allocations: 0 / 0.6171 GB, free: 10.65 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.003293/0.4163, allocations: 1.203 MB / 0.6183 GB, free: 9.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.4164, allocations: 8.031 kB / 0.6183 GB, free: 9.402 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.418, allocations: 216.5 kB / 0.6185 GB, free: 9.191 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007051/0.4188, allocations: 309.3 kB / 0.6188 GB, free: 8.859 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/0.4188, allocations: 29.03 kB / 0.6188 GB, free: 8.832 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/0.4189, allocations: 24.38 kB / 0.6189 GB, free: 8.809 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.4206, allocations: 0.7524 MB / 0.6196 GB, free: 7.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.4206, allocations: 11.81 kB / 0.6196 GB, free: 7.969 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/0.4206, allocations: 16 kB / 0.6196 GB, free: 7.953 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.4207, allocations: 11.98 kB / 0.6196 GB, free: 7.941 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.4224, allocations: 0.5371 MB / 0.6201 GB, free: 7.402 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.003091/0.4255, allocations: 1.852 MB / 0.622 GB, free: 5.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.4272, allocations: 454.1 kB / 0.6224 GB, free: 5.027 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005023/0.4277, allocations: 184.7 kB / 0.6226 GB, free: 4.844 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04976/0.4774, allocations: 13.21 MB / 0.6355 GB, free: 7.617 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.4775, allocations: 42.5 kB / 0.6355 GB, free: 7.566 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.174e-06/0.4775, allocations: 0 / 0.6355 GB, free: 7.566 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003104/0.4806, allocations: 0.8093 MB / 0.6363 GB, free: 6.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.692e-05/0.4807, allocations: 110.8 kB / 0.6364 GB, free: 6.617 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/0.4811, allocations: 276.5 kB / 0.6367 GB, free: 6.344 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.4811, allocations: 29.7 kB / 0.6367 GB, free: 6.309 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.4813, allocations: 216.4 kB / 0.6369 GB, free: 6.094 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.4814, allocations: 83.28 kB / 0.637 GB, free: 6.012 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.4815, allocations: 69.69 kB / 0.637 GB, free: 5.938 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.4817, allocations: 342.8 kB / 0.6374 GB, free: 5.594 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/0.4822, allocations: 147.9 kB / 0.6375 GB, free: 5.449 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005793/0.4827, allocations: 299.1 kB / 0.6378 GB, free: 5.105 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009445/0.4837, allocations: 381.9 kB / 0.6382 GB, free: 4.699 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4837, allocations: 0 / 0.6382 GB, free: 4.699 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001142/0.4848, allocations: 452.8 kB / 0.6386 GB, free: 4.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4848, allocations: 4 kB / 0.6386 GB, free: 4.246 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4849, allocations: 8 kB / 0.6386 GB, free: 4.238 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.4849, allocations: 4 kB / 0.6386 GB, free: 4.234 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/0.4852, allocations: 84.19 kB / 0.6387 GB, free: 4.152 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.4852, allocations: 11.94 kB / 0.6387 GB, free: 4.141 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.4855, allocations: 47.8 kB / 0.6387 GB, free: 4.094 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.4856, allocations: 16 kB / 0.6388 GB, free: 4.078 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.0002152/0.4858, allocations: 161.7 kB / 0.6389 GB, free: 3.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.732e-05/0.4859, allocations: 31.81 kB / 0.6389 GB, free: 3.879 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/0.4888, allocations: 2.001 MB / 0.6409 GB, free: 1.871 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.312e-05/0.4888, allocations: 35.95 kB / 0.6409 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.4888, allocations: 3.938 kB / 0.6409 GB, free: 1.832 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.4888, allocations: 3.984 kB / 0.6409 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.4898, allocations: 0.8594 MB / 0.6418 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4898, allocations: 0 / 0.6418 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/0.4902, allocations: 79.86 kB / 0.6419 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.4902, allocations: 4 kB / 0.6419 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.4902, allocations: 8 kB / 0.6419 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4902, allocations: 4 kB / 0.6419 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4902, allocations: 0 / 0.6419 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.492, allocations: 1.128 MB / 0.643 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.4921, allocations: 91.16 kB / 0.6431 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.138e-05/0.4922, allocations: 31.72 kB / 0.6431 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.4924, allocations: 31.95 kB / 0.6431 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.4925, allocations: 35.88 kB / 0.6432 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.4926, allocations: 19.94 kB / 0.6432 GB, free: 15.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003585/0.4929, allocations: 303.1 kB / 0.6435 GB, free: 15.19 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4929, allocations: 0 / 0.6435 GB, free: 15.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002574/0.4955, allocations: 1.006 MB / 0.6444 GB, free: 14.18 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.004444/0.4999, allocations: 1.168 MB / 0.6456 GB, free: 13 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.5013, allocations: 0.606 MB / 0.6462 GB, free: 12.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5013, allocations: 0 / 0.6462 GB, free: 12.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007734/0.5021, allocations: 437.6 kB / 0.6466 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.5031, allocations: 197.8 kB / 0.6468 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.5056, allocations: 1.546 MB / 0.6483 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.506, allocations: 378.1 kB / 0.6487 GB, free: 9.809 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004786/0.5065, allocations: 274.8 kB / 0.6489 GB, free: 9.539 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.5066, allocations: 43.42 kB / 0.649 GB, free: 9.496 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5066, allocations: 0 / 0.649 GB, free: 9.496 MB / 494.1 MB Notification: Performance of Templates: time 0.06254/0.5691, allocations: 40.2 MB / 0.6882 GB, free: 1.473 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 7.868621848523617]