Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008723/0.0008723, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.0008783/0.0008783, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9317/0.9317, allocations: 158.6 MB / 185.9 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1403/0.1403, allocations: 32.38 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.984e-05, allocations: 6.25 kB / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01243/0.01246, allocations: 14.57 MB / 362.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.02346, allocations: 11.67 MB / 374.4 MB, free: 14.83 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003727/0.02383, allocations: 19.88 kB / 374.4 MB, free: 14.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005614/0.02439, allocations: 142.9 kB / 374.5 MB, free: 14.67 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008549/0.03294, allocations: 3.697 MB / 378.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004901/0.03784, allocations: 2.07 MB / 380.3 MB, free: 8.879 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001231/0.03907, allocations: 0.9469 MB / 381.2 MB, free: 7.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004169/0.03949, allocations: 217.1 kB / 381.5 MB, free: 7.715 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008336/0.04032, allocations: 0.5375 MB / 382 MB, free: 7.176 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.04061, allocations: 239.3 kB / 382.2 MB, free: 6.941 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.775e-05/0.04066, allocations: 32 kB / 382.3 MB, free: 6.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01031/0.05097, allocations: 6.758 MB / 389 MB, free: 148 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.05115, allocations: 111.6 kB / 389.1 MB, free: 36 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002624/0.05141, allocations: 151.7 kB / 389.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01104/0.06245, allocations: 5.227 MB / 394.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.06246, allocations: 4 kB / 394.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.06246, allocations: 0 / 394.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.06247, allocations: 0 / 394.5 MB, free: 10.64 MB / 330.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.003651/0.06612, allocations: 1.233 MB / 395.7 MB, free: 9.371 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.496e-05/0.0662, allocations: 12.03 kB / 395.8 MB, free: 9.359 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.06739, allocations: 307.6 kB / 396.1 MB, free: 9.059 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006296/0.06802, allocations: 323.3 kB / 396.4 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/0.06806, allocations: 25.03 kB / 396.4 MB, free: 8.688 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/0.06811, allocations: 32.38 kB / 396.4 MB, free: 8.656 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.06926, allocations: 0.6982 MB / 397.1 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.06927, allocations: 192 / 397.1 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.0693, allocations: 15.94 kB / 397.1 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.06932, allocations: 8 kB / 397.1 MB, free: 7.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006622/0.06998, allocations: 332.1 kB / 397.5 MB, free: 7.516 MB / 330.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.002298/0.07228, allocations: 2.184 MB / 399.7 MB, free: 5.254 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000711/0.07299, allocations: 350.6 kB / 400 MB, free: 4.898 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.079e-05/0.07307, allocations: 67.62 kB / 400.1 MB, free: 4.828 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02011/0.09318, allocations: 11.01 MB / 411.1 MB, free: 9.797 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.09323, allocations: 41.33 kB / 411.1 MB, free: 9.746 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 2.815e-06/0.09323, allocations: 0 / 411.1 MB, free: 9.746 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.001359/0.09459, allocations: 0.5689 MB / 411.7 MB, free: 9.172 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.09464, allocations: 102.8 kB / 411.8 MB, free: 9.047 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.09489, allocations: 322.1 kB / 412.1 MB, free: 8.715 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.09493, allocations: 37.64 kB / 412.1 MB, free: 8.672 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.09506, allocations: 255.2 kB / 412.4 MB, free: 8.418 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003964/0.09546, allocations: 91.22 kB / 412.5 MB, free: 8.328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.09556, allocations: 75.31 kB / 412.6 MB, free: 8.246 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.09571, allocations: 0.5234 MB / 413.1 MB, free: 7.711 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.825e-05/0.09581, allocations: 55.88 kB / 413.1 MB, free: 7.656 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.09599, allocations: 235 kB / 413.4 MB, free: 7.359 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.09622, allocations: 249.1 kB / 413.6 MB, free: 7.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.09622, allocations: 4 kB / 413.6 MB, free: 7.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003777/0.0966, allocations: 281.1 kB / 413.9 MB, free: 6.785 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.09663, allocations: 8 kB / 413.9 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.09664, allocations: 3.984 kB / 413.9 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.09666, allocations: 8 kB / 413.9 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.09686, allocations: 75.89 kB / 414 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.09687, allocations: 4 kB / 414 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.09704, allocations: 31.81 kB / 414 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.09706, allocations: 20.22 kB / 414 MB, free: 6.637 MB / 346.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.0001697/0.09723, allocations: 180.4 kB / 414.2 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.0973, allocations: 47.7 kB / 414.3 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.09831, allocations: 1.129 MB / 415.4 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-05/0.09835, allocations: 27.95 kB / 415.4 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.09835, allocations: 4 kB / 415.4 MB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.09835, allocations: 3.984 kB / 415.4 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005508/0.09891, allocations: 0.6024 MB / 416 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/0.09891, allocations: 0 / 416 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.09904, allocations: 59.89 kB / 416.1 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.09904, allocations: 4 kB / 416.1 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.09906, allocations: 8 kB / 416.1 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.09906, allocations: 0 / 416.1 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.09906, allocations: 0 / 416.1 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006223/0.09968, allocations: 0.7679 MB / 416.9 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.707e-05/0.09976, allocations: 95.09 kB / 416.9 MB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.0998, allocations: 27.77 kB / 417 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.0999, allocations: 16 kB / 417 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.09997, allocations: 43.78 kB / 417 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.09998, allocations: 4 kB / 417 MB, free: 3.559 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001638/0.1001, allocations: 287 kB / 417.3 MB, free: 3.277 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1001, allocations: 0 / 417.3 MB, free: 3.277 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002562/0.1027, allocations: 0.9981 MB / 418.3 MB, free: 2.277 MB / 346.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.00432/0.107, allocations: 1.325 MB / 419.6 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004682/0.1075, allocations: 264.6 kB / 419.9 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1075, allocations: 0 / 419.9 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.1077, allocations: 227.3 kB / 420.1 MB, free: 472 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006599/0.1084, allocations: 223.7 kB / 420.3 MB, free: 256 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.1102, allocations: 1.317 MB / 421.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.1103, allocations: 181.5 kB / 421.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003335/0.1107, allocations: 264.5 kB / 422.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/0.111, allocations: 250 kB / 422.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.583e-06/0.111, allocations: 0 / 422.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of Templates: time 0.1913/0.3023, allocations: 45.3 MB / 467.6 MB, free: 53.47 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.788408180233091]