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.001329/0.001329, allocations: 80.34 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001519/0.001519, allocations: 157.8 kB / 23.95 MB, free: 4.168 MB / 14.72 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.456/1.456, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 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.2162/0.2162, allocations: 34.25 MB / 294.8 MB, free: 14.55 MB / 286.1 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 1.794e-06/1.794e-06, allocations: 0 / 442.7 MB, free: 5.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.976e-05, allocations: 2.281 kB / 442.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2043/0.2043, allocations: 25.76 MB / 468.4 MB, free: 4.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01578/0.2201, allocations: 11.79 MB / 480.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003542/0.2204, allocations: 13.88 kB / 480.2 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007768/0.2212, allocations: 233.1 kB / 480.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.2322, allocations: 3.694 MB / 484.1 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00718/0.2394, allocations: 2.395 MB / 486.5 MB, free: 7.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001349/0.2407, allocations: 0.9115 MB / 487.5 MB, free: 7.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004084/0.2412, allocations: 215 kB / 487.7 MB, free: 7.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.2422, allocations: 0.5461 MB / 488.2 MB, free: 6.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003812/0.2426, allocations: 238.4 kB / 488.4 MB, free: 6.723 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.645e-05/0.2427, allocations: 33.25 kB / 488.5 MB, free: 6.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0146/0.2573, allocations: 6.92 MB / 495.4 MB, free: 1.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002723/0.2575, allocations: 103.7 kB / 495.5 MB, free: 1.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004135/0.2579, allocations: 155.7 kB / 495.6 MB, free: 1.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.016/0.2739, allocations: 5.554 MB / 0.4895 GB, free: 11.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2739, allocations: 0 / 0.4895 GB, free: 11.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2739, allocations: 0 / 0.4895 GB, free: 11.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.274, allocations: 0 / 0.4895 GB, free: 11.72 MB / 398.1 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.003586/0.2775, allocations: 1.195 MB / 0.4906 GB, free: 10.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.2776, allocations: 12.03 kB / 0.4906 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001962/0.2795, allocations: 216.4 kB / 0.4908 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007063/0.2803, allocations: 316.5 kB / 0.4911 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.2803, allocations: 21.03 kB / 0.4912 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/0.2804, allocations: 33.97 kB / 0.4912 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.2823, allocations: 0.7431 MB / 0.4919 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.2823, allocations: 384 / 0.4919 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.274e-05/0.2823, allocations: 15.94 kB / 0.4919 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.2824, allocations: 8 kB / 0.4919 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/0.2843, allocations: 0.5448 MB / 0.4925 GB, free: 8.488 MB / 398.1 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.003202/0.2875, allocations: 1.845 MB / 0.4943 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.2893, allocations: 454.1 kB / 0.4947 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005638/0.2899, allocations: 188.7 kB / 0.4949 GB, free: 5.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05187/0.3417, allocations: 13.2 MB / 0.5078 GB, free: 8.723 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.3418, allocations: 38.56 kB / 0.5078 GB, free: 8.676 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 2.435e-06/0.3418, allocations: 0 / 0.5078 GB, free: 8.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.003391/0.3452, allocations: 0.8101 MB / 0.5086 GB, free: 7.859 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.976e-05/0.3453, allocations: 110.8 kB / 0.5087 GB, free: 7.727 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.3456, allocations: 284.3 kB / 0.509 GB, free: 7.441 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/0.3457, allocations: 33.7 kB / 0.509 GB, free: 7.402 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.3458, allocations: 208.5 kB / 0.5092 GB, free: 7.195 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.552e-05/0.3459, allocations: 83.23 kB / 0.5093 GB, free: 7.113 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.3461, allocations: 69.69 kB / 0.5094 GB, free: 7.039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3462, allocations: 342.8 kB / 0.5097 GB, free: 6.695 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/0.3467, allocations: 143.9 kB / 0.5098 GB, free: 6.555 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006094/0.3473, allocations: 307.6 kB / 0.5101 GB, free: 6.203 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.3483, allocations: 382.7 kB / 0.5105 GB, free: 5.797 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3483, allocations: 4 kB / 0.5105 GB, free: 5.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001247/0.3496, allocations: 441 kB / 0.5109 GB, free: 5.355 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3496, allocations: 8 kB / 0.5109 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3496, allocations: 0 / 0.5109 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.3496, allocations: 6.125 kB / 0.5109 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.35, allocations: 91.81 kB / 0.511 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3501, allocations: 4 kB / 0.511 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003168/0.3504, allocations: 56 kB / 0.5111 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.3504, allocations: 15.98 kB / 0.5111 GB, free: 5.18 MB / 414.1 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.0002227/0.3506, allocations: 161.7 kB / 0.5112 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.601e-05/0.3507, allocations: 27.81 kB / 0.5113 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00297/0.3537, allocations: 2.009 MB / 0.5132 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-05/0.3537, allocations: 27.95 kB / 0.5132 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3537, allocations: 0 / 0.5132 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3537, allocations: 0.875 kB / 0.5132 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.3548, allocations: 0.8835 MB / 0.5141 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3548, allocations: 0 / 0.5141 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.3552, allocations: 71.92 kB / 0.5142 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3552, allocations: 0 / 0.5142 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.3552, allocations: 8 kB / 0.5142 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.3552, allocations: 4.812 kB / 0.5142 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3552, allocations: 3.938 kB / 0.5142 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.357, allocations: 1.138 MB / 0.5153 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.3572, allocations: 79.22 kB / 0.5154 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.57e-05/0.3572, allocations: 27.83 kB / 0.5154 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/0.3575, allocations: 27.97 kB / 0.5154 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.3577, allocations: 35.94 kB / 0.5155 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.3577, allocations: 19.61 kB / 0.5155 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003672/0.3581, allocations: 299.1 kB / 0.5158 GB, free: 312 kB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3581, allocations: 0 / 0.5158 GB, free: 312 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.002872/0.3609, allocations: 1.01 MB / 0.5168 GB, free: 15.29 MB / 430.1 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.004715/0.3657, allocations: 1.313 MB / 0.518 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.3672, allocations: 0.6099 MB / 0.5186 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3672, allocations: 0 / 0.5186 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008526/0.3681, allocations: 433.6 kB / 0.519 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.3695, allocations: 197.6 kB / 0.5192 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.3722, allocations: 1.526 MB / 0.5207 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.3726, allocations: 370.2 kB / 0.5211 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005367/0.3732, allocations: 266.7 kB / 0.5213 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.3733, allocations: 40.5 kB / 0.5214 GB, free: 10.5 MB / 430.1 MB Notification: Performance of SimCode: time 1.914e-06/0.3733, allocations: 0 / 0.5214 GB, free: 10.5 MB / 430.1 MB Notification: Performance of Templates: time 0.06161/0.4349, allocations: 39.39 MB / 0.5598 GB, free: 3.246 MB / 462.1 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.646225076168776]