Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.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.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001219/0.001219, allocations: 189.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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6559/0.6559, allocations: 91.18 MB / 382.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 79.86 kB / 0.5175 GB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2691, allocations: 67.68 MB / 0.5836 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.4227/0.6919, allocations: 164.4 MB / 0.7441 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01193/0.7038, allocations: 12.92 MB / 0.7567 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008778/0.7048, allocations: 38.47 kB / 0.7568 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.7062, allocations: 0.5821 MB / 0.7573 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002185/0.7085, allocations: 0.8924 MB / 0.7582 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.7106, allocations: 0.8147 MB / 0.759 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001497/0.7121, allocations: 1.344 MB / 0.7603 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004447/0.7125, allocations: 315.8 kB / 0.7606 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007095/0.7133, allocations: 0.5525 MB / 0.7612 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000664/0.7139, allocations: 0.6588 MB / 0.7618 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.7141, allocations: 79.23 kB / 0.7619 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.7166, allocations: 1.392 MB / 0.7632 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.7168, allocations: 199.3 kB / 0.7634 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004219/0.7172, allocations: 0.5086 MB / 0.7639 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.7191, allocations: 1.567 MB / 0.7655 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7191, allocations: 2.812 kB / 0.7655 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.213e-06/0.7191, allocations: 0 / 0.7655 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.824e-05/0.7191, allocations: 1 kB / 0.7655 GB, free: 0.9453 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002047/0.7212, allocations: 1.423 MB / 0.7669 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.7212, allocations: 9.25 kB / 0.7669 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.7214, allocations: 126.2 kB / 0.767 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.7224, allocations: 0.7688 MB / 0.7677 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.7225, allocations: 50.53 kB / 0.7678 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.732e-05/0.7226, allocations: 69.72 kB / 0.7678 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.7236, allocations: 0.7336 MB / 0.7686 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.7237, allocations: 2.531 kB / 0.7686 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.193e-05/0.7237, allocations: 29.09 kB / 0.7686 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.7237, allocations: 20.72 kB / 0.7686 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009464/0.7247, allocations: 0.6317 MB / 0.7692 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/0.7276, allocations: 3.108 MB / 0.7723 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.7288, allocations: 0.5724 MB / 0.7728 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.7292, allocations: 262.6 kB / 0.7731 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002153/0.7313, allocations: 2.587 MB / 0.7756 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.7313, allocations: 37.88 kB / 0.7756 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=55): time 2.164e-06/0.7314, allocations: 0 / 0.7756 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56): time 0.003094/0.7345, allocations: 1.78 MB / 0.7774 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.7345, allocations: 58.47 kB / 0.7774 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006908/0.7352, allocations: 0.6897 MB / 0.7781 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.7352, allocations: 35.58 kB / 0.7781 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.7355, allocations: 439.1 kB / 0.7786 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.7356, allocations: 192.2 kB / 0.7787 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.7357, allocations: 88.22 kB / 0.7788 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.7358, allocations: 326.5 kB / 0.7791 GB, free: 10 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.7361, allocations: 165.2 kB / 0.7793 GB, free: 10 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.7365, allocations: 228.7 kB / 0.7795 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006687/0.7372, allocations: 430.3 kB / 0.7799 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7372, allocations: 0 / 0.7799 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001099/0.7383, allocations: 0.6479 MB / 0.7806 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.7383, allocations: 6.125 kB / 0.7806 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.7383, allocations: 0.5938 kB / 0.7806 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003768/0.7387, allocations: 120.5 kB / 0.7807 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.7391, allocations: 96.34 kB / 0.7808 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.7411, allocations: 2.049 MB / 0.7828 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.7415, allocations: 16.97 kB / 0.7828 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.7415, allocations: 22.56 kB / 0.7828 GB, free: 8.398 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002702/0.7418, allocations: 214 kB / 0.783 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.7419, allocations: 89.97 kB / 0.7831 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.7434, allocations: 0.8636 MB / 0.7839 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.7434, allocations: 3.625 kB / 0.7839 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.7434, allocations: 3.031 kB / 0.7839 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.7436, allocations: 154.7 kB / 0.7841 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.559e-05/0.7437, allocations: 22.22 kB / 0.7841 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.744, allocations: 15.28 kB / 0.7841 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.744, allocations: 52.17 kB / 0.7842 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001402/0.7454, allocations: 0.691 MB / 0.7849 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00127/0.7467, allocations: 0.9675 MB / 0.7858 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003354/0.7471, allocations: 234.3 kB / 0.786 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00058/0.7477, allocations: 0.4994 MB / 0.7865 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of Backend: time 5.11e-07/0.7477, allocations: 0 / 0.7865 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001927/0.7496, allocations: 0.9525 MB / 0.7874 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of SimCode: time 0.002704/0.7523, allocations: 2.147 MB / 0.7895 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of Templates: time 0.02469/0.777, allocations: 17.57 MB / 0.8067 GB, free: 15.64 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.makefile (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches