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.001297/0.001297, allocations: 80.31 kB / 22.21 MB, free: 2.281 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.001414/0.001414, allocations: 165.1 kB / 25.61 MB, free: 8.879 MB / 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 0.9064/0.9064, allocations: 177.1 MB / 206 MB, free: 4.516 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.132/0.132, allocations: 32.8 MB / 295.4 MB, free: 15.39 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.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.072e-06/1.072e-06, allocations: 0 / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.438e-05, allocations: 2.312 kB / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.009547/0.009562, allocations: 14.69 MB / 391.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007903/0.01746, allocations: 11.69 MB / 403.6 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.01768, allocations: 11.88 kB / 403.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.01809, allocations: 142.9 kB / 403.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006291/0.02438, allocations: 3.701 MB / 407.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003802/0.02818, allocations: 2.081 MB / 409.6 MB, free: 9.172 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000871/0.02905, allocations: 0.9429 MB / 410.5 MB, free: 8.227 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002933/0.02934, allocations: 225 kB / 410.7 MB, free: 8.004 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006289/0.02997, allocations: 0.5455 MB / 411.3 MB, free: 7.457 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.03022, allocations: 239.3 kB / 411.5 MB, free: 7.223 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.03026, allocations: 36 kB / 411.5 MB, free: 7.188 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008229/0.03849, allocations: 6.77 MB / 418.3 MB, free: 420 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.0386, allocations: 99.64 kB / 418.4 MB, free: 320 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.03873, allocations: 163.7 kB / 418.6 MB, free: 156 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007375/0.04611, allocations: 5.238 MB / 423.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.04611, allocations: 0 / 423.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.04611, allocations: 0 / 423.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.04612, allocations: 0 / 423.8 MB, free: 10.9 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.002517/0.04863, allocations: 1.248 MB / 425.1 MB, free: 9.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.04867, allocations: 11.98 kB / 425.1 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009956/0.04967, allocations: 307.7 kB / 425.4 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/0.0501, allocations: 331.3 kB / 425.7 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.05013, allocations: 25.03 kB / 425.7 MB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.05017, allocations: 36.38 kB / 425.7 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008283/0.05099, allocations: 0.6787 MB / 426.4 MB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.05101, allocations: 8.109 kB / 426.4 MB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.05104, allocations: 19.94 kB / 426.5 MB, free: 8.086 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.05104, allocations: 8 kB / 426.5 MB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005456/0.05159, allocations: 328.1 kB / 426.8 MB, free: 7.758 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.001558/0.05315, allocations: 2.18 MB / 429 MB, free: 5.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006529/0.0538, allocations: 362.5 kB / 429.3 MB, free: 5.133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.512e-05/0.05388, allocations: 67.64 kB / 429.4 MB, free: 5.062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02049/0.07436, allocations: 11.42 MB / 440.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.0744, allocations: 41.39 kB / 440.8 MB, free: 9.578 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.963e-06/0.0744, allocations: 0 / 440.8 MB, free: 9.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001186/0.07558, allocations: 0.5596 MB / 441.4 MB, free: 9.012 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.07563, allocations: 106.8 kB / 441.5 MB, free: 8.883 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.07582, allocations: 322.1 kB / 441.8 MB, free: 8.551 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.07584, allocations: 37.7 kB / 441.9 MB, free: 8.508 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.07596, allocations: 255.2 kB / 442.1 MB, free: 8.254 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.662e-05/0.07602, allocations: 95.14 kB / 442.2 MB, free: 8.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.147e-05/0.0761, allocations: 71.33 kB / 442.3 MB, free: 8.082 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.07623, allocations: 0.5195 MB / 442.8 MB, free: 7.551 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.501e-05/0.0763, allocations: 51.94 kB / 442.8 MB, free: 7.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.07645, allocations: 244.5 kB / 443.1 MB, free: 7.195 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.07667, allocations: 242.2 kB / 443.3 MB, free: 6.918 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.07667, allocations: 0 / 443.3 MB, free: 6.918 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000314/0.07698, allocations: 280 kB / 443.6 MB, free: 6.641 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.077, allocations: 10.34 kB / 443.6 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.07701, allocations: 3.984 kB / 443.6 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.07702, allocations: 4 kB / 443.6 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.07717, allocations: 71.91 kB / 443.7 MB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.07718, allocations: 7.984 kB / 443.7 MB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.0773, allocations: 39.77 kB / 443.7 MB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.07732, allocations: 12 kB / 443.7 MB, free: 6.496 MB / 362.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.000114/0.07743, allocations: 188.6 kB / 443.9 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.07749, allocations: 35.81 kB / 444 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.07862, allocations: 1.137 MB / 445.1 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.07864, allocations: 27.95 kB / 445.1 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.07864, allocations: 4 kB / 445.1 MB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.07864, allocations: 4 kB / 445.1 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.07911, allocations: 0.6063 MB / 445.7 MB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.07912, allocations: 0 / 445.7 MB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.07924, allocations: 63.89 kB / 445.8 MB, free: 4.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.07925, allocations: 4 kB / 445.8 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.07926, allocations: 4 kB / 445.8 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.07926, allocations: 4 kB / 445.8 MB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.07926, allocations: 3.938 kB / 445.8 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005717/0.07983, allocations: 0.7646 MB / 446.6 MB, free: 3.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.07989, allocations: 87.16 kB / 446.7 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.07993, allocations: 23.78 kB / 446.7 MB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.08004, allocations: 23.98 kB / 446.7 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.0801, allocations: 35.78 kB / 446.7 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.08011, allocations: 12 kB / 446.8 MB, free: 3.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001459/0.08026, allocations: 283 kB / 447 MB, free: 3.133 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08026, allocations: 4 kB / 447 MB, free: 3.129 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001988/0.08225, allocations: 1.006 MB / 448 MB, free: 2.121 MB / 362.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.00289/0.08513, allocations: 1.313 MB / 449.4 MB, free: 0.793 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003342/0.08547, allocations: 280.6 kB / 449.6 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.08547, allocations: 4 kB / 449.6 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.08566, allocations: 227.4 kB / 449.9 MB, free: 292 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.08626, allocations: 213 kB / 450.1 MB, free: 92 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.08796, allocations: 1.327 MB / 451.4 MB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.08806, allocations: 181.5 kB / 451.6 MB, free: 14.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002836/0.08834, allocations: 277.2 kB / 451.8 MB, free: 14.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.08865, allocations: 246 kB / 452.1 MB, free: 14.02 MB / 378.7 MB Notification: Performance of SimCode: time 8.21e-07/0.08865, allocations: 0 / 452.1 MB, free: 14.02 MB / 378.7 MB Notification: Performance of Templates: time 0.0516/0.1402, allocations: 45.55 MB / 497.6 MB, free: 0.6328 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.5417570900171995]