Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001604/0.001604, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001721/0.001721, allocations: 160.7 kB / 23.01 MB, free: 4.602 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.358/1.358, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7423/0.7423, allocations: 79.61 MB / 339.4 MB, free: 11 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_ThermofluidStream.FlowControl.Tests.PCV") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002524/0.002524, allocations: 87.22 kB / 0.4924 GB, free: 26.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.116, allocations: 74.57 MB / 0.5652 GB, free: 6.027 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.4757/0.5916, allocations: 165.6 MB / 0.7269 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01735/0.609, allocations: 16.33 MB / 0.7429 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002231/0.6112, allocations: 97.31 kB / 0.743 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002425/0.6137, allocations: 0.8882 MB / 0.7439 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005938/0.6196, allocations: 2.393 MB / 0.7462 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004775/0.6244, allocations: 1.861 MB / 0.748 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004226/0.6286, allocations: 3.668 MB / 0.7516 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005738/0.6292, allocations: 268.8 kB / 0.7518 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.6321, allocations: 1.638 MB / 0.7534 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002296/0.6344, allocations: 1.497 MB / 0.7549 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004152/0.6348, allocations: 167.5 kB / 0.7551 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005104/0.6399, allocations: 2.238 MB / 0.7573 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004946/0.6404, allocations: 456 kB / 0.7577 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.6417, allocations: 0.9039 MB / 0.7586 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005572/0.6472, allocations: 3.244 MB / 0.7617 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.6472, allocations: 0 / 0.7617 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6472, allocations: 4.906 kB / 0.7617 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.776e-05/0.6473, allocations: 0 / 0.7617 GB, free: 1.051 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.00466/0.652, allocations: 2.623 MB / 0.7643 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.652, allocations: 9.594 kB / 0.7643 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007845/0.6528, allocations: 271.4 kB / 0.7646 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/0.6551, allocations: 1.227 MB / 0.7658 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.652e-05/0.6552, allocations: 112.7 kB / 0.7659 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.6554, allocations: 161.2 kB / 0.766 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003034/0.6585, allocations: 2.252 MB / 0.7682 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.6585, allocations: 4.844 kB / 0.7682 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.6587, allocations: 67.36 kB / 0.7683 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.6587, allocations: 35.91 kB / 0.7683 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.6612, allocations: 1.504 MB / 0.7698 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008248/0.6694, allocations: 4.608 MB / 0.7743 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002751/0.6722, allocations: 1.425 MB / 0.7757 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.6733, allocations: 0.6679 MB / 0.7763 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005258/0.6786, allocations: 2.687 MB / 0.779 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.848e-05/0.6786, allocations: 65.16 kB / 0.779 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=166): time 4.258e-06/0.6786, allocations: 0 / 0.779 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=166): time 0.006531/0.6852, allocations: 2.47 MB / 0.7814 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.6853, allocations: 176.3 kB / 0.7816 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.6868, allocations: 1.229 MB / 0.7828 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000163/0.687, allocations: 58.61 kB / 0.7829 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007014/0.6877, allocations: 0.8112 MB / 0.7837 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005522/0.6883, allocations: 0.5975 MB / 0.7842 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004092/0.6887, allocations: 292.5 kB / 0.7845 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6888, allocations: 301.7 kB / 0.7848 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009592/0.6898, allocations: 0.4896 MB / 0.7853 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.6911, allocations: 0.8294 MB / 0.7861 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.6935, allocations: 1.433 MB / 0.7875 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.6935, allocations: 10.81 kB / 0.7875 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003719/0.6972, allocations: 1.858 MB / 0.7893 GB, free: 380 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.6972, allocations: 13.31 kB / 0.7893 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.6973, allocations: 12.72 kB / 0.7893 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007613/0.698, allocations: 221.2 kB / 0.7896 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.6994, allocations: 379.8 kB / 0.7899 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006296/0.7057, allocations: 7.028 MB / 0.7968 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.7071, allocations: 152.1 kB / 0.7969 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/0.7073, allocations: 75.98 kB / 0.797 GB, free: 9.16 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (201): * Single equations (assignments): 196 * 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.000736/0.708, allocations: 343 kB / 0.7973 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006185/0.7087, allocations: 202.7 kB / 0.7975 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/0.7131, allocations: 2.052 MB / 0.7995 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.7131, allocations: 20 kB / 0.7995 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.7131, allocations: 7.938 kB / 0.7996 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.703e-05/0.7132, allocations: 7.969 kB / 0.7996 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007061/0.7202, allocations: 3.532 MB / 0.803 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.7202, allocations: 0 / 0.803 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.7213, allocations: 255.9 kB / 0.8033 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001908/0.7232, allocations: 466.5 kB / 0.8037 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001782/0.7234, allocations: 59.95 kB / 0.8038 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008452/0.7318, allocations: 9.299 MB / 0.8128 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.7318, allocations: 4 kB / 0.8128 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005871/0.7377, allocations: 2.881 MB / 0.8157 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005672/0.7383, allocations: 194.4 kB / 0.8158 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003372/0.7386, allocations: 40.2 kB / 0.8159 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.7399, allocations: 59.95 kB / 0.8159 GB, free: 5.102 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003014/0.7402, allocations: 147.2 kB / 0.8161 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/0.7404, allocations: 67.95 kB / 0.8161 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001365/0.7417, allocations: 0.84 MB / 0.817 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7417, allocations: 0 / 0.817 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002642/0.7444, allocations: 0.7873 MB / 0.8177 GB, free: 3.27 MB / 0.6387 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.001568/0.7459, allocations: 0.7604 MB / 0.8185 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003873/0.7498, allocations: 1.914 MB / 0.8203 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.7498, allocations: 0 / 0.8203 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002827/0.7526, allocations: 1.385 MB / 0.8217 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/0.7561, allocations: 0.565 MB / 0.8222 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0076/0.7637, allocations: 3.874 MB / 0.826 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.7647, allocations: 0.7658 MB / 0.8268 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001506/0.7662, allocations: 337.6 kB / 0.8271 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004947/0.7667, allocations: 160.5 kB / 0.8273 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of SimCode: time 8.81e-07/0.7667, allocations: 0 / 0.8273 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of Templates: time 0.0639/0.8306, allocations: 36.61 MB / 0.863 GB, free: 5.422 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.PCV_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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.222148199914955]