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.001365/0.001365, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.001464/0.001464, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 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 0.946/0.946, allocations: 177.1 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] 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.2534/0.2534, allocations: 34.25 MB / 295.7 MB, free: 0.7188 MB / 266.7 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.[0-9,]+..m_flow|SourceP1.ports.[0-9,]+..p|SourceP1.ports.[0-9,]+..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.[0-9,]+..m_flow|SinkP1.ports.[0-9,]+..p|SinkP1.ports.[0-9,]+..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.[0-9,]+..m_flow|SourceP1.ports.[0-9,]+..p|SourceP1.ports.[0-9,]+..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.[0-9,]+..m_flow|SinkP1.ports.[0-9,]+..p|SinkP1.ports.[0-9,]+..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 2.655e-06/2.655e-06, allocations: 0 / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.995e-05, allocations: 9.344 kB / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01351/0.01354, allocations: 14.86 MB / 392.9 MB, free: 3.742 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.02441, allocations: 11.87 MB / 404.8 MB, free: 7.832 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002675/0.02468, allocations: 11.88 kB / 404.8 MB, free: 7.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.02516, allocations: 138.9 kB / 404.9 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00758/0.03274, allocations: 3.705 MB / 408.6 MB, free: 3.965 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004299/0.03704, allocations: 2.074 MB / 410.7 MB, free: 1.883 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001003/0.03804, allocations: 0.9468 MB / 411.6 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003982/0.03844, allocations: 225 kB / 411.9 MB, free: 0.707 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008055/0.03924, allocations: 0.5416 MB / 412.4 MB, free: 168 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.03956, allocations: 243.3 kB / 412.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.368e-05/0.03961, allocations: 32 kB / 412.7 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01232/0.05193, allocations: 6.766 MB / 419.4 MB, free: 9.121 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.05207, allocations: 111.6 kB / 419.5 MB, free: 9.012 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.05227, allocations: 159.7 kB / 419.7 MB, free: 8.855 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007105/0.05937, allocations: 5.246 MB / 424.9 MB, free: 3.598 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.05938, allocations: 0 / 424.9 MB, free: 3.598 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.05938, allocations: 3.984 kB / 424.9 MB, free: 3.594 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.05939, allocations: 0 / 424.9 MB, free: 3.594 MB / 394.7 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.001941/0.06133, allocations: 1.233 MB / 426.2 MB, free: 2.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.06137, allocations: 16.03 kB / 426.2 MB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009803/0.06235, allocations: 299.7 kB / 426.5 MB, free: 2.012 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.06272, allocations: 335.2 kB / 426.8 MB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.06275, allocations: 29.03 kB / 426.8 MB, free: 1.633 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.06278, allocations: 28.38 kB / 426.9 MB, free: 1.605 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008804/0.06367, allocations: 0.7061 MB / 427.6 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.06368, allocations: 8.125 kB / 427.6 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.06371, allocations: 19.88 kB / 427.6 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.06372, allocations: 8 kB / 427.6 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006226/0.06434, allocations: 367.3 kB / 428 MB, free: 420 kB / 394.7 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.00172/0.06606, allocations: 2.265 MB / 430.2 MB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007238/0.06678, allocations: 358.7 kB / 430.6 MB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.0669, allocations: 87.58 kB / 430.7 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02276/0.08966, allocations: 13.21 MB / 443.9 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.0897, allocations: 37.39 kB / 443.9 MB, free: 348 kB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.914e-06/0.0897, allocations: 0 / 443.9 MB, free: 348 kB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.1462/0.2359, allocations: 0.5948 MB / 444.5 MB, free: 77.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.2359, allocations: 105.7 kB / 444.6 MB, free: 77.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.2362, allocations: 323.8 kB / 444.9 MB, free: 77.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.2362, allocations: 28.95 kB / 445 MB, free: 77.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.2363, allocations: 260.8 kB / 445.2 MB, free: 77.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.2364, allocations: 94.36 kB / 445.3 MB, free: 77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.799e-05/0.2365, allocations: 71.38 kB / 445.4 MB, free: 76.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.2365, allocations: 0.5132 MB / 445.9 MB, free: 76.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.2367, allocations: 63.8 kB / 446 MB, free: 76.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.2369, allocations: 250 kB / 446.2 MB, free: 76.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.2371, allocations: 249.2 kB / 446.4 MB, free: 76.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.2371, allocations: 0 / 446.4 MB, free: 76.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004622/0.2376, allocations: 317 kB / 446.8 MB, free: 76.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.2376, allocations: 9.469 kB / 446.8 MB, free: 76.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.2376, allocations: 2.875 kB / 446.8 MB, free: 76.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.2376, allocations: 5.609 kB / 446.8 MB, free: 76.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.2379, allocations: 76.59 kB / 446.8 MB, free: 76.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.2379, allocations: 8.578 kB / 446.9 MB, free: 76.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.2381, allocations: 36.84 kB / 446.9 MB, free: 76.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.2381, allocations: 14.03 kB / 446.9 MB, free: 76.08 MB / 410.7 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.000113/0.2382, allocations: 181.1 kB / 447.1 MB, free: 75.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.054e-05/0.2383, allocations: 41.91 kB / 447.1 MB, free: 75.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.2394, allocations: 1.233 MB / 448.4 MB, free: 75.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.2395, allocations: 28.61 kB / 448.4 MB, free: 75.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2395, allocations: 0 / 448.4 MB, free: 75.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.2395, allocations: 7.438 kB / 448.4 MB, free: 75.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005478/0.24, allocations: 0.6624 MB / 449 MB, free: 75.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.24, allocations: 7.219 kB / 449.1 MB, free: 75.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.2402, allocations: 56.03 kB / 449.1 MB, free: 75.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2402, allocations: 6.125 kB / 449.1 MB, free: 75.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.2402, allocations: 10.09 kB / 449.1 MB, free: 75.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2402, allocations: 3 kB / 449.1 MB, free: 75.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2402, allocations: 0 / 449.1 MB, free: 75.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007225/0.241, allocations: 0.826 MB / 450 MB, free: 75.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.241, allocations: 91.27 kB / 450 MB, free: 75.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.2411, allocations: 27.59 kB / 450.1 MB, free: 75.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.2412, allocations: 18.62 kB / 450.1 MB, free: 75.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/0.2413, allocations: 35.81 kB / 450.1 MB, free: 75.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.2413, allocations: 5.938 kB / 450.1 MB, free: 75.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000205/0.2415, allocations: 310.1 kB / 450.4 MB, free: 75.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2415, allocations: 0 / 450.4 MB, free: 75.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002272/0.2438, allocations: 1.009 MB / 451.4 MB, free: 75.05 MB / 410.7 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.003045/0.2469, allocations: 1.279 MB / 452.7 MB, free: 74.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004221/0.2473, allocations: 315.2 kB / 453 MB, free: 74.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2473, allocations: 3.75 kB / 453 MB, free: 74.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.2475, allocations: 261.2 kB / 453.3 MB, free: 74.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006142/0.2481, allocations: 225.2 kB / 453.5 MB, free: 74.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.2496, allocations: 1.348 MB / 454.9 MB, free: 74.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.288e-05/0.2496, allocations: 182.8 kB / 455 MB, free: 74.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002699/0.2499, allocations: 272.3 kB / 455.3 MB, free: 74.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.847e-05/0.25, allocations: 38.03 kB / 455.3 MB, free: 74.22 MB / 410.7 MB Notification: Performance of SimCode: time 1.532e-06/0.25, allocations: 3.094 kB / 455.3 MB, free: 74.22 MB / 410.7 MB Notification: Performance of Templates: time 0.03702/0.287, allocations: 39.93 MB / 495.3 MB, free: 65.47 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9272754597477615]