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.0009687/0.0009687, allocations: 88.73 kB / 21.5 MB, free: 2.98 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.00101/0.00101, allocations: 163.2 kB / 24.91 MB, free: 8.77 MB / 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.9395/0.9395, allocations: 177 MB / 205.2 MB, free: 5.41 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.2817/0.2817, allocations: 34.86 MB / 296.6 MB, free: 0.5273 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.302e-06/1.302e-06, allocations: 0 / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.828e-05, allocations: 4.141 kB / 326 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01239/0.01241, allocations: 14.85 MB / 340.8 MB, free: 8.215 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01384/0.02625, allocations: 11.85 MB / 352.7 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002932/0.02654, allocations: 19.81 kB / 352.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000543/0.02708, allocations: 135 kB / 352.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008139/0.03522, allocations: 3.346 MB / 356.2 MB, free: 8.809 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003781/0.039, allocations: 1.957 MB / 358.1 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007178/0.03972, allocations: 0.939 MB / 359.1 MB, free: 5.902 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.04, allocations: 229 kB / 359.3 MB, free: 5.676 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006118/0.04062, allocations: 0.5494 MB / 359.8 MB, free: 5.125 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.04084, allocations: 231.3 kB / 360.1 MB, free: 4.898 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.04088, allocations: 32 kB / 360.1 MB, free: 4.867 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008898/0.04978, allocations: 7.257 MB / 367.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.833e-05/0.04988, allocations: 99.66 kB / 367.4 MB, free: 13.51 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.04999, allocations: 159.7 kB / 367.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005239/0.05523, allocations: 5.25 MB / 372.8 MB, free: 8.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.05524, allocations: 0 / 372.8 MB, free: 8.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.05524, allocations: 0 / 372.8 MB, free: 8.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.05524, allocations: 0 / 372.8 MB, free: 8.09 MB / 346.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.001675/0.05692, allocations: 1.124 MB / 374 MB, free: 6.938 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.05695, allocations: 8.031 kB / 374 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.058, allocations: 331.9 kB / 374.3 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.05836, allocations: 288.5 kB / 374.6 MB, free: 6.297 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.05839, allocations: 25.03 kB / 374.6 MB, free: 6.273 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.05842, allocations: 32.38 kB / 374.6 MB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008151/0.05924, allocations: 0.6752 MB / 375.3 MB, free: 5.484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.05925, allocations: 4.188 kB / 375.3 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.05927, allocations: 15.94 kB / 375.3 MB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.05928, allocations: 8 kB / 375.3 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000564/0.05985, allocations: 322.5 kB / 375.7 MB, free: 5.145 MB / 346.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.001859/0.0617, allocations: 1.526 MB / 377.2 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.06276, allocations: 342.5 kB / 377.5 MB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.06287, allocations: 52.83 kB / 377.6 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3068/0.3697, allocations: 72.55 MB / 450.1 MB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.609e-05/0.3697, allocations: 37.5 kB / 450.2 MB, free: 101.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 3.556e-06/0.3697, allocations: 0 / 450.2 MB, free: 101.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001409/0.3711, allocations: 0.5271 MB / 450.7 MB, free: 101.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.3712, allocations: 109 kB / 450.8 MB, free: 101.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.3714, allocations: 262.6 kB / 451.1 MB, free: 101.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.3714, allocations: 29.58 kB / 451.1 MB, free: 101.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3715, allocations: 186.8 kB / 451.3 MB, free: 101.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.639e-05/0.3716, allocations: 93.66 kB / 451.4 MB, free: 101.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-05/0.3717, allocations: 61.52 kB / 451.4 MB, free: 101.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.566e-05/0.3717, allocations: 343 kB / 451.7 MB, free: 100.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-05/0.3718, allocations: 46.77 kB / 451.8 MB, free: 100.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.3719, allocations: 201.7 kB / 452 MB, free: 100.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.3721, allocations: 217.9 kB / 452.2 MB, free: 100.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.3721, allocations: 3.125 kB / 452.2 MB, free: 100.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002741/0.3724, allocations: 225.4 kB / 452.4 MB, free: 100.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.3724, allocations: 6.125 kB / 452.4 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.3725, allocations: 3.656 kB / 452.4 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.3725, allocations: 3.25 kB / 452.4 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.3727, allocations: 81.94 kB / 452.5 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.3727, allocations: 6.906 kB / 452.5 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.3729, allocations: 40.66 kB / 452.6 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.3729, allocations: 15.52 kB / 452.6 MB, free: 100.6 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_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 0.0001388/0.373, allocations: 135 kB / 452.7 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/0.3731, allocations: 27.02 kB / 452.7 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009672/0.374, allocations: 1.118 MB / 453.9 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/0.3741, allocations: 28.56 kB / 453.9 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.3741, allocations: 0 / 453.9 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3741, allocations: 2.859 kB / 453.9 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004795/0.3746, allocations: 0.5516 MB / 454.4 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.3746, allocations: 0 / 454.4 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.3747, allocations: 66.69 kB / 454.5 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3747, allocations: 0 / 454.5 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3747, allocations: 5.938 kB / 454.5 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3747, allocations: 7.281 kB / 454.5 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3747, allocations: 0 / 454.5 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005277/0.3752, allocations: 0.6585 MB / 455.2 MB, free: 99.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.3753, allocations: 85.23 kB / 455.3 MB, free: 99.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.3753, allocations: 22.06 kB / 455.3 MB, free: 99.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.3755, allocations: 18.08 kB / 455.3 MB, free: 99.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.399e-05/0.3755, allocations: 37.92 kB / 455.3 MB, free: 99.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3756, allocations: 3.719 kB / 455.3 MB, free: 99.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001181/0.3757, allocations: 160.5 kB / 455.5 MB, free: 99.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3757, allocations: 4 kB / 455.5 MB, free: 99.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00275/0.3784, allocations: 1.013 MB / 456.5 MB, free: 99.79 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.002678/0.3811, allocations: 1.35 MB / 457.9 MB, free: 99.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.3814, allocations: 256.8 kB / 458.1 MB, free: 99.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.3814, allocations: 4 kB / 458.1 MB, free: 99.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.3816, allocations: 199.3 kB / 458.3 MB, free: 99.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005324/0.3821, allocations: 217 kB / 458.5 MB, free: 98.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.3836, allocations: 1.33 MB / 459.9 MB, free: 97.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.693e-05/0.3837, allocations: 186.4 kB / 460 MB, free: 97.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002738/0.384, allocations: 259.4 kB / 460.3 MB, free: 97.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/0.3842, allocations: 207.7 kB / 460.5 MB, free: 97.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.282e-06/0.3842, allocations: 0 / 460.5 MB, free: 97.37 MB / 410.7 MB Notification: Performance of Templates: time 0.03696/0.4212, allocations: 44.43 MB / 0.4931 GB, free: 55.47 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 -s gbode -gbm=radauIIA3 -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: 4.658284250181168]