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.0009635/0.0009635, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009807/0.0009807, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9614/0.9614, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] 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.2592/0.2592, allocations: 34.26 MB / 296.1 MB, free: 0.6094 MB / 266.7 MB " [Timeout remaining time 180] 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.[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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.041e-05, allocations: 3.078 kB / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01514/0.01517, allocations: 14.8 MB / 340 MB, free: 8.844 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.02575, allocations: 11.86 MB / 351.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.026, allocations: 11.88 kB / 351.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004303/0.02643, allocations: 142.9 kB / 352.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007335/0.03376, allocations: 3.728 MB / 355.8 MB, free: 9.047 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004271/0.03803, allocations: 2.097 MB / 357.9 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000915/0.03895, allocations: 0.939 MB / 358.8 MB, free: 6 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003139/0.03926, allocations: 225.1 kB / 359 MB, free: 5.777 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006663/0.03993, allocations: 0.5494 MB / 359.6 MB, free: 5.227 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.04017, allocations: 235.3 kB / 359.8 MB, free: 4.996 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.04021, allocations: 32 kB / 359.9 MB, free: 4.965 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009514/0.04973, allocations: 6.762 MB / 366.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.04989, allocations: 111.6 kB / 366.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.05012, allocations: 155.7 kB / 366.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.06018, allocations: 5.238 MB / 372.1 MB, free: 8.684 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.06019, allocations: 0 / 372.1 MB, free: 8.684 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.06019, allocations: 0 / 372.1 MB, free: 8.684 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.06019, allocations: 0 / 372.1 MB, free: 8.684 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.0023/0.06249, allocations: 1.124 MB / 373.2 MB, free: 7.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.06253, allocations: 8.031 kB / 373.2 MB, free: 7.523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009617/0.06349, allocations: 343.8 kB / 373.6 MB, free: 7.188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.06386, allocations: 276.5 kB / 373.9 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.06389, allocations: 29.03 kB / 373.9 MB, free: 6.859 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.06393, allocations: 36.38 kB / 373.9 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008242/0.06475, allocations: 0.6722 MB / 374.6 MB, free: 6.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.06476, allocations: 8.125 kB / 374.6 MB, free: 6.062 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.06479, allocations: 15.94 kB / 374.6 MB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.0648, allocations: 8 kB / 374.6 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000521/0.06532, allocations: 317.8 kB / 374.9 MB, free: 5.73 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.001355/0.06668, allocations: 1.529 MB / 376.5 MB, free: 4.141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006525/0.06733, allocations: 342.5 kB / 376.8 MB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.002e-05/0.0674, allocations: 52.84 kB / 376.8 MB, free: 3.742 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2862/0.3536, allocations: 72.56 MB / 449.4 MB, free: 102.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.3536, allocations: 37.38 kB / 449.4 MB, free: 102.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.315e-06/0.3536, allocations: 0 / 449.4 MB, free: 102.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001099/0.3547, allocations: 0.5221 MB / 450 MB, free: 102.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.3547, allocations: 110 kB / 450.1 MB, free: 102 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.3549, allocations: 261.4 kB / 450.3 MB, free: 101.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.3549, allocations: 28.39 kB / 450.4 MB, free: 101.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.355, allocations: 190.5 kB / 450.5 MB, free: 101.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.355, allocations: 92.06 kB / 450.6 MB, free: 101.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.3551, allocations: 64.02 kB / 450.7 MB, free: 101.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.3551, allocations: 342.5 kB / 451 MB, free: 101.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.265e-05/0.3552, allocations: 45.38 kB / 451.1 MB, free: 101.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.3553, allocations: 202.9 kB / 451.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.3555, allocations: 212.9 kB / 451.5 MB, free: 101.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3555, allocations: 0 / 451.5 MB, free: 101.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002011/0.3557, allocations: 229.7 kB / 451.7 MB, free: 101.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3557, allocations: 3.531 kB / 451.7 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3557, allocations: 3.25 kB / 451.7 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3557, allocations: 3.531 kB / 451.7 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.3559, allocations: 77.64 kB / 451.8 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3559, allocations: 3.594 kB / 451.8 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.356, allocations: 39.23 kB / 451.8 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.356, allocations: 14.12 kB / 451.8 MB, free: 101.1 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_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 8.944e-05/0.3561, allocations: 137.7 kB / 452 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.3561, allocations: 26.52 kB / 452 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006976/0.3568, allocations: 1.118 MB / 453.1 MB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.3568, allocations: 30.08 kB / 453.1 MB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3568, allocations: 3.938 kB / 453.2 MB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3569, allocations: 0 / 453.2 MB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/0.3572, allocations: 0.5444 MB / 453.7 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3572, allocations: 0 / 453.7 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.3574, allocations: 62.31 kB / 453.8 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3574, allocations: 1.625 kB / 453.8 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3574, allocations: 8.031 kB / 453.8 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3574, allocations: 3 kB / 453.8 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3574, allocations: 4 kB / 453.8 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.3578, allocations: 0.6623 MB / 454.4 MB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.3578, allocations: 91.75 kB / 454.5 MB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.3579, allocations: 20.5 kB / 454.5 MB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.358, allocations: 16.39 kB / 454.6 MB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.358, allocations: 37.66 kB / 454.6 MB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.358, allocations: 7.5 kB / 454.6 MB, free: 100.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.764e-05/0.3581, allocations: 158.8 kB / 454.8 MB, free: 100.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3581, allocations: 4 kB / 454.8 MB, free: 100.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00186/0.36, allocations: 1.013 MB / 455.8 MB, free: 100.3 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.002429/0.3624, allocations: 1.352 MB / 457.1 MB, free: 100 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.3627, allocations: 254.9 kB / 457.4 MB, free: 100 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.3627, allocations: 3.938 kB / 457.4 MB, free: 100 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.3629, allocations: 198.1 kB / 457.6 MB, free: 100 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.3634, allocations: 219.4 kB / 457.8 MB, free: 99.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.3647, allocations: 1.334 MB / 459.1 MB, free: 98.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.114e-05/0.3647, allocations: 180.2 kB / 459.3 MB, free: 98.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002845/0.365, allocations: 263.9 kB / 459.6 MB, free: 98.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/0.3654, allocations: 197.5 kB / 459.7 MB, free: 98.31 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3654, allocations: 4 kB / 459.8 MB, free: 98.31 MB / 410.7 MB Notification: Performance of Templates: time 0.0358/0.4012, allocations: 44.43 MB / 0.4924 GB, free: 56.58 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","",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.792358889244497]