Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001116/0.001117, allocations: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2069/0.2069, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 75.88 kB / 482 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2976, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02893/0.3265, allocations: 28.29 MB / 0.5593 GB, free: 5.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01544/0.342, allocations: 13.3 MB / 0.5723 GB, free: 8.062 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003401/0.3424, allocations: 7.938 kB / 0.5723 GB, free: 8.055 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000683/0.3431, allocations: 250.4 kB / 0.5725 GB, free: 7.809 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008924/0.3521, allocations: 3.665 MB / 0.5761 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005783/0.3579, allocations: 2.367 MB / 0.5784 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.3589, allocations: 0.8963 MB / 0.5793 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003629/0.3592, allocations: 268.5 kB / 0.5795 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006719/0.3599, allocations: 454.2 kB / 0.58 GB, free: 176 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.3603, allocations: 262.9 kB / 0.5802 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.838e-05/0.3603, allocations: 36 kB / 0.5803 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01278/0.3731, allocations: 7.239 MB / 0.5873 GB, free: 8.633 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.3733, allocations: 95.67 kB / 0.5874 GB, free: 8.539 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000275/0.3736, allocations: 215.1 kB / 0.5876 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008855/0.3824, allocations: 4.421 MB / 0.5919 GB, free: 3.898 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3825, allocations: 0 / 0.5919 GB, free: 3.898 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3825, allocations: 0 / 0.5919 GB, free: 3.898 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.3825, allocations: 4 kB / 0.5919 GB, free: 3.895 MB / 446.1 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.002826/0.3853, allocations: 1.251 MB / 0.5932 GB, free: 2.594 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.3854, allocations: 12.03 kB / 0.5932 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.3871, allocations: 208.3 kB / 0.5934 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005358/0.3876, allocations: 375.2 kB / 0.5937 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.3877, allocations: 25.03 kB / 0.5938 GB, free: 1.949 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.3877, allocations: 32.38 kB / 0.5938 GB, free: 1.918 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.3893, allocations: 0.5977 MB / 0.5944 GB, free: 1.277 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3893, allocations: 4 kB / 0.5944 GB, free: 1.273 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.3893, allocations: 12 kB / 0.5944 GB, free: 1.262 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.3893, allocations: 11.98 kB / 0.5944 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.391, allocations: 0.5484 MB / 0.5949 GB, free: 0.7031 MB / 446.1 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.002812/0.3938, allocations: 2.621 MB / 0.5975 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.3954, allocations: 474.1 kB / 0.5979 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004639/0.3959, allocations: 200.7 kB / 0.5981 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0509/0.4468, allocations: 26.88 MB / 0.6244 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.4469, allocations: 34.56 kB / 0.6244 GB, free: 14.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 2.715e-06/0.4469, allocations: 0 / 0.6244 GB, free: 14.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=25): time 0.002971/0.4499, allocations: 0.8168 MB / 0.6252 GB, free: 14.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.45, allocations: 110.8 kB / 0.6253 GB, free: 13.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.4504, allocations: 316.5 kB / 0.6256 GB, free: 13.56 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.4504, allocations: 29.7 kB / 0.6257 GB, free: 13.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.4506, allocations: 204.2 kB / 0.6258 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.913e-05/0.4506, allocations: 82.77 kB / 0.6259 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.4508, allocations: 65.69 kB / 0.626 GB, free: 13.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4509, allocations: 342.8 kB / 0.6263 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004099/0.4513, allocations: 151.9 kB / 0.6265 GB, free: 12.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004612/0.4518, allocations: 246.8 kB / 0.6267 GB, free: 12.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008397/0.4526, allocations: 381.9 kB / 0.6271 GB, free: 11.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4526, allocations: 0 / 0.6271 GB, free: 11.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001015/0.4537, allocations: 448.7 kB / 0.6275 GB, free: 11.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.4537, allocations: 4 kB / 0.6275 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.4537, allocations: 7.984 kB / 0.6275 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.4537, allocations: 4.312 kB / 0.6275 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.4541, allocations: 91.81 kB / 0.6276 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.4541, allocations: 11.98 kB / 0.6276 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.4544, allocations: 47.72 kB / 0.6276 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.4544, allocations: 12 kB / 0.6277 GB, free: 11.36 MB / 494.1 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.0001905/0.4546, allocations: 165.7 kB / 0.6278 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.351e-05/0.4547, allocations: 39.53 kB / 0.6279 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/0.4572, allocations: 1.904 MB / 0.6297 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.4572, allocations: 7.922 kB / 0.6297 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4573, allocations: 3.938 kB / 0.6297 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.4574, allocations: 163.8 kB / 0.6299 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.8e-05/0.4575, allocations: 19.78 kB / 0.6299 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.4579, allocations: 51.94 kB / 0.63 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.473e-05/0.458, allocations: 27.95 kB / 0.63 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001647/0.4596, allocations: 1.109 MB / 0.6311 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001574/0.4612, allocations: 1.164 MB / 0.6322 GB, free: 6.645 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006877/0.4619, allocations: 0.4933 MB / 0.6327 GB, free: 6.152 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003905/0.4623, allocations: 323.1 kB / 0.633 GB, free: 5.836 MB / 494.1 MB Notification: Performance of Backend: time 6.41e-07/0.4623, allocations: 0 / 0.633 GB, free: 5.836 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007127/0.4695, allocations: 1.68 MB / 0.6346 GB, free: 4.156 MB / 494.1 MB Notification: Performance of SimCode: time 0.002107/0.4716, allocations: 1.625 MB / 0.6362 GB, free: 2.492 MB / 494.1 MB Notification: Performance of Templates: time 0.06074/0.5323, allocations: 44.33 MB / 0.6795 GB, free: 6.188 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches