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.001089/0.001089, allocations: 115.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 202.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2031/0.2031, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 75.81 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2807, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.0284/0.3091, allocations: 28.67 MB / 0.5597 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01952/0.3287, allocations: 16.95 MB / 0.5762 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000431/0.3291, allocations: 11.94 kB / 0.5762 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007026/0.3299, allocations: 254.3 kB / 0.5765 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.3409, allocations: 4.584 MB / 0.5809 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004506/0.3454, allocations: 1.878 MB / 0.5828 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.3466, allocations: 0.9708 MB / 0.5837 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003969/0.347, allocations: 276.9 kB / 0.584 GB, free: 12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008596/0.3478, allocations: 0.5018 MB / 0.5845 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004082/0.3519, allocations: 1.866 MB / 0.5863 GB, free: 9.605 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.405e-05/0.352, allocations: 36 kB / 0.5863 GB, free: 9.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01433/0.3664, allocations: 7.508 MB / 0.5937 GB, free: 2.055 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.3666, allocations: 111.6 kB / 0.5938 GB, free: 1.945 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003197/0.3669, allocations: 250.8 kB / 0.594 GB, free: 1.699 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009799/0.3767, allocations: 4.661 MB / 0.5986 GB, free: 13.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3768, allocations: 0 / 0.5986 GB, free: 13.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3768, allocations: 0 / 0.5986 GB, free: 13.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.039e-05/0.3768, allocations: 3.938 kB / 0.5986 GB, free: 13.02 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.003296/0.3801, allocations: 1.372 MB / 0.5999 GB, free: 11.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3801, allocations: 8.031 kB / 0.5999 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.3822, allocations: 252.3 kB / 0.6002 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006159/0.3828, allocations: 419.7 kB / 0.6006 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.3829, allocations: 32.64 kB / 0.6006 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.3829, allocations: 28 kB / 0.6006 GB, free: 10.83 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.3845, allocations: 0.604 MB / 0.6012 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3845, allocations: 4 kB / 0.6012 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/0.3846, allocations: 16 kB / 0.6012 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.3846, allocations: 12 kB / 0.6012 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.3863, allocations: 0.5563 MB / 0.6018 GB, free: 9.602 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.003201/0.3895, allocations: 2.637 MB / 0.6044 GB, free: 6.719 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.391, allocations: 461.2 kB / 0.6048 GB, free: 6.262 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000423/0.3914, allocations: 201.1 kB / 0.605 GB, free: 6.062 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04762/0.4391, allocations: 26.9 MB / 0.6313 GB, free: 7.754 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.4392, allocations: 38.5 kB / 0.6313 GB, free: 7.707 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 3.296e-06/0.4392, allocations: 0 / 0.6313 GB, free: 7.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=25): time 0.002894/0.4421, allocations: 0.8131 MB / 0.6321 GB, free: 6.887 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.4421, allocations: 110.8 kB / 0.6322 GB, free: 6.754 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004658/0.4426, allocations: 377.6 kB / 0.6326 GB, free: 6.375 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.4427, allocations: 29.7 kB / 0.6326 GB, free: 6.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.4428, allocations: 224.5 kB / 0.6328 GB, free: 6.117 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.24e-05/0.4429, allocations: 95.14 kB / 0.6329 GB, free: 6.023 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.4431, allocations: 77.44 kB / 0.633 GB, free: 5.941 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4432, allocations: 346.8 kB / 0.6333 GB, free: 5.594 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000426/0.4436, allocations: 172.7 kB / 0.6335 GB, free: 5.422 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.4441, allocations: 255.8 kB / 0.6337 GB, free: 5.129 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008439/0.445, allocations: 406 kB / 0.6341 GB, free: 4.695 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.445, allocations: 3.938 kB / 0.6341 GB, free: 4.691 MB / 494.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001136/0.4461, allocations: 484.9 kB / 0.6346 GB, free: 4.211 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4462, allocations: 4 kB / 0.6346 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.4462, allocations: 4 kB / 0.6346 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.4462, allocations: 7.938 kB / 0.6346 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.4466, allocations: 104.2 kB / 0.6347 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.4467, allocations: 7.984 kB / 0.6347 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/0.447, allocations: 51.75 kB / 0.6347 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.4471, allocations: 19.94 kB / 0.6347 GB, free: 4.016 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005057/0.4476, allocations: 276 kB / 0.635 GB, free: 3.742 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004668/0.4481, allocations: 264.8 kB / 0.6353 GB, free: 3.441 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008171/0.4489, allocations: 398.2 kB / 0.6356 GB, free: 3.016 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/0.4489, allocations: 4 kB / 0.6356 GB, free: 3.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001085/0.45, allocations: 477 kB / 0.6361 GB, free: 2.539 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.45, allocations: 8 kB / 0.6361 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.45, allocations: 4 kB / 0.6361 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/0.45, allocations: 4 kB / 0.6361 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.4504, allocations: 95.86 kB / 0.6362 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.4505, allocations: 7.938 kB / 0.6362 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.4508, allocations: 48.06 kB / 0.6363 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.4509, allocations: 19.94 kB / 0.6363 GB, free: 2.355 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.0001476/0.451, allocations: 208.1 kB / 0.6365 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.785e-05/0.4511, allocations: 47.7 kB / 0.6365 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.4536, allocations: 1.961 MB / 0.6384 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.4537, allocations: 3.984 kB / 0.6384 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4537, allocations: 0 / 0.6384 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002346/0.4539, allocations: 208.2 kB / 0.6386 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.564e-05/0.454, allocations: 27.78 kB / 0.6387 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.4544, allocations: 43.94 kB / 0.6387 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.515e-05/0.4545, allocations: 39.89 kB / 0.6387 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001575/0.4561, allocations: 1.11 MB / 0.6398 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001505/0.4576, allocations: 1.196 MB / 0.641 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006329/0.4582, allocations: 0.5057 MB / 0.6415 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004326/0.4587, allocations: 374.8 kB / 0.6418 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of Backend: time 6.41e-07/0.4587, allocations: 0 / 0.6418 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007015/0.4657, allocations: 2.038 MB / 0.6438 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of SimCode: time 0.002076/0.4678, allocations: 1.722 MB / 0.6455 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of Templates: time 0.06127/0.5291, allocations: 47.55 MB / 0.692 GB, free: 9.266 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