Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001909/0.001909, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002113/0.002113, allocations: 165.3 kB / 24.28 MB, free: 152 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.565/1.565, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3657/0.3657, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.875e-05/7.018e-05, allocations: 2.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.04129/0.04136, allocations: 28.75 MB / 406 MB, free: 6.129 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02091/0.06227, allocations: 13.08 MB / 419.1 MB, free: 9 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004224/0.06269, allocations: 15.88 kB / 419.1 MB, free: 8.984 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008826/0.06357, allocations: 230.4 kB / 419.4 MB, free: 8.758 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01076/0.07433, allocations: 3.705 MB / 423.1 MB, free: 5.039 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007017/0.08135, allocations: 2.387 MB / 425.4 MB, free: 2.645 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001419/0.08277, allocations: 0.9233 MB / 426.4 MB, free: 1.715 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004124/0.08318, allocations: 211.8 kB / 426.6 MB, free: 1.508 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.0842, allocations: 0.5568 MB / 427.1 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004097/0.08461, allocations: 239.3 kB / 427.4 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.142e-05/0.08468, allocations: 32 kB / 427.4 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01483/0.09951, allocations: 6.914 MB / 434.3 MB, free: 9.762 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.09971, allocations: 107.6 kB / 434.4 MB, free: 9.656 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.1, allocations: 155.7 kB / 434.6 MB, free: 9.504 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01273/0.1128, allocations: 5.554 MB / 440.1 MB, free: 3.938 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1128, allocations: 4 kB / 440.1 MB, free: 3.934 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1128, allocations: 0 / 440.1 MB, free: 3.934 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1128, allocations: 0 / 440.1 MB, free: 3.934 MB / 410.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.003316/0.1161, allocations: 1.299 MB / 441.4 MB, free: 2.594 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1161, allocations: 8.031 kB / 441.4 MB, free: 2.586 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.1179, allocations: 311.6 kB / 441.7 MB, free: 2.281 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006125/0.1185, allocations: 323.3 kB / 442.1 MB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.1186, allocations: 21.03 kB / 442.1 MB, free: 1.922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.223e-05/0.1186, allocations: 32.38 kB / 442.1 MB, free: 1.891 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.1203, allocations: 0.7328 MB / 442.8 MB, free: 1.066 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1203, allocations: 192 / 442.8 MB, free: 1.066 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/0.1204, allocations: 19.94 kB / 442.9 MB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.1204, allocations: 12 kB / 442.9 MB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.1219, allocations: 0.4902 MB / 443.4 MB, free: 0.5469 MB / 410.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.1519/0.2737, allocations: 2.418 MB / 445.8 MB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.275, allocations: 408.9 kB / 446.2 MB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.2754, allocations: 171.7 kB / 446.3 MB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04309/0.3185, allocations: 13.2 MB / 459.5 MB, free: 100.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.3185, allocations: 45.41 kB / 459.6 MB, free: 100.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.964e-06/0.3185, allocations: 0 / 459.6 MB, free: 100.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.002485/0.321, allocations: 0.7716 MB / 460.4 MB, free: 100.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.321, allocations: 110.1 kB / 460.5 MB, free: 100.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/0.3214, allocations: 377.2 kB / 460.8 MB, free: 99.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.3214, allocations: 28.7 kB / 460.9 MB, free: 99.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.3215, allocations: 273.5 kB / 461.1 MB, free: 99.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.441e-05/0.3216, allocations: 97.39 kB / 461.2 MB, free: 99.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.3217, allocations: 83.58 kB / 461.3 MB, free: 99.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3218, allocations: 0.5292 MB / 461.8 MB, free: 99.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.3221, allocations: 119.4 kB / 462 MB, free: 99.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.3225, allocations: 307.2 kB / 462.3 MB, free: 98.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005966/0.3231, allocations: 364.4 kB / 462.6 MB, free: 98.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3231, allocations: 0 / 462.6 MB, free: 98.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008041/0.3239, allocations: 399.7 kB / 463 MB, free: 98.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3239, allocations: 6.406 kB / 463 MB, free: 98.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.3239, allocations: 2.906 kB / 463 MB, free: 98.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.3239, allocations: 3.094 kB / 463 MB, free: 98.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.3242, allocations: 84.83 kB / 463.1 MB, free: 98.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.3242, allocations: 2.906 kB / 463.1 MB, free: 98.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.3245, allocations: 40.48 kB / 463.1 MB, free: 98.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.3245, allocations: 19.19 kB / 463.2 MB, free: 98.41 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.0001663/0.3247, allocations: 202.3 kB / 463.4 MB, free: 98.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.343e-05/0.3248, allocations: 38.91 kB / 463.4 MB, free: 98.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.3264, allocations: 1.304 MB / 464.7 MB, free: 97.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-05/0.3264, allocations: 34.23 kB / 464.7 MB, free: 97.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3264, allocations: 0 / 464.7 MB, free: 97.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3264, allocations: 7.078 kB / 464.7 MB, free: 97.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000657/0.3271, allocations: 0.7094 MB / 465.4 MB, free: 97.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3271, allocations: 0 / 465.4 MB, free: 97.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.3273, allocations: 67.69 kB / 465.5 MB, free: 97.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.3274, allocations: 2.969 kB / 465.5 MB, free: 97.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.3274, allocations: 7.031 kB / 465.5 MB, free: 97.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3274, allocations: 0.875 kB / 465.5 MB, free: 97.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3274, allocations: 3.031 kB / 465.5 MB, free: 97.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.3285, allocations: 0.9276 MB / 466.5 MB, free: 96.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.439e-05/0.3286, allocations: 95.84 kB / 466.5 MB, free: 96.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.517e-05/0.3286, allocations: 17.77 kB / 466.6 MB, free: 96.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.3289, allocations: 16.31 kB / 466.6 MB, free: 96.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.968e-05/0.329, allocations: 42.8 kB / 466.6 MB, free: 96.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.329, allocations: 11.34 kB / 466.6 MB, free: 96.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000282/0.3293, allocations: 353.2 kB / 467 MB, free: 96.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3293, allocations: 0 / 467 MB, free: 96.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002886/0.3322, allocations: 1.025 MB / 468 MB, free: 96.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.005105/0.3373, allocations: 1.304 MB / 469.3 MB, free: 96.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.3383, allocations: 440.2 kB / 469.7 MB, free: 96.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3384, allocations: 0 / 469.7 MB, free: 96.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005749/0.3389, allocations: 318.4 kB / 470 MB, free: 96.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.3401, allocations: 215.3 kB / 470.3 MB, free: 96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.3421, allocations: 1.406 MB / 471.7 MB, free: 95.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.3424, allocations: 364.9 kB / 472 MB, free: 95.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004495/0.3429, allocations: 270.9 kB / 472.3 MB, free: 95.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.343, allocations: 43.84 kB / 472.3 MB, free: 95.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.343, allocations: 1.312 kB / 472.3 MB, free: 95.12 MB / 410.7 MB Notification: Performance of Templates: time 0.04622/0.3892, allocations: 40.24 MB / 0.5006 GB, free: 64.65 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.77266719401814]