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.001555/0.001555, allocations: 116.5 kB / 16.42 MB, free: 6.02 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.001811/0.001811, allocations: 185 kB / 17.35 MB, free: 5.633 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6776/0.6776, allocations: 91.19 MB / 382.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 75.88 kB / 0.5175 GB, free: 4.121 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2718, allocations: 67.68 MB / 0.5836 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1362/0.408, allocations: 143.8 MB / 0.724 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00386/0.4119, allocations: 3.587 MB / 0.7275 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.4121, allocations: 15.88 kB / 0.7275 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005237/0.4127, allocations: 178.9 kB / 0.7277 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007272/0.4134, allocations: 381.8 kB / 0.7281 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006258/0.4141, allocations: 295 kB / 0.7284 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004689/0.4145, allocations: 0.4977 MB / 0.7288 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.4147, allocations: 81.52 kB / 0.7289 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003972/0.4151, allocations: 254.9 kB / 0.7292 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.4154, allocations: 231 kB / 0.7294 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.45e-05/0.4155, allocations: 24 kB / 0.7294 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008539/0.4163, allocations: 491.1 kB / 0.7299 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.882e-05/0.4164, allocations: 67.7 kB / 0.7299 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.4166, allocations: 171 kB / 0.7301 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006911/0.4173, allocations: 0.5392 MB / 0.7306 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4173, allocations: 0 / 0.7306 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4173, allocations: 3.938 kB / 0.7306 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.4173, allocations: 0 / 0.7306 GB, free: 7.016 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.001205/0.4185, allocations: 0.7305 MB / 0.7314 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.4186, allocations: 8.031 kB / 0.7314 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.941e-05/0.4187, allocations: 48.41 kB / 0.7314 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005334/0.4192, allocations: 379.7 kB / 0.7318 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.4192, allocations: 24.56 kB / 0.7318 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.4193, allocations: 20 kB / 0.7318 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.4198, allocations: 265.8 kB / 0.7321 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4198, allocations: 0 / 0.7321 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.4198, allocations: 8 kB / 0.7321 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.4199, allocations: 8 kB / 0.7321 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004888/0.4204, allocations: 221.6 kB / 0.7323 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.4217, allocations: 1.085 MB / 0.7333 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005227/0.4222, allocations: 239.8 kB / 0.7336 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.4225, allocations: 108.8 kB / 0.7337 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009103/0.4234, allocations: 0.976 MB / 0.7346 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/0.4238, allocations: 153.8 kB / 0.7348 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.863e-06/0.4238, allocations: 0 / 0.7348 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.001154/0.4249, allocations: 470.8 kB / 0.7352 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.425, allocations: 55.41 kB / 0.7353 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.4253, allocations: 333.7 kB / 0.7356 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.4254, allocations: 29.7 kB / 0.7356 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.4255, allocations: 200.2 kB / 0.7358 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.576e-05/0.4255, allocations: 74.94 kB / 0.7359 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-05/0.4256, allocations: 49.92 kB / 0.7359 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4258, allocations: 342.8 kB / 0.7363 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.426, allocations: 84.19 kB / 0.7363 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.4262, allocations: 111 kB / 0.7365 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/0.4267, allocations: 222.6 kB / 0.7367 GB, free: 376 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4267, allocations: 0 / 0.7367 GB, free: 376 kB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006847/0.4274, allocations: 345.1 kB / 0.737 GB, free: 16 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.2289/0.6563, allocations: 33.06 kB / 0.737 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.6563, allocations: 0.5625 kB / 0.737 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003136/0.6566, allocations: 44.58 kB / 0.7371 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.6569, allocations: 43.72 kB / 0.7371 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00099/0.6579, allocations: 1.522 MB / 0.7386 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.6582, allocations: 29.36 kB / 0.7386 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.6582, allocations: 12.09 kB / 0.7386 GB, free: 153.7 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.0001436/0.6584, allocations: 150.8 kB / 0.7388 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.6584, allocations: 33.09 kB / 0.7388 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007683/0.6592, allocations: 345.4 kB / 0.7391 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.6592, allocations: 5.297 kB / 0.7391 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6592, allocations: 1.312 kB / 0.7391 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.6593, allocations: 112.7 kB / 0.7393 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/0.6593, allocations: 9.875 kB / 0.7393 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.6595, allocations: 18.55 kB / 0.7393 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.6596, allocations: 30.16 kB / 0.7393 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008535/0.6605, allocations: 371.9 kB / 0.7397 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008136/0.6613, allocations: 0.5331 MB / 0.7402 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002392/0.6616, allocations: 113.8 kB / 0.7403 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002273/0.6618, allocations: 239.6 kB / 0.7405 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of Backend: time 3.6e-07/0.6618, allocations: 0 / 0.7405 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.6629, allocations: 0.5301 MB / 0.741 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of SimCode: time 0.001192/0.6641, allocations: 1.149 MB / 0.7422 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.01126/0.6754, allocations: 6.739 MB / 0.7487 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