Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0009022/0.0009022, allocations: 83.69 kB / 21.18 MB, free: 3.395 MB / 18.57 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.000908/0.000908, allocations: 165 kB / 24.56 MB, free: 24 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.019/1.019, allocations: 177.1 MB / 205 MB, free: 5.223 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2516/0.2516, allocations: 32.81 MB / 294.3 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.517e-05, allocations: 6.25 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01331/0.01333, allocations: 14.86 MB / 390.9 MB, free: 5.758 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.02373, allocations: 11.87 MB / 402.7 MB, free: 9.844 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.02398, allocations: 11.88 kB / 402.8 MB, free: 9.832 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005036/0.02448, allocations: 142.9 kB / 402.9 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007641/0.03212, allocations: 3.705 MB / 406.6 MB, free: 5.973 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004976/0.0371, allocations: 2.07 MB / 408.7 MB, free: 3.895 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001074/0.03817, allocations: 0.939 MB / 409.6 MB, free: 2.949 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003619/0.03854, allocations: 240.9 kB / 409.8 MB, free: 2.711 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007158/0.03925, allocations: 0.5454 MB / 410.4 MB, free: 2.164 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.03951, allocations: 231.4 kB / 410.6 MB, free: 1.938 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.777e-05/0.03956, allocations: 36 kB / 410.6 MB, free: 1.902 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009738/0.0493, allocations: 6.773 MB / 417.4 MB, free: 11.12 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.04944, allocations: 107.6 kB / 417.5 MB, free: 11.02 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.04963, allocations: 159.7 kB / 417.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008698/0.05833, allocations: 5.235 MB / 422.9 MB, free: 5.613 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.05834, allocations: 0 / 422.9 MB, free: 5.613 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.05834, allocations: 4 kB / 422.9 MB, free: 5.609 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.05835, allocations: 4 kB / 422.9 MB, free: 5.605 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.002157/0.0605, allocations: 1.233 MB / 424.2 MB, free: 4.332 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.06054, allocations: 12.03 kB / 424.2 MB, free: 4.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.06155, allocations: 307.7 kB / 424.5 MB, free: 4.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/0.06195, allocations: 331.2 kB / 424.8 MB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.06198, allocations: 25.03 kB / 424.8 MB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.06202, allocations: 36.38 kB / 424.9 MB, free: 3.609 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009043/0.06292, allocations: 0.706 MB / 425.6 MB, free: 2.809 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.06293, allocations: 192 / 425.6 MB, free: 2.809 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.06296, allocations: 19.94 kB / 425.6 MB, free: 2.789 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.06298, allocations: 8 kB / 425.6 MB, free: 2.781 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006362/0.06361, allocations: 363.4 kB / 425.9 MB, free: 2.426 MB / 394.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.001797/0.06541, allocations: 2.269 MB / 428.2 MB, free: 72 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009104/0.06632, allocations: 358.7 kB / 428.6 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.06643, allocations: 75.66 kB / 428.6 MB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02316/0.0896, allocations: 13.21 MB / 441.8 MB, free: 2.406 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/0.08965, allocations: 41.39 kB / 441.9 MB, free: 2.355 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.555e-06/0.08965, allocations: 0 / 441.9 MB, free: 2.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001378/0.09103, allocations: 0.5953 MB / 442.5 MB, free: 1.754 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.09108, allocations: 110.8 kB / 442.6 MB, free: 1.621 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.09146, allocations: 326.2 kB / 442.9 MB, free: 1.285 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.09149, allocations: 33.7 kB / 442.9 MB, free: 1.246 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.09161, allocations: 263.1 kB / 443.2 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.09167, allocations: 91.22 kB / 443.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.187e-05/0.09175, allocations: 75.34 kB / 443.4 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.09187, allocations: 0.5156 MB / 443.9 MB, free: 292 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.09198, allocations: 67.88 kB / 443.9 MB, free: 224 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1828/0.2748, allocations: 240.1 kB / 444.2 MB, free: 78.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.2751, allocations: 255.8 kB / 444.4 MB, free: 78.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2751, allocations: 0.7188 kB / 444.4 MB, free: 78.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004831/0.2756, allocations: 306.3 kB / 444.7 MB, free: 78.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.2756, allocations: 7.031 kB / 444.7 MB, free: 78.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.2757, allocations: 2.844 kB / 444.7 MB, free: 78.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/0.2757, allocations: 3.312 kB / 444.7 MB, free: 78.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.2759, allocations: 82.91 kB / 444.8 MB, free: 78.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.2759, allocations: 6.156 kB / 444.8 MB, free: 78.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.2761, allocations: 35.14 kB / 444.9 MB, free: 78.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.2761, allocations: 18.19 kB / 444.9 MB, free: 78.47 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.0001385/0.2762, allocations: 182.4 kB / 445.1 MB, free: 78.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.106e-05/0.2763, allocations: 46.34 kB / 445.1 MB, free: 78.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.2775, allocations: 1.234 MB / 446.3 MB, free: 78.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/0.2775, allocations: 29.92 kB / 446.4 MB, free: 78.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2775, allocations: 3.562 kB / 446.4 MB, free: 78.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2775, allocations: 3.328 kB / 446.4 MB, free: 78.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003587/0.2811, allocations: 0.6629 MB / 447 MB, free: 77.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2811, allocations: 2.938 kB / 447 MB, free: 77.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.2813, allocations: 56.88 kB / 447.1 MB, free: 77.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.2813, allocations: 3.234 kB / 447.1 MB, free: 77.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.2813, allocations: 10.5 kB / 447.1 MB, free: 77.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2813, allocations: 2.906 kB / 447.1 MB, free: 77.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2813, allocations: 2.5 kB / 447.1 MB, free: 77.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007186/0.282, allocations: 0.8256 MB / 447.9 MB, free: 77.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.2821, allocations: 84.89 kB / 448 MB, free: 77.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.2821, allocations: 28.84 kB / 448 MB, free: 77.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.2823, allocations: 16.3 kB / 448.1 MB, free: 77.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.2823, allocations: 38.58 kB / 448.1 MB, free: 77.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.2824, allocations: 10.66 kB / 448.1 MB, free: 77.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002077/0.2826, allocations: 304.3 kB / 448.4 MB, free: 77.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2826, allocations: 0 / 448.4 MB, free: 77.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005204/0.2878, allocations: 1.013 MB / 449.4 MB, free: 77.51 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.006388/0.2942, allocations: 1.281 MB / 450.7 MB, free: 77.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005376/0.2947, allocations: 318.8 kB / 451 MB, free: 77.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2947, allocations: 1.625 kB / 451 MB, free: 77.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.295, allocations: 253.3 kB / 451.3 MB, free: 77.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008019/0.2958, allocations: 221.3 kB / 451.5 MB, free: 77.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.2975, allocations: 1.35 MB / 452.8 MB, free: 76.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.2976, allocations: 180.5 kB / 453 MB, free: 76.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003062/0.2979, allocations: 262.1 kB / 453.3 MB, free: 76.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.223e-05/0.298, allocations: 40.59 kB / 453.3 MB, free: 76.72 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.298, allocations: 3.219 kB / 453.3 MB, free: 76.72 MB / 410.7 MB Notification: Performance of Templates: time 0.04172/0.3397, allocations: 39.94 MB / 493.2 MB, free: 68.05 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.089437420945615]