Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 80.38 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 162.9 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.396/1.396, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7218/0.7218, allocations: 80.2 MB / 339.4 MB, free: 10.85 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV") translateModel(ThermofluidStream.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.4929 GB, free: 25.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.306e-05, allocations: 2.281 kB / 0.4929 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.2021/0.2021, allocations: 169 MB / 0.6579 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02045/0.2225, allocations: 14.09 MB / 0.6716 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.2245, allocations: 103.1 kB / 0.6717 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002755/0.2273, allocations: 0.9152 MB / 0.6726 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007382/0.2346, allocations: 2.616 MB / 0.6752 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005536/0.2402, allocations: 1.924 MB / 0.6771 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005929/0.2461, allocations: 4.014 MB / 0.681 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000726/0.2468, allocations: 271.2 kB / 0.6812 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00475/0.2516, allocations: 2.244 MB / 0.6834 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002742/0.2543, allocations: 1.449 MB / 0.6849 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004871/0.2548, allocations: 168 kB / 0.685 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005625/0.2604, allocations: 2.257 MB / 0.6872 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007633/0.2612, allocations: 473.9 kB / 0.6877 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00159/0.2628, allocations: 0.7987 MB / 0.6884 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006427/0.2692, allocations: 3.411 MB / 0.6918 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2692, allocations: 0 / 0.6918 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2692, allocations: 0 / 0.6918 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.512e-05/0.2693, allocations: 4 kB / 0.6918 GB, free: 3.215 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.005505/0.2748, allocations: 2.67 MB / 0.6944 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2748, allocations: 13.47 kB / 0.6944 GB, free: 496 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008734/0.2757, allocations: 282.4 kB / 0.6947 GB, free: 212 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1996/0.4753, allocations: 1.272 MB / 0.6959 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.4755, allocations: 112.3 kB / 0.696 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003438/0.4758, allocations: 157.1 kB / 0.6962 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003412/0.4792, allocations: 2.304 MB / 0.6984 GB, free: 179.7 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.944e-05/0.4793, allocations: 0.8438 kB / 0.6984 GB, free: 179.7 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.4794, allocations: 65.88 kB / 0.6985 GB, free: 179.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/0.4795, allocations: 36.62 kB / 0.6985 GB, free: 179.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/0.4821, allocations: 1.518 MB / 0.7 GB, free: 179.2 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007399/0.4895, allocations: 5.083 MB / 0.705 GB, free: 176.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/0.4919, allocations: 1.411 MB / 0.7063 GB, free: 175.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000983/0.4929, allocations: 0.6752 MB / 0.707 GB, free: 175.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004276/0.4972, allocations: 2.681 MB / 0.7096 GB, free: 173.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.4972, allocations: 62.69 kB / 0.7097 GB, free: 173.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=166): time 3.487e-06/0.4972, allocations: 0 / 0.7097 GB, free: 173.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=166): time 0.006045/0.5033, allocations: 2.471 MB / 0.7121 GB, free: 172.6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.5033, allocations: 171 kB / 0.7123 GB, free: 172.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.5047, allocations: 1.3 MB / 0.7135 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001455/0.5049, allocations: 57.58 kB / 0.7136 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/0.5053, allocations: 0.8528 MB / 0.7144 GB, free: 171.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/0.5056, allocations: 0.5896 MB / 0.715 GB, free: 170.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003823/0.506, allocations: 298 kB / 0.7153 GB, free: 170.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.68e-05/0.5061, allocations: 307.9 kB / 0.7156 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009166/0.507, allocations: 0.4911 MB / 0.716 GB, free: 170.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.5081, allocations: 0.8685 MB / 0.7169 GB, free: 169.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.5102, allocations: 1.468 MB / 0.7183 GB, free: 168.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/0.5102, allocations: 2.938 kB / 0.7183 GB, free: 168.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.003565/0.5138, allocations: 1.903 MB / 0.7202 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.5138, allocations: 9.625 kB / 0.7202 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.5138, allocations: 9.625 kB / 0.7202 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007428/0.5145, allocations: 232.5 kB / 0.7204 GB, free: 167.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/0.5165, allocations: 391 kB / 0.7208 GB, free: 167.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004193/0.5207, allocations: 7.022 MB / 0.7277 GB, free: 161.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.522, allocations: 155.5 kB / 0.7278 GB, free: 161.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000221/0.5222, allocations: 80.41 kB / 0.7279 GB, free: 161 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (206): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007145/0.5229, allocations: 350.5 kB / 0.7282 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006281/0.5236, allocations: 208.2 kB / 0.7284 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004121/0.5277, allocations: 2.064 MB / 0.7304 GB, free: 159.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.5277, allocations: 18.16 kB / 0.7305 GB, free: 159.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.129e-05/0.5277, allocations: 5.234 kB / 0.7305 GB, free: 159.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-05/0.5277, allocations: 9.531 kB / 0.7305 GB, free: 159.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006589/0.5343, allocations: 3.54 MB / 0.7339 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.5343, allocations: 2.25 kB / 0.7339 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.5354, allocations: 257.7 kB / 0.7342 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001845/0.5373, allocations: 474 kB / 0.7346 GB, free: 157.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001823/0.5374, allocations: 55.44 kB / 0.7347 GB, free: 157.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005169/0.5426, allocations: 9.304 MB / 0.7438 GB, free: 148.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5426, allocations: 3.266 kB / 0.7438 GB, free: 148.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005025/0.5476, allocations: 2.89 MB / 0.7466 GB, free: 147.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004663/0.5481, allocations: 204.7 kB / 0.7468 GB, free: 147.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003571/0.5485, allocations: 38.28 kB / 0.7468 GB, free: 147.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.5497, allocations: 55.94 kB / 0.7469 GB, free: 147.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003222/0.55, allocations: 141.8 kB / 0.747 GB, free: 147.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/0.5502, allocations: 71.92 kB / 0.7471 GB, free: 147.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001294/0.5515, allocations: 0.8722 MB / 0.7479 GB, free: 146.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5515, allocations: 1.594 kB / 0.7479 GB, free: 146.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002356/0.5538, allocations: 0.8291 MB / 0.7487 GB, free: 146.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 13 (volumeFlex2.M,volumeFlex2.U_med,volumeFlex.M,volumeFlex.U_med,flowResistance.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex3.M,volumeFlex3.U_med,flowResistance1.inlet.m_flow,pCV2.inlet.m_flow,pCV3.inlet.m_flow,pCV4.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,3), (2,3), (2,3), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001411/0.5553, allocations: 0.7824 MB / 0.7495 GB, free: 146.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003323/0.5586, allocations: 1.92 MB / 0.7514 GB, free: 145.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/0.5586, allocations: 0.8125 kB / 0.7514 GB, free: 145.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002376/0.561, allocations: 1.376 MB / 0.7527 GB, free: 144.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004416/0.5654, allocations: 0.845 MB / 0.7536 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007621/0.573, allocations: 3.848 MB / 0.7573 GB, free: 142.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.574, allocations: 0.7931 MB / 0.7581 GB, free: 141.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001508/0.5756, allocations: 375.1 kB / 0.7584 GB, free: 141.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00046/0.576, allocations: 174.5 kB / 0.7586 GB, free: 141.7 MB / 0.5919 GB Notification: Performance of SimCode: time 8.12e-07/0.576, allocations: 0 / 0.7586 GB, free: 141.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.05383/0.6298, allocations: 42.36 MB / 0.8 GB, free: 102.5 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.PCV_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.306828290224075]