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.0009002/0.0009002, allocations: 91.62 kB / 21.43 MB, free: 3.105 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.000818/0.000818, allocations: 155.5 kB / 24.7 MB, free: 9.422 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.9023/0.9023, allocations: 177.1 MB / 205 MB, free: 5.742 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.2613/0.2613, allocations: 32.8 MB / 294.2 MB, free: 1.215 MB / 266.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.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.383e-05/3.587e-05, allocations: 7.484 kB / 440.8 MB, free: 3.746 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2205/0.2206, allocations: 25.76 MB / 466.6 MB, free: 31.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00902/0.2296, allocations: 11.78 MB / 478.4 MB, free: 23.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003553/0.2299, allocations: 18.56 kB / 478.4 MB, free: 23.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006625/0.2306, allocations: 241.8 kB / 478.6 MB, free: 23.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007668/0.2383, allocations: 3.695 MB / 482.3 MB, free: 22.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004969/0.2432, allocations: 2.391 MB / 484.7 MB, free: 20.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009256/0.2442, allocations: 0.9083 MB / 485.6 MB, free: 20.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003211/0.2445, allocations: 220.3 kB / 485.9 MB, free: 20.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006441/0.2451, allocations: 0.544 MB / 486.4 MB, free: 20.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.2454, allocations: 240.2 kB / 486.6 MB, free: 20 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.2454, allocations: 33.5 kB / 486.7 MB, free: 20 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01172/0.2571, allocations: 6.915 MB / 493.6 MB, free: 18.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.2574, allocations: 106.1 kB / 493.7 MB, free: 18.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003701/0.2578, allocations: 159.4 kB / 493.8 MB, free: 18.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01739/0.2752, allocations: 5.54 MB / 499.4 MB, free: 16.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.2752, allocations: 4.906 kB / 499.4 MB, free: 16.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2752, allocations: 0 / 499.4 MB, free: 16.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.2752, allocations: 0 / 499.4 MB, free: 16.53 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.00636/0.2815, allocations: 1.199 MB / 0.4889 GB, free: 15.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.2816, allocations: 9.844 kB / 0.4889 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.2827, allocations: 216.2 kB / 0.4891 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006396/0.2834, allocations: 315.8 kB / 0.4894 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/0.2834, allocations: 28.72 kB / 0.4894 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.2835, allocations: 28.03 kB / 0.4894 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.2847, allocations: 0.7445 MB / 0.4901 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.2847, allocations: 1.344 kB / 0.4901 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.2847, allocations: 19.2 kB / 0.4902 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.2847, allocations: 7.844 kB / 0.4902 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.2858, allocations: 0.541 MB / 0.4907 GB, free: 14.9 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.002167/0.288, allocations: 1.847 MB / 0.4925 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009718/0.2889, allocations: 457.7 kB / 0.4929 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.2892, allocations: 188.8 kB / 0.4931 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02771/0.3169, allocations: 13.19 MB / 0.506 GB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.317, allocations: 38.56 kB / 0.506 GB, free: 7.258 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.685e-06/0.317, allocations: 0 / 0.506 GB, free: 7.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001735/0.3187, allocations: 0.8105 MB / 0.5068 GB, free: 6.441 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.3187, allocations: 106.8 kB / 0.5069 GB, free: 6.312 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.319, allocations: 284.4 kB / 0.5072 GB, free: 6.027 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.319, allocations: 29.7 kB / 0.5072 GB, free: 5.992 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/0.3191, allocations: 212.5 kB / 0.5074 GB, free: 5.781 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.3191, allocations: 91.2 kB / 0.5075 GB, free: 5.691 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.031e-05/0.3192, allocations: 69.69 kB / 0.5076 GB, free: 5.617 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.66e-05/0.3193, allocations: 338.8 kB / 0.5079 GB, free: 5.277 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.3195, allocations: 157 kB / 0.5081 GB, free: 5.125 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.3198, allocations: 298 kB / 0.5084 GB, free: 4.785 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004502/0.3202, allocations: 377.2 kB / 0.5087 GB, free: 4.383 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3202, allocations: 4 kB / 0.5087 GB, free: 4.379 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005645/0.3208, allocations: 437 kB / 0.5091 GB, free: 3.945 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.3208, allocations: 8 kB / 0.5091 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3208, allocations: 4 kB / 0.5091 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.3209, allocations: 5.125 kB / 0.5091 GB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.321, allocations: 87.86 kB / 0.5092 GB, free: 3.844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.3211, allocations: 7.938 kB / 0.5092 GB, free: 3.836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.3213, allocations: 60 kB / 0.5093 GB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.3213, allocations: 15.94 kB / 0.5093 GB, free: 3.762 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.0001583/0.3214, allocations: 161.8 kB / 0.5095 GB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/0.3215, allocations: 31.81 kB / 0.5095 GB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.3228, allocations: 2.005 MB / 0.5115 GB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.3229, allocations: 31.94 kB / 0.5115 GB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3229, allocations: 0 / 0.5115 GB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3229, allocations: 4 kB / 0.5115 GB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005363/0.3234, allocations: 0.8758 MB / 0.5123 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.3234, allocations: 0 / 0.5123 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.3236, allocations: 71.88 kB / 0.5124 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.3236, allocations: 4 kB / 0.5124 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.3236, allocations: 11.98 kB / 0.5124 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3236, allocations: 4 kB / 0.5124 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3236, allocations: 0 / 0.5124 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.3246, allocations: 1.13 MB / 0.5135 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.3247, allocations: 99.08 kB / 0.5136 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.3248, allocations: 19.83 kB / 0.5136 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.3249, allocations: 31.97 kB / 0.5137 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.336e-05/0.325, allocations: 31.94 kB / 0.5137 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.325, allocations: 12 kB / 0.5137 GB, free: 15.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000264/0.3253, allocations: 303.1 kB / 0.514 GB, free: 14.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3253, allocations: 0 / 0.514 GB, free: 14.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005595/0.3309, allocations: 1.01 MB / 0.515 GB, free: 13.87 MB / 426.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.008832/0.3397, allocations: 1.309 MB / 0.5163 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.3408, allocations: 0.6146 MB / 0.5169 GB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.3408, allocations: 3.984 kB / 0.5169 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000419/0.3412, allocations: 437.5 kB / 0.5173 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007707/0.342, allocations: 190.8 kB / 0.5175 GB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.3437, allocations: 1.559 MB / 0.519 GB, free: 9.734 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.344, allocations: 370.2 kB / 0.5194 GB, free: 9.348 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.3441, allocations: 40.5 kB / 0.5194 GB, free: 9.309 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3441, allocations: 0 / 0.5194 GB, free: 9.309 MB / 426.7 MB Notification: Performance of Templates: time 0.03028/0.3744, allocations: 24.34 MB / 0.5432 GB, free: 0.9961 MB / 442.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 6.502946591004729]