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.001926/0.001926, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002393/0.002393, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.477/1.477, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 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.3457/0.3457, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 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 2.595e-06/2.595e-06, allocations: 0 / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.82e-05/5.08e-05, allocations: 4.562 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03817/0.03822, allocations: 25.76 MB / 403 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01778/0.056, allocations: 11.79 MB / 414.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003666/0.05637, allocations: 15.88 kB / 414.8 MB, free: 13.19 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007861/0.05715, allocations: 222.4 kB / 415 MB, free: 12.97 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0107/0.06785, allocations: 3.701 MB / 418.7 MB, free: 9.258 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00741/0.07526, allocations: 2.39 MB / 421.1 MB, free: 6.859 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001463/0.07672, allocations: 0.9195 MB / 422 MB, free: 5.934 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004221/0.07714, allocations: 213.1 kB / 422.2 MB, free: 5.723 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009808/0.07812, allocations: 0.549 MB / 422.8 MB, free: 5.172 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003707/0.0785, allocations: 247.3 kB / 423 MB, free: 4.93 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.409e-05/0.07856, allocations: 32 kB / 423 MB, free: 4.898 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01532/0.09388, allocations: 6.91 MB / 429.9 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.0941, allocations: 107.6 kB / 430.1 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003403/0.09444, allocations: 159.7 kB / 430.2 MB, free: 13.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01369/0.1081, allocations: 5.554 MB / 435.8 MB, free: 8.152 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1081, allocations: 4 kB / 435.8 MB, free: 8.148 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1081, allocations: 0 / 435.8 MB, free: 8.148 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1081, allocations: 0 / 435.8 MB, free: 8.148 MB / 410.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.003395/0.1115, allocations: 1.188 MB / 437 MB, free: 6.926 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.1116, allocations: 12.03 kB / 437 MB, free: 6.914 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.1134, allocations: 323.6 kB / 437.3 MB, free: 6.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006524/0.1141, allocations: 320.5 kB / 437.6 MB, free: 6.258 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.1141, allocations: 29.03 kB / 437.6 MB, free: 6.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.027e-05/0.1142, allocations: 32.38 kB / 437.7 MB, free: 6.199 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.116, allocations: 0.7413 MB / 438.4 MB, free: 5.379 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.116, allocations: 192 / 438.4 MB, free: 5.379 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/0.116, allocations: 15.94 kB / 438.4 MB, free: 5.363 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.1161, allocations: 12 kB / 438.4 MB, free: 5.352 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.1178, allocations: 0.5488 MB / 439 MB, free: 4.805 MB / 410.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.003053/0.1209, allocations: 1.852 MB / 440.8 MB, free: 2.883 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.1226, allocations: 446.1 kB / 441.3 MB, free: 2.438 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/0.1231, allocations: 188.7 kB / 441.4 MB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2217/0.3448, allocations: 13.2 MB / 454.6 MB, free: 102.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.3449, allocations: 33.66 kB / 454.7 MB, free: 102.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.144e-06/0.3449, allocations: 0 / 454.7 MB, free: 102.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.002868/0.3477, allocations: 0.861 MB / 455.5 MB, free: 102.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.3478, allocations: 109.6 kB / 455.6 MB, free: 102.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.348, allocations: 278.8 kB / 455.9 MB, free: 102.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.3481, allocations: 33.7 kB / 456 MB, free: 102 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.875e-05/0.3482, allocations: 214.8 kB / 456.2 MB, free: 101.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.74e-05/0.3482, allocations: 92.34 kB / 456.3 MB, free: 101.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.3483, allocations: 69.81 kB / 456.3 MB, free: 101.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.322e-05/0.3484, allocations: 346.5 kB / 456.7 MB, free: 101.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.3488, allocations: 143 kB / 456.8 MB, free: 101.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.3492, allocations: 301.2 kB / 457.1 MB, free: 101.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007949/0.35, allocations: 370.8 kB / 457.5 MB, free: 101.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.35, allocations: 0 / 457.5 MB, free: 101.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009839/0.351, allocations: 459.3 kB / 457.9 MB, free: 100.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.351, allocations: 6.625 kB / 457.9 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.351, allocations: 6.406 kB / 457.9 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/0.351, allocations: 3.125 kB / 457.9 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.3514, allocations: 87.89 kB / 458 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.3514, allocations: 7.031 kB / 458 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/0.3517, allocations: 58.02 kB / 458.1 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.3517, allocations: 13.91 kB / 458.1 MB, free: 100.9 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.0001513/0.3518, allocations: 163 kB / 458.2 MB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.35e-05/0.3519, allocations: 42.31 kB / 458.3 MB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.3541, allocations: 1.998 MB / 460.3 MB, free: 99.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/0.3541, allocations: 31.09 kB / 460.3 MB, free: 99.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3541, allocations: 0 / 460.3 MB, free: 99.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.3541, allocations: 3.422 kB / 460.3 MB, free: 99.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000735/0.3549, allocations: 0.8683 MB / 461.2 MB, free: 99.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3549, allocations: 4 kB / 461.2 MB, free: 99.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.3552, allocations: 78.03 kB / 461.3 MB, free: 99.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3552, allocations: 0 / 461.3 MB, free: 99.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.3552, allocations: 10.53 kB / 461.3 MB, free: 99.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.3552, allocations: 3.094 kB / 461.3 MB, free: 99.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3552, allocations: 0 / 461.3 MB, free: 99.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.3566, allocations: 1.154 MB / 462.4 MB, free: 98.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.891e-05/0.3567, allocations: 85.88 kB / 462.5 MB, free: 98.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.108e-05/0.3568, allocations: 25.19 kB / 462.5 MB, free: 98.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.357, allocations: 31.92 kB / 462.6 MB, free: 98.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.3571, allocations: 38.31 kB / 462.6 MB, free: 98.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.3572, allocations: 8.875 kB / 462.6 MB, free: 98.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002739/0.3574, allocations: 302 kB / 462.9 MB, free: 98.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3574, allocations: 0 / 462.9 MB, free: 98.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002575/0.36, allocations: 1.015 MB / 463.9 MB, free: 98.41 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.003866/0.3639, allocations: 1.306 MB / 465.2 MB, free: 98.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.3651, allocations: 0.6148 MB / 465.8 MB, free: 97.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.3651, allocations: 0 / 465.8 MB, free: 97.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000602/0.3657, allocations: 433.4 kB / 466.3 MB, free: 97.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.3668, allocations: 218.9 kB / 466.5 MB, free: 97.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.3687, allocations: 1.538 MB / 468 MB, free: 96.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.369, allocations: 378 kB / 468.4 MB, free: 96.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004451/0.3695, allocations: 274.5 kB / 468.7 MB, free: 96.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.3696, allocations: 40.81 kB / 468.7 MB, free: 96.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.263e-06/0.3696, allocations: 1.094 kB / 468.7 MB, free: 96.79 MB / 410.7 MB Notification: Performance of Templates: time 0.0491/0.4187, allocations: 39.57 MB / 0.4964 GB, free: 69.2 MB / 410.7 MB " [Timeout remaining time 660] 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/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_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: 7.97767508495599]