Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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.TestCheckValve,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|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,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|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 112.8 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.001279/0.001279, 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.325/1.325, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2084/0.2084, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 75.86 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2937, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.03248/0.3262, allocations: 28.67 MB / 0.5597 GB, free: 4.984 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02279/0.3491, allocations: 16.95 MB / 0.5762 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006113/0.3497, allocations: 15.88 kB / 0.5762 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008435/0.3506, allocations: 250.3 kB / 0.5765 GB, free: 3.715 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0125/0.3631, allocations: 4.574 MB / 0.5809 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004962/0.3681, allocations: 1.877 MB / 0.5828 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.3695, allocations: 0.9746 MB / 0.5837 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004895/0.37, allocations: 276.9 kB / 0.584 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.371, allocations: 0.5018 MB / 0.5845 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003769/0.3748, allocations: 1.87 MB / 0.5863 GB, free: 9.621 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.3749, allocations: 40 kB / 0.5863 GB, free: 9.582 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01417/0.3891, allocations: 7.5 MB / 0.5937 GB, free: 2.074 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.3894, allocations: 111.6 kB / 0.5938 GB, free: 1.965 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003885/0.3898, allocations: 250.9 kB / 0.594 GB, free: 1.719 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009791/0.3996, allocations: 4.655 MB / 0.5986 GB, free: 13.05 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3996, allocations: 0 / 0.5986 GB, free: 13.05 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3996, allocations: 0 / 0.5986 GB, free: 13.05 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.3996, allocations: 0 / 0.5986 GB, free: 13.05 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003438/0.4031, allocations: 1.333 MB / 0.5999 GB, free: 11.67 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.4031, allocations: 8.031 kB / 0.5999 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002037/0.4052, allocations: 240.1 kB / 0.6001 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000653/0.4058, allocations: 419.5 kB / 0.6005 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.4059, allocations: 24.66 kB / 0.6005 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-05/0.406, allocations: 32 kB / 0.6005 GB, free: 10.92 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.4075, allocations: 0.6001 MB / 0.6011 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.4076, allocations: 3.938 kB / 0.6011 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.4076, allocations: 16 kB / 0.6011 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.4076, allocations: 12 kB / 0.6012 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.4093, allocations: 0.5641 MB / 0.6017 GB, free: 9.688 MB / 462.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.003144/0.4125, allocations: 2.633 MB / 0.6043 GB, free: 6.809 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.4141, allocations: 462.1 kB / 0.6047 GB, free: 6.348 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004318/0.4145, allocations: 197.1 kB / 0.6049 GB, free: 6.152 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05029/0.4648, allocations: 26.89 MB / 0.6312 GB, free: 7.848 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.4649, allocations: 38.56 kB / 0.6312 GB, free: 7.801 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 2.385e-06/0.4649, allocations: 3.938 kB / 0.6312 GB, free: 7.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=25): time 0.002985/0.4679, allocations: 0.813 MB / 0.632 GB, free: 6.977 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.468, allocations: 106.8 kB / 0.6321 GB, free: 6.848 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004844/0.4685, allocations: 373.6 kB / 0.6325 GB, free: 6.473 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.4685, allocations: 29.7 kB / 0.6325 GB, free: 6.438 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.4687, allocations: 224.1 kB / 0.6327 GB, free: 6.215 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.584e-05/0.4688, allocations: 90.67 kB / 0.6328 GB, free: 6.125 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.4689, allocations: 81.42 kB / 0.6329 GB, free: 6.039 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.469, allocations: 346.8 kB / 0.6332 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004362/0.4695, allocations: 164.8 kB / 0.6334 GB, free: 5.527 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/0.47, allocations: 259.9 kB / 0.6336 GB, free: 5.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008964/0.4709, allocations: 405.9 kB / 0.634 GB, free: 4.797 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.4709, allocations: 3.938 kB / 0.634 GB, free: 4.793 MB / 494.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001194/0.4721, allocations: 480.8 kB / 0.6345 GB, free: 4.316 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.4722, allocations: 7.984 kB / 0.6345 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.4722, allocations: 8 kB / 0.6345 GB, free: 4.301 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.4722, allocations: 4 kB / 0.6345 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.4727, allocations: 99.86 kB / 0.6346 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.4727, allocations: 7.938 kB / 0.6346 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003805/0.4731, allocations: 63.78 kB / 0.6346 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.4731, allocations: 19.98 kB / 0.6347 GB, free: 4.109 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005271/0.4736, allocations: 272 kB / 0.6349 GB, free: 3.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004889/0.4741, allocations: 260.6 kB / 0.6352 GB, free: 3.543 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008285/0.475, allocations: 398.2 kB / 0.6355 GB, free: 3.117 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.548e-06/0.475, allocations: 4 kB / 0.6356 GB, free: 3.113 MB / 494.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001086/0.4761, allocations: 480.9 kB / 0.636 GB, free: 2.637 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.4761, allocations: 8 kB / 0.636 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4761, allocations: 4 kB / 0.636 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.4761, allocations: 4 kB / 0.636 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.4766, allocations: 95.86 kB / 0.6361 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.4766, allocations: 4 kB / 0.6361 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/0.4769, allocations: 43.91 kB / 0.6362 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.477, allocations: 27.92 kB / 0.6362 GB, free: 2.453 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001652/0.4771, allocations: 208 kB / 0.6364 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.581e-05/0.4773, allocations: 39.53 kB / 0.6364 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/0.4798, allocations: 1.956 MB / 0.6383 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.4798, allocations: 4 kB / 0.6383 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4798, allocations: 3.984 kB / 0.6383 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.4801, allocations: 199.8 kB / 0.6385 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.4802, allocations: 31.69 kB / 0.6386 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.4806, allocations: 35.95 kB / 0.6386 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.246e-05/0.4807, allocations: 35.89 kB / 0.6386 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001606/0.4823, allocations: 1.118 MB / 0.6397 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001535/0.4838, allocations: 1.195 MB / 0.6409 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006864/0.4845, allocations: 0.4978 MB / 0.6414 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004442/0.485, allocations: 378.8 kB / 0.6417 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of Backend: time 2.91e-07/0.485, allocations: 0 / 0.6417 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007771/0.4928, allocations: 2.012 MB / 0.6437 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of SimCode: time 0.002347/0.4951, allocations: 1.701 MB / 0.6454 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of Templates: time 0.0685/0.5636, allocations: 47.92 MB / 0.6922 GB, free: 9.062 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestCheckValve/TestCheckValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches