Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") translateModel(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001711/0.001711, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.398/1.398, 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.6682/0.6682, allocations: 91.18 MB / 382.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001565, allocations: 79.88 kB / 0.5175 GB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3023, allocations: 67.69 MB / 0.5836 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.1472/0.4495, allocations: 149.5 MB / 0.7296 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005476/0.455, allocations: 4.635 MB / 0.7342 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005915/0.4556, allocations: 31.81 kB / 0.7342 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009101/0.4566, allocations: 290.1 kB / 0.7345 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.4584, allocations: 0.6758 MB / 0.7351 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.4597, allocations: 0.4943 MB / 0.7356 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001146/0.4609, allocations: 0.9878 MB / 0.7366 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002984/0.4612, allocations: 162.1 kB / 0.7367 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.4622, allocations: 0.5329 MB / 0.7372 GB, free: 212 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3072/0.7695, allocations: 450.5 kB / 0.7377 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001852/0.7697, allocations: 43.78 kB / 0.7377 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.7715, allocations: 0.7688 MB / 0.7385 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.7716, allocations: 113.1 kB / 0.7386 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003541/0.772, allocations: 318.3 kB / 0.7389 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.7733, allocations: 0.9672 MB / 0.7398 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.7733, allocations: 0 / 0.7398 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7733, allocations: 0.75 kB / 0.7398 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.7733, allocations: 0 / 0.7398 GB, free: 3.121 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001395/0.7747, allocations: 0.9643 MB / 0.7408 GB, free: 18.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.7747, allocations: 11.16 kB / 0.7408 GB, free: 18.52 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.7749, allocations: 72.3 kB / 0.7408 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007841/0.7756, allocations: 0.5442 MB / 0.7414 GB, free: 18.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.7757, allocations: 35.5 kB / 0.7414 GB, free: 18.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.254e-05/0.7757, allocations: 44.44 kB / 0.7415 GB, free: 18.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007775/0.7765, allocations: 0.5105 MB / 0.7419 GB, free: 18.13 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.7766, allocations: 0 / 0.7419 GB, free: 18.13 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.7766, allocations: 17.12 kB / 0.742 GB, free: 18.13 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.7766, allocations: 9.969 kB / 0.742 GB, free: 18.13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007459/0.7774, allocations: 482.4 kB / 0.7424 GB, free: 18.12 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.7799, allocations: 2.171 MB / 0.7446 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007669/0.7807, allocations: 366.8 kB / 0.7449 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.7811, allocations: 206.9 kB / 0.7451 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002506/0.7836, allocations: 1.995 MB / 0.7471 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.7836, allocations: 42.27 kB / 0.7471 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 2.224e-06/0.7836, allocations: 1.344 kB / 0.7471 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47): time 0.001524/0.7852, allocations: 0.7962 MB / 0.7479 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.7852, allocations: 57 kB / 0.7479 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004822/0.7857, allocations: 492.5 kB / 0.7484 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.7857, allocations: 34.7 kB / 0.7484 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.7859, allocations: 267 kB / 0.7487 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.02e-05/0.786, allocations: 162.7 kB / 0.7488 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.7861, allocations: 83.34 kB / 0.7489 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.7863, allocations: 372.9 kB / 0.7493 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.7866, allocations: 127.5 kB / 0.7494 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.7869, allocations: 185.3 kB / 0.7496 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/0.7875, allocations: 343.6 kB / 0.7499 GB, free: 14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7875, allocations: 0 / 0.7499 GB, free: 14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008762/0.7884, allocations: 0.5029 MB / 0.7504 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.7884, allocations: 7.406 kB / 0.7504 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.7884, allocations: 0.9688 kB / 0.7504 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002682/0.7887, allocations: 64.84 kB / 0.7505 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.789, allocations: 91.12 kB / 0.7505 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.7913, allocations: 2.915 MB / 0.7534 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.7915, allocations: 44.16 kB / 0.7534 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.7916, allocations: 20.05 kB / 0.7535 GB, free: 11.18 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002372/0.7918, allocations: 168.9 kB / 0.7536 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.792, allocations: 63.61 kB / 0.7537 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.7934, allocations: 0.713 MB / 0.7544 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.7934, allocations: 3 kB / 0.7544 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7934, allocations: 2.141 kB / 0.7544 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.7936, allocations: 134.3 kB / 0.7545 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.033e-05/0.7937, allocations: 18.25 kB / 0.7545 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.7938, allocations: 14.33 kB / 0.7545 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.642e-05/0.7939, allocations: 35.3 kB / 0.7546 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001173/0.7951, allocations: 0.5372 MB / 0.7551 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009754/0.7961, allocations: 0.7711 MB / 0.7558 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002675/0.7964, allocations: 179.9 kB / 0.756 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003612/0.7968, allocations: 367.1 kB / 0.7564 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of Backend: time 4.31e-07/0.7968, allocations: 0.9688 kB / 0.7564 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001554/0.7983, allocations: 0.7769 MB / 0.7571 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of SimCode: time 0.001916/0.8003, allocations: 1.582 MB / 0.7587 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of Templates: time 0.01759/0.8179, allocations: 11.37 MB / 0.7698 GB, free: 7.922 MB / 0.5919 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches