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.001093/0.001093, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009993/0.0009993, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9804/0.9804, allocations: 177 MB / 204.8 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] 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.2437/0.2437, allocations: 34.85 MB / 296.3 MB, free: 0.4922 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.[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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.68e-05, allocations: 2.312 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.0131/0.01311, allocations: 14.85 MB / 393.6 MB, free: 3.156 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.02361, allocations: 11.87 MB / 405.5 MB, free: 7.238 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.0238, allocations: 15.81 kB / 405.5 MB, free: 7.223 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004532/0.02426, allocations: 135 kB / 405.6 MB, free: 7.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006119/0.03038, allocations: 3.705 MB / 409.3 MB, free: 3.371 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003397/0.03377, allocations: 2.09 MB / 411.4 MB, free: 1.273 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007254/0.0345, allocations: 0.9314 MB / 412.4 MB, free: 344 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002747/0.03477, allocations: 239.9 kB / 412.6 MB, free: 104 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005955/0.03537, allocations: 0.5377 MB / 413.1 MB, free: 15.56 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.03559, allocations: 243.3 kB / 413.4 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.03563, allocations: 36 kB / 413.4 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007657/0.04329, allocations: 6.773 MB / 420.2 MB, free: 8.508 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.04339, allocations: 107.6 kB / 420.3 MB, free: 8.402 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.04352, allocations: 159.7 kB / 420.4 MB, free: 8.246 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00499/0.04851, allocations: 5.242 MB / 425.7 MB, free: 2.992 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.04851, allocations: 0 / 425.7 MB, free: 2.992 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.04851, allocations: 0 / 425.7 MB, free: 2.992 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.04852, allocations: 4 kB / 425.7 MB, free: 2.988 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.001614/0.05013, allocations: 1.229 MB / 426.9 MB, free: 1.719 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.05018, allocations: 16.03 kB / 426.9 MB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009593/0.05113, allocations: 307.7 kB / 427.2 MB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.05149, allocations: 323.3 kB / 427.6 MB, free: 1.059 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.05152, allocations: 29.03 kB / 427.6 MB, free: 1.031 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.05156, allocations: 36.31 kB / 427.6 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008396/0.0524, allocations: 0.7061 MB / 428.3 MB, free: 200 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.05241, allocations: 192 / 428.3 MB, free: 200 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.05244, allocations: 15.94 kB / 428.3 MB, free: 184 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.05245, allocations: 8 kB / 428.3 MB, free: 176 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006081/0.05306, allocations: 375.3 kB / 428.7 MB, free: 15.8 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.002035/0.05509, allocations: 2.261 MB / 431 MB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007198/0.05581, allocations: 366.7 kB / 431.3 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.05593, allocations: 75.66 kB / 431.4 MB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.166/0.2219, allocations: 13.2 MB / 444.6 MB, free: 77.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.222, allocations: 41.23 kB / 444.7 MB, free: 77.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.794e-06/0.222, allocations: 0 / 444.7 MB, free: 77.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001294/0.2233, allocations: 0.5951 MB / 445.2 MB, free: 77.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.2233, allocations: 114.4 kB / 445.4 MB, free: 77.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.2235, allocations: 319.1 kB / 445.7 MB, free: 76.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.2235, allocations: 32.48 kB / 445.7 MB, free: 76.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.347e-05/0.2236, allocations: 262.2 kB / 446 MB, free: 76.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.2237, allocations: 95.2 kB / 446.1 MB, free: 76.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.206e-05/0.2237, allocations: 72.38 kB / 446.1 MB, free: 76.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.83e-05/0.2238, allocations: 0.5134 MB / 446.6 MB, free: 76.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.412e-05/0.2239, allocations: 64.05 kB / 446.7 MB, free: 76.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.224, allocations: 243.6 kB / 446.9 MB, free: 75.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.2242, allocations: 259.6 kB / 447.2 MB, free: 75.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2242, allocations: 3.281 kB / 447.2 MB, free: 75.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003356/0.2246, allocations: 291.8 kB / 447.5 MB, free: 75.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.2246, allocations: 9.5 kB / 447.5 MB, free: 75.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.2246, allocations: 3.031 kB / 447.5 MB, free: 75.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.2246, allocations: 4.344 kB / 447.5 MB, free: 75.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.2248, allocations: 80.95 kB / 447.6 MB, free: 75.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.2248, allocations: 4.562 kB / 447.6 MB, free: 75.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.2249, allocations: 42.95 kB / 447.6 MB, free: 75.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.225, allocations: 20.33 kB / 447.6 MB, free: 75.76 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 9.889e-05/0.225, allocations: 177.9 kB / 447.8 MB, free: 75.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/0.2251, allocations: 39.62 kB / 447.9 MB, free: 75.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009151/0.226, allocations: 1.239 MB / 449.1 MB, free: 75.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/0.226, allocations: 31.31 kB / 449.1 MB, free: 75.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.226, allocations: 0 / 449.1 MB, free: 75.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.226, allocations: 0 / 449.1 MB, free: 75.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004311/0.2265, allocations: 0.6677 MB / 449.8 MB, free: 75.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2265, allocations: 0 / 449.8 MB, free: 75.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.2266, allocations: 64.34 kB / 449.9 MB, free: 75.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2266, allocations: 0 / 449.9 MB, free: 75.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.2266, allocations: 6.531 kB / 449.9 MB, free: 75.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.2266, allocations: 7.672 kB / 449.9 MB, free: 75.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2266, allocations: 0 / 449.9 MB, free: 75.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.2272, allocations: 0.828 MB / 450.7 MB, free: 74.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.2272, allocations: 84.45 kB / 450.8 MB, free: 74.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.2273, allocations: 27.8 kB / 450.8 MB, free: 74.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.2274, allocations: 19.41 kB / 450.8 MB, free: 74.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.2274, allocations: 38.48 kB / 450.9 MB, free: 74.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.2275, allocations: 8.938 kB / 450.9 MB, free: 74.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001585/0.2276, allocations: 305.5 kB / 451.2 MB, free: 74.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2276, allocations: 1.688 kB / 451.2 MB, free: 74.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002001/0.2296, allocations: 1.009 MB / 452.2 MB, free: 74.73 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.002484/0.2321, allocations: 1.285 MB / 453.5 MB, free: 74.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003743/0.2325, allocations: 330.5 kB / 453.8 MB, free: 74.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2325, allocations: 0 / 453.8 MB, free: 74.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.2327, allocations: 253.9 kB / 454 MB, free: 74.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000595/0.2333, allocations: 211.3 kB / 454.2 MB, free: 74.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.2347, allocations: 1.34 MB / 455.6 MB, free: 73.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.369e-05/0.2348, allocations: 185.2 kB / 455.8 MB, free: 73.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002531/0.235, allocations: 272.2 kB / 456 MB, free: 73.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.2351, allocations: 40.47 kB / 456.1 MB, free: 73.86 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2351, allocations: 0 / 456.1 MB, free: 73.86 MB / 410.7 MB Notification: Performance of Templates: time 0.03641/0.2715, allocations: 39.93 MB / 496 MB, free: 64.98 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0202906262129545]