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.001305/0.001305, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001625/0.00293, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001276/0.001276, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001526/0.002802, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.8881/0.8881, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1625/1.051, allocations: 49.5 MB / 220.5 MB, free: 5.266 MB / 218.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.1295/0.1295, allocations: 32.34 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02068/0.1502, allocations: 12.29 MB / 265.9 MB, free: 7.828 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 3.747e-06/3.747e-06, allocations: 3.984 kB / 267.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.239e-05, allocations: 2.312 kB / 267.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01586/0.01589, allocations: 14.78 MB / 282 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01311/0.029, allocations: 11.93 MB / 293.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.02927, allocations: 11.88 kB / 293.9 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.02966, allocations: 143 kB / 294.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007853/0.03751, allocations: 3.33 MB / 297.4 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003969/0.04148, allocations: 1.933 MB / 299.3 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009619/0.04244, allocations: 0.9431 MB / 300.3 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003472/0.04279, allocations: 229 kB / 300.5 MB, free: 5.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008105/0.0436, allocations: 0.5694 MB / 301.1 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.04391, allocations: 231.3 kB / 301.3 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.696e-05/0.04395, allocations: 32 kB / 301.3 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01031/0.05426, allocations: 7.246 MB / 308.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.05441, allocations: 75.73 kB / 308.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.05463, allocations: 135.8 kB / 308.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009275/0.06391, allocations: 4 MB / 312.8 MB, free: 8.793 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.511e-05/0.06392, allocations: 0 / 312.8 MB, free: 8.793 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.06392, allocations: 0 / 312.8 MB, free: 8.793 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.06394, allocations: 3.938 kB / 312.8 MB, free: 8.789 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.003001/0.06694, allocations: 1.519 MB / 314.3 MB, free: 7.223 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.06698, allocations: 12.03 kB / 314.3 MB, free: 7.211 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009567/0.06794, allocations: 335.9 kB / 314.7 MB, free: 6.883 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.06833, allocations: 284.5 kB / 314.9 MB, free: 6.574 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.06836, allocations: 21.03 kB / 315 MB, free: 6.551 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.06839, allocations: 32.38 kB / 315 MB, free: 6.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007902/0.06918, allocations: 0.6782 MB / 315.7 MB, free: 5.762 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.0692, allocations: 192 / 315.7 MB, free: 5.762 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.06922, allocations: 19.94 kB / 315.7 MB, free: 5.742 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.06923, allocations: 8 kB / 315.7 MB, free: 5.734 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005077/0.06974, allocations: 329.7 kB / 316 MB, free: 5.406 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.00131/0.07105, allocations: 1.533 MB / 317.5 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008794/0.07193, allocations: 342 kB / 317.9 MB, free: 3.473 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.779e-05/0.07199, allocations: 56.78 kB / 317.9 MB, free: 3.414 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2476/0.3195, allocations: 72.47 MB / 390.4 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.3196, allocations: 42.48 kB / 390.4 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 2.535e-06/0.3196, allocations: 0 / 390.4 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001135/0.3207, allocations: 0.5185 MB / 391 MB, free: 348 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.3207, allocations: 60.2 kB / 391 MB, free: 280 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.3209, allocations: 258.4 kB / 391.3 MB, free: 52 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.3209, allocations: 37.58 kB / 391.3 MB, free: 12 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.321, allocations: 188.6 kB / 391.5 MB, free: 15.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.3211, allocations: 86.64 kB / 391.6 MB, free: 15.81 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.954e-05/0.3211, allocations: 67.56 kB / 391.6 MB, free: 15.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.922e-05/0.3212, allocations: 342.8 kB / 392 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.121e-05/0.3213, allocations: 43.95 kB / 392 MB, free: 15.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.3214, allocations: 198.3 kB / 392.2 MB, free: 15.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.3216, allocations: 212.5 kB / 392.4 MB, free: 14.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3216, allocations: 4 kB / 392.4 MB, free: 14.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002328/0.3218, allocations: 221.5 kB / 392.6 MB, free: 14.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3219, allocations: 8 kB / 392.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.3219, allocations: 7.938 kB / 392.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.3219, allocations: 4 kB / 392.7 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.3221, allocations: 89.41 kB / 392.8 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3221, allocations: 4 kB / 392.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.3222, allocations: 42.44 kB / 392.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.3222, allocations: 15.94 kB / 392.8 MB, free: 14.6 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.0001053/0.3223, allocations: 134 kB / 392.9 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.3224, allocations: 27.72 kB / 393 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008408/0.3232, allocations: 1.112 MB / 394.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.3232, allocations: 34.45 kB / 394.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.3232, allocations: 4 kB / 394.1 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3232, allocations: 0 / 394.1 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.3237, allocations: 0.5448 MB / 394.7 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3237, allocations: 0 / 394.7 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.3238, allocations: 67.05 kB / 394.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.3239, allocations: 87.09 kB / 394.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3239, allocations: 4 kB / 394.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3239, allocations: 5 kB / 394.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3239, allocations: 7.922 kB / 394.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3239, allocations: 5.531 kB / 394.8 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/0.3244, allocations: 0.6596 MB / 395.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.3245, allocations: 22.14 kB / 395.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.68e-05/0.3245, allocations: 18.98 kB / 395.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.3246, allocations: 34.94 kB / 395.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.3246, allocations: 7.375 kB / 395.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001085/0.3247, allocations: 158.7 kB / 395.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3247, allocations: 0 / 395.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002063/0.3268, allocations: 1.006 MB / 396.7 MB, free: 11.05 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.002866/0.3297, allocations: 1.392 MB / 398.1 MB, free: 9.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003554/0.33, allocations: 256.8 kB / 398.4 MB, free: 9.586 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/0.33, allocations: 11.98 kB / 398.4 MB, free: 9.574 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.3302, allocations: 198.7 kB / 398.6 MB, free: 9.402 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000546/0.3307, allocations: 258.5 kB / 398.8 MB, free: 9.203 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004712/0.3354, allocations: 1.351 MB / 400.2 MB, free: 7.965 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.3355, allocations: 177.5 kB / 400.4 MB, free: 7.762 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003111/0.3359, allocations: 271.7 kB / 400.6 MB, free: 7.516 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.3362, allocations: 207.8 kB / 400.8 MB, free: 7.324 MB / 346.7 MB Notification: Performance of SimCode: time 1.313e-06/0.3362, allocations: 0 / 400.8 MB, free: 7.324 MB / 346.7 MB Notification: Performance of Templates: time 0.0427/0.3789, allocations: 44.63 MB / 445.5 MB, free: 11.08 MB / 394.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 -ignoreHideResult -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.562806626781821]