Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001106, allocations: 110.2 kB / 16.41 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 186.8 kB / 17.35 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6684/0.6684, allocations: 91.19 MB / 382.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 84.2 kB / 0.5175 GB, free: 4.094 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2743, allocations: 67.68 MB / 0.5836 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1372/0.4115, allocations: 143.8 MB / 0.724 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004202/0.4157, allocations: 3.587 MB / 0.7275 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003168/0.4161, allocations: 11.88 kB / 0.7276 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006042/0.4167, allocations: 174.9 kB / 0.7277 GB, free: 10 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009475/0.4177, allocations: 381.8 kB / 0.7281 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007495/0.4185, allocations: 295 kB / 0.7284 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006242/0.4191, allocations: 0.4977 MB / 0.7288 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.4193, allocations: 87.55 kB / 0.7289 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004891/0.4198, allocations: 246.9 kB / 0.7292 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003475/0.4201, allocations: 234.9 kB / 0.7294 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.727e-05/0.4202, allocations: 24 kB / 0.7294 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009623/0.4212, allocations: 495.1 kB / 0.7299 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.4213, allocations: 67.69 kB / 0.73 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.4215, allocations: 171 kB / 0.7301 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008794/0.4224, allocations: 0.5404 MB / 0.7306 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4224, allocations: 0 / 0.7306 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4224, allocations: 7.938 kB / 0.7306 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.4224, allocations: 0 / 0.7306 GB, free: 6.984 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001222/0.4236, allocations: 0.7427 MB / 0.7314 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.4237, allocations: 8.031 kB / 0.7314 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.896e-05/0.4238, allocations: 44.66 kB / 0.7314 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.4243, allocations: 376.1 kB / 0.7318 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.4244, allocations: 24.56 kB / 0.7318 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.4244, allocations: 23.95 kB / 0.7318 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.4249, allocations: 265.8 kB / 0.7321 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4249, allocations: 4 kB / 0.7321 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.425, allocations: 8 kB / 0.7321 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.425, allocations: 4 kB / 0.7321 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004933/0.4255, allocations: 217.6 kB / 0.7323 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.4269, allocations: 1.093 MB / 0.7334 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.4274, allocations: 234.4 kB / 0.7336 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.4277, allocations: 104.8 kB / 0.7337 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009422/0.4286, allocations: 0.9916 MB / 0.7347 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003264/0.429, allocations: 145.3 kB / 0.7348 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.914e-06/0.429, allocations: 0 / 0.7348 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.001145/0.4301, allocations: 475 kB / 0.7353 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.4302, allocations: 51.41 kB / 0.7353 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.4305, allocations: 333.7 kB / 0.7356 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.4306, allocations: 33.7 kB / 0.7357 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.4307, allocations: 204.4 kB / 0.7359 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/0.4307, allocations: 71.34 kB / 0.7359 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.585e-05/0.4308, allocations: 53.92 kB / 0.736 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.431, allocations: 342.8 kB / 0.7363 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.4312, allocations: 80.17 kB / 0.7364 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.4314, allocations: 107 kB / 0.7365 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004384/0.4319, allocations: 234.6 kB / 0.7367 GB, free: 320 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4319, allocations: 0 / 0.7367 GB, free: 320 kB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.2358/0.6677, allocations: 341.8 kB / 0.737 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.6678, allocations: 37.59 kB / 0.7371 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.6678, allocations: 0.75 kB / 0.7371 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002577/0.6681, allocations: 44.47 kB / 0.7371 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.6684, allocations: 46.69 kB / 0.7371 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.6694, allocations: 1.518 MB / 0.7386 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.6696, allocations: 36.48 kB / 0.7387 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.6697, allocations: 11.36 kB / 0.7387 GB, free: 153.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.6698, allocations: 155 kB / 0.7388 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.6699, allocations: 34.59 kB / 0.7389 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007857/0.6707, allocations: 341.6 kB / 0.7392 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.6707, allocations: 5.156 kB / 0.7392 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.6707, allocations: 1.719 kB / 0.7392 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.6708, allocations: 115.1 kB / 0.7393 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.6708, allocations: 7.109 kB / 0.7393 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.671, allocations: 14.09 kB / 0.7393 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.259e-05/0.6711, allocations: 26.58 kB / 0.7393 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008459/0.672, allocations: 376.5 kB / 0.7397 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008162/0.6728, allocations: 0.5399 MB / 0.7402 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002365/0.673, allocations: 106.9 kB / 0.7403 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002417/0.6733, allocations: 237.7 kB / 0.7406 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of Backend: time 4.61e-07/0.6733, allocations: 0.6875 kB / 0.7406 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.6744, allocations: 0.5354 MB / 0.7411 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of SimCode: time 0.00119/0.6756, allocations: 1.16 MB / 0.7422 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.01191/0.6876, allocations: 6.75 MB / 0.7488 GB, free: 148.6 MB / 0.5762 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.makefile (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.CheckValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches