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.001086/0.001086, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001644/0.002731, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001083/0.001083, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001648/0.002731, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.8065/0.8065, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1305/0.9371, allocations: 49.51 MB / 220.7 MB, free: 1.359 MB / 218.7 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.1195/0.1195, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0186/0.1381, allocations: 12.3 MB / 266.1 MB, free: 3.883 MB / 266.7 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.[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_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.[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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 267.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.747e-05, allocations: 2.312 kB / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01177/0.01178, allocations: 14.79 MB / 282.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1392/0.151, allocations: 11.92 MB / 294.1 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.1512, allocations: 15.59 kB / 294.1 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.1515, allocations: 146.2 kB / 294.3 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005385/0.1568, allocations: 3.327 MB / 297.6 MB, free: 1.414 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002767/0.1596, allocations: 1.928 MB / 299.5 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005763/0.1602, allocations: 0.9404 MB / 300.5 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.1604, allocations: 230.9 kB / 300.7 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005252/0.1609, allocations: 0.569 MB / 301.2 MB, free: 500 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.1611, allocations: 231.1 kB / 301.5 MB, free: 396 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.1612, allocations: 34.38 kB / 301.5 MB, free: 396 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007595/0.1688, allocations: 7.251 MB / 308.8 MB, free: 13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.86e-05/0.1689, allocations: 85.09 kB / 308.8 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.845e-05/0.1689, allocations: 132.2 kB / 309 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003733/0.1727, allocations: 3.973 MB / 312.9 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.1727, allocations: 8 kB / 313 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1727, allocations: 0 / 313 MB, free: 10.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.1727, allocations: 0 / 313 MB, free: 10.05 MB / 298.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.002088/0.1748, allocations: 1.511 MB / 314.5 MB, free: 8.523 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.1748, allocations: 8.031 kB / 314.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008926/0.1757, allocations: 345.5 kB / 314.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.176, allocations: 278.5 kB / 315.1 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.176, allocations: 32.97 kB / 315.1 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.1761, allocations: 32.38 kB / 315.1 MB, free: 7.836 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007181/0.1768, allocations: 0.6683 MB / 315.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1768, allocations: 384 / 315.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.1768, allocations: 19.94 kB / 315.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.1768, allocations: 8.562 kB / 315.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004779/0.1773, allocations: 321.3 kB / 316.2 MB, free: 6.762 MB / 298.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.001154/0.1784, allocations: 1.541 MB / 317.7 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000632/0.1791, allocations: 334.7 kB / 318 MB, free: 4.863 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.583e-05/0.1791, allocations: 63.66 kB / 318.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1165/0.2956, allocations: 72.47 MB / 390.6 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.2956, allocations: 42.5 kB / 390.6 MB, free: 12.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.314e-06/0.2957, allocations: 4 kB / 390.6 MB, free: 12.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.001116/0.2968, allocations: 0.5244 MB / 391.1 MB, free: 11.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.2968, allocations: 55.41 kB / 391.2 MB, free: 11.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.297, allocations: 258.9 kB / 391.4 MB, free: 11.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.297, allocations: 29.7 kB / 391.5 MB, free: 11.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.2971, allocations: 192.9 kB / 391.6 MB, free: 11.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.2971, allocations: 90.84 kB / 391.7 MB, free: 11.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-05/0.2972, allocations: 66.72 kB / 391.8 MB, free: 11.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.2972, allocations: 342.7 kB / 392.1 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.2973, allocations: 51.78 kB / 392.2 MB, free: 10.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.2974, allocations: 204.9 kB / 392.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.2976, allocations: 212.8 kB / 392.6 MB, free: 10.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2976, allocations: 0 / 392.6 MB, free: 10.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002012/0.2978, allocations: 226 kB / 392.8 MB, free: 10.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2978, allocations: 4 kB / 392.8 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2978, allocations: 7.188 kB / 392.8 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2978, allocations: 8 kB / 392.8 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.298, allocations: 87.88 kB / 392.9 MB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.298, allocations: 11.92 kB / 392.9 MB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.2981, allocations: 35.83 kB / 393 MB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.2981, allocations: 12 kB / 393 MB, free: 9.875 MB / 378.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_a.phase,V1.state_b.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 9.624e-05/0.2982, allocations: 132.5 kB / 393.1 MB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.2983, allocations: 31.91 kB / 393.1 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.2993, allocations: 1.119 MB / 394.3 MB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.2993, allocations: 27.95 kB / 394.3 MB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.2993, allocations: 3.984 kB / 394.3 MB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2993, allocations: 0 / 394.3 MB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.2997, allocations: 0.5513 MB / 394.8 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2997, allocations: 0 / 394.8 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.2998, allocations: 67.95 kB / 394.9 MB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.2999, allocations: 84.03 kB / 395 MB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.2999, allocations: 9.297 kB / 395 MB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.2999, allocations: 4 kB / 395 MB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2999, allocations: 0 / 395 MB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2999, allocations: 4 kB / 395 MB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004271/0.3003, allocations: 0.6562 MB / 395.7 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.3004, allocations: 19.84 kB / 395.7 MB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3005, allocations: 29.23 kB / 395.7 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.3005, allocations: 35.92 kB / 395.7 MB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.3005, allocations: 8 kB / 395.8 MB, free: 7.133 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.3006, allocations: 155.5 kB / 395.9 MB, free: 6.988 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3006, allocations: 0 / 395.9 MB, free: 6.988 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001516/0.3022, allocations: 1.006 MB / 396.9 MB, free: 5.98 MB / 378.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.002341/0.3045, allocations: 1.388 MB / 398.3 MB, free: 4.605 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.3048, allocations: 250.7 kB / 398.5 MB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.3048, allocations: 11.98 kB / 398.6 MB, free: 4.348 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.3049, allocations: 230.8 kB / 398.8 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007541/0.3057, allocations: 1.089 MB / 399.9 MB, free: 2.859 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004804/0.3105, allocations: 1.336 MB / 401.2 MB, free: 1.484 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.444e-05/0.3106, allocations: 193.4 kB / 401.4 MB, free: 1.277 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002493/0.3109, allocations: 267.6 kB / 401.7 MB, free: 1.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.3111, allocations: 197.2 kB / 401.8 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3111, allocations: 0 / 401.8 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of Templates: time 0.03343/0.3446, allocations: 39.36 MB / 441.2 MB, free: 9.52 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8623474100604653]