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.002169/0.002169, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002375/0.002375, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 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 1.723/1.723, allocations: 158.6 MB / 185.3 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.239/0.239, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.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_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.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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.027e-05/4.251e-05, allocations: 6.25 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.04047/0.04052, allocations: 28.62 MB / 375.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02415/0.06467, allocations: 13.08 MB / 388.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006733/0.06534, allocations: 15.88 kB / 388.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.06651, allocations: 226.3 kB / 388.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01611/0.08262, allocations: 3.689 MB / 392.6 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01005/0.09267, allocations: 2.38 MB / 395 MB, free: 9.621 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001985/0.09465, allocations: 0.9117 MB / 395.9 MB, free: 8.707 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005868/0.09524, allocations: 221 kB / 396.1 MB, free: 8.488 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.09674, allocations: 0.5452 MB / 396.6 MB, free: 7.941 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004952/0.09723, allocations: 235.3 kB / 396.9 MB, free: 7.711 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.622e-05/0.09733, allocations: 36 kB / 396.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01984/0.1172, allocations: 6.898 MB / 403.8 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003332/0.1175, allocations: 103.6 kB / 403.9 MB, free: 0.668 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004761/0.118, allocations: 159.7 kB / 404 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02027/0.1382, allocations: 5.542 MB / 409.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.1382, allocations: 0 / 409.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1383, allocations: 0 / 409.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.1383, allocations: 0 / 409.6 MB, free: 10.96 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.004964/0.1432, allocations: 1.295 MB / 410.9 MB, free: 9.621 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/0.1433, allocations: 8.031 kB / 410.9 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001979/0.1453, allocations: 303.7 kB / 411.2 MB, free: 9.316 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007063/0.146, allocations: 335.3 kB / 411.5 MB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.252e-05/0.146, allocations: 25.03 kB / 411.5 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.664e-05/0.1461, allocations: 28.38 kB / 411.6 MB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.1478, allocations: 0.7367 MB / 412.3 MB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.1478, allocations: 8.109 kB / 412.3 MB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/0.1479, allocations: 23.88 kB / 412.3 MB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.1479, allocations: 12 kB / 412.3 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.1493, allocations: 490.1 kB / 412.8 MB, free: 7.559 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.003867/0.1532, allocations: 2.418 MB / 415.2 MB, free: 5.055 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.1547, allocations: 414.7 kB / 415.6 MB, free: 4.637 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004119/0.1551, allocations: 163.6 kB / 415.8 MB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04933/0.2044, allocations: 12.74 MB / 428.5 MB, free: 7.715 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.865e-05/0.2045, allocations: 37.39 kB / 428.6 MB, free: 7.668 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.166e-06/0.2045, allocations: 4 kB / 428.6 MB, free: 7.664 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.002984/0.2075, allocations: 0.7681 MB / 429.4 MB, free: 6.891 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.2076, allocations: 106.8 kB / 429.5 MB, free: 6.762 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005438/0.2082, allocations: 374.3 kB / 429.8 MB, free: 6.379 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.2082, allocations: 33.7 kB / 429.9 MB, free: 6.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.2085, allocations: 275 kB / 430.1 MB, free: 6.066 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.2086, allocations: 87.28 kB / 430.2 MB, free: 5.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.2088, allocations: 87.3 kB / 430.3 MB, free: 5.887 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003794/0.2092, allocations: 0.5313 MB / 430.8 MB, free: 5.344 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.2095, allocations: 119.9 kB / 430.9 MB, free: 5.227 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/0.2101, allocations: 311 kB / 431.2 MB, free: 4.855 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008137/0.2109, allocations: 365.2 kB / 431.6 MB, free: 4.453 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.2109, allocations: 0 / 431.6 MB, free: 4.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001021/0.2119, allocations: 397.2 kB / 432 MB, free: 4.059 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.2119, allocations: 8 kB / 432 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.212, allocations: 7.938 kB / 432 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.212, allocations: 4 kB / 432 MB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.2123, allocations: 79.83 kB / 432.1 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.2123, allocations: 4 kB / 432.1 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.2126, allocations: 39.83 kB / 432.1 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.2126, allocations: 19.92 kB / 432.2 MB, free: 3.898 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_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.0005185/0.2132, allocations: 208.5 kB / 432.4 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.2133, allocations: 39.81 kB / 432.4 MB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/0.2156, allocations: 1.302 MB / 433.7 MB, free: 2.332 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.577e-05/0.2156, allocations: 31.94 kB / 433.7 MB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.2156, allocations: 8 kB / 433.7 MB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.2156, allocations: 3.984 kB / 433.7 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.2168, allocations: 0.7151 MB / 434.5 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2168, allocations: 0 / 434.5 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.217, allocations: 59.95 kB / 434.5 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.217, allocations: 0 / 434.5 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.2171, allocations: 8 kB / 434.5 MB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2171, allocations: 3.938 kB / 434.5 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2171, allocations: 4 kB / 434.5 MB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.2186, allocations: 0.924 MB / 435.5 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.2188, allocations: 87.14 kB / 435.5 MB, free: 444 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.922e-05/0.2188, allocations: 23.84 kB / 435.6 MB, free: 420 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.219, allocations: 15.98 kB / 435.6 MB, free: 404 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.2192, allocations: 35.94 kB / 435.6 MB, free: 368 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.2192, allocations: 12 kB / 435.6 MB, free: 356 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.3059/0.5251, allocations: 355.9 kB / 436 MB, free: 95.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.5251, allocations: 7.531 kB / 436 MB, free: 95.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005032/0.5301, allocations: 1 MB / 437 MB, free: 95.91 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.006656/0.5368, allocations: 1.308 MB / 438.3 MB, free: 95.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001488/0.5382, allocations: 430.9 kB / 438.7 MB, free: 95.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5382, allocations: 1.844 kB / 438.7 MB, free: 95.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006476/0.5389, allocations: 322.2 kB / 439 MB, free: 95.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.5402, allocations: 221.6 kB / 439.2 MB, free: 95.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.5433, allocations: 1.398 MB / 440.6 MB, free: 95.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.5437, allocations: 363.9 kB / 441 MB, free: 95.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006876/0.5444, allocations: 269.3 kB / 441.3 MB, free: 95.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.5446, allocations: 45.42 kB / 441.3 MB, free: 95.11 MB / 362.7 MB Notification: Performance of SimCode: time 2.835e-06/0.5446, allocations: 0 / 441.3 MB, free: 95.11 MB / 362.7 MB Notification: Performance of Templates: time 0.0523/0.5969, allocations: 40.15 MB / 481.5 MB, free: 57.51 MB / 362.7 MB " [Timeout remaining time 659] 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.201329921954311]