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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007467/0.0007467, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001086/0.001832, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006866/0.0006866, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.00169, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9126/0.9126, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.161/1.074, allocations: 52.5 MB / 238.5 MB, free: 7.617 MB / 234.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.1561/0.1561, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02605/0.1822, allocations: 12.53 MB / 284.5 MB, free: 9.715 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.372e-06/1.372e-06, allocations: 0 / 285.8 MB, free: 8.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.903e-05, allocations: 9.203 kB / 285.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01702/0.01704, allocations: 14.81 MB / 300.7 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01415/0.03119, allocations: 11.91 MB / 312.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.03138, allocations: 15.88 kB / 312.6 MB, free: 13.58 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.03169, allocations: 146.9 kB / 312.7 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006355/0.03804, allocations: 3.338 MB / 316.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004139/0.04218, allocations: 1.937 MB / 318 MB, free: 8.137 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000871/0.04305, allocations: 0.9392 MB / 318.9 MB, free: 7.195 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003248/0.04338, allocations: 240.8 kB / 319.2 MB, free: 6.953 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007496/0.04413, allocations: 0.5812 MB / 319.8 MB, free: 6.371 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.04439, allocations: 223.4 kB / 320 MB, free: 6.152 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.392e-05/0.04444, allocations: 36 kB / 320 MB, free: 6.117 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1585/0.2029, allocations: 7.25 MB / 327.3 MB, free: 9.105 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.2031, allocations: 85.08 kB / 327.3 MB, free: 9.105 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.2033, allocations: 132 kB / 327.5 MB, free: 9.105 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007109/0.2104, allocations: 3.987 MB / 331.5 MB, free: 9.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.2104, allocations: 0 / 331.5 MB, free: 9.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2104, allocations: 0 / 331.5 MB, free: 9.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.2104, allocations: 0 / 331.5 MB, free: 9.09 MB / 314.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.003061/0.2135, allocations: 1.524 MB / 333 MB, free: 8.402 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2135, allocations: 9.438 kB / 333 MB, free: 8.402 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009245/0.2144, allocations: 328.9 kB / 333.3 MB, free: 8.359 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.2148, allocations: 280.6 kB / 333.6 MB, free: 8.195 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.2148, allocations: 29.64 kB / 333.6 MB, free: 8.195 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.2148, allocations: 28.34 kB / 333.6 MB, free: 8.195 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007557/0.2156, allocations: 0.6778 MB / 334.3 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2156, allocations: 1.219 kB / 334.3 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.2156, allocations: 18.12 kB / 334.3 MB, free: 7.859 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.2156, allocations: 8.875 kB / 334.3 MB, free: 7.859 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005177/0.2161, allocations: 320.8 kB / 334.7 MB, free: 7.844 MB / 314.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.001147/0.2173, allocations: 1.537 MB / 336.2 MB, free: 6.809 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006553/0.2179, allocations: 336.2 kB / 336.5 MB, free: 6.785 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.827e-05/0.218, allocations: 61.22 kB / 336.6 MB, free: 6.773 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1166/0.3347, allocations: 72.5 MB / 409.1 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.3347, allocations: 41.59 kB / 409.1 MB, free: 9.133 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.615e-06/0.3347, allocations: 0 / 409.1 MB, free: 9.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.001146/0.3358, allocations: 0.5203 MB / 409.6 MB, free: 8.656 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.3359, allocations: 62.48 kB / 409.7 MB, free: 8.586 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.336, allocations: 254.8 kB / 410 MB, free: 8.367 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.3361, allocations: 33.27 kB / 410 MB, free: 8.332 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.3361, allocations: 189.7 kB / 410.2 MB, free: 8.164 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.3362, allocations: 94.61 kB / 410.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.3362, allocations: 61.61 kB / 410.3 MB, free: 8.043 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.3363, allocations: 339.2 kB / 410.7 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.239e-05/0.3364, allocations: 45.7 kB / 410.7 MB, free: 7.672 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.3365, allocations: 202.5 kB / 410.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.3367, allocations: 219.5 kB / 411.1 MB, free: 7.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3367, allocations: 0 / 411.1 MB, free: 7.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002131/0.3369, allocations: 222.2 kB / 411.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3369, allocations: 8 kB / 411.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3369, allocations: 0 / 411.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.337, allocations: 8 kB / 411.3 MB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.3371, allocations: 82.58 kB / 411.4 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3371, allocations: 7.984 kB / 411.4 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.3373, allocations: 36.75 kB / 411.5 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.3373, allocations: 18.05 kB / 411.5 MB, free: 6.875 MB / 378.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.0001014/0.3374, allocations: 137.1 kB / 411.6 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.3374, allocations: 31.91 kB / 411.7 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007962/0.3382, allocations: 1.108 MB / 412.8 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.3382, allocations: 34.64 kB / 412.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.3382, allocations: 0 / 412.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.3382, allocations: 3.984 kB / 412.8 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005613/0.3388, allocations: 0.5444 MB / 413.3 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3388, allocations: 3.984 kB / 413.3 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.3389, allocations: 63.28 kB / 413.4 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.339, allocations: 91.09 kB / 413.5 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.339, allocations: 6.562 kB / 413.5 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.339, allocations: 7.812 kB / 413.5 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.339, allocations: 3.094 kB / 413.5 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.339, allocations: 4 kB / 413.5 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004341/0.3394, allocations: 0.66 MB / 414.2 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.3395, allocations: 19.72 kB / 414.2 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3396, allocations: 23.11 kB / 414.2 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.3396, allocations: 35.19 kB / 414.3 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.3397, allocations: 7.984 kB / 414.3 MB, free: 4.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.3398, allocations: 156.3 kB / 414.4 MB, free: 4.293 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3398, allocations: 0 / 414.4 MB, free: 4.293 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002212/0.342, allocations: 1.013 MB / 415.4 MB, free: 3.32 MB / 378.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.002626/0.3446, allocations: 1.383 MB / 416.8 MB, free: 2.094 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002788/0.3449, allocations: 255.9 kB / 417.1 MB, free: 1.867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/0.3449, allocations: 13.86 kB / 417.1 MB, free: 1.855 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.3451, allocations: 224.2 kB / 417.3 MB, free: 1.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000773/0.3458, allocations: 1.096 MB / 418.4 MB, free: 460 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004668/0.3505, allocations: 1.347 MB / 419.7 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.792e-05/0.3506, allocations: 177.5 kB / 419.9 MB, free: 15.01 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002567/0.3509, allocations: 265.4 kB / 420.2 MB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.3512, allocations: 217.4 kB / 420.4 MB, free: 14.55 MB / 394.7 MB Notification: Performance of SimCode: time 1.083e-06/0.3512, allocations: 0 / 420.4 MB, free: 14.55 MB / 394.7 MB Notification: Performance of Templates: time 0.03549/0.3866, allocations: 39.38 MB / 459.8 MB, free: 7.648 MB / 426.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.993897524662316]