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.001613/0.001613, allocations: 79.12 kB / 19 MB, free: 2.867 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.001773/0.001773, allocations: 160.2 kB / 22.25 MB, free: 5.133 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.39/1.39, allocations: 177.2 MB / 202.6 MB, free: 9.262 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7028/0.7028, allocations: 74.91 MB / 333.9 MB, free: 72 kB / 302.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: 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.002489/0.002489, allocations: 91.98 kB / 495.6 MB, free: 29.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1075, allocations: 73.03 MB / 0.5553 GB, free: 15.74 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.469/0.5765, allocations: 165.3 MB / 0.7168 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0178/0.5943, allocations: 16.31 MB / 0.7327 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/0.5963, allocations: 95.69 kB / 0.7328 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002544/0.5988, allocations: 0.8881 MB / 0.7337 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006/0.6048, allocations: 2.394 MB / 0.736 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004602/0.6094, allocations: 1.857 MB / 0.7378 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004035/0.6135, allocations: 3.654 MB / 0.7414 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006775/0.6142, allocations: 274.2 kB / 0.7417 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004378/0.6185, allocations: 2.216 MB / 0.7438 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002331/0.6209, allocations: 1.497 MB / 0.7453 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005208/0.6214, allocations: 166.5 kB / 0.7454 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004754/0.6261, allocations: 2.237 MB / 0.7476 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005941/0.6267, allocations: 459.2 kB / 0.7481 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001511/0.6282, allocations: 0.901 MB / 0.7489 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005467/0.6337, allocations: 3.239 MB / 0.7521 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6337, allocations: 4 kB / 0.7521 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6337, allocations: 0 / 0.7521 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.525e-05/0.6338, allocations: 0.8125 kB / 0.7521 GB, free: 2.227 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.004687/0.6385, allocations: 2.619 MB / 0.7547 GB, free: 17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.6385, allocations: 9.625 kB / 0.7547 GB, free: 17 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007307/0.6392, allocations: 269.7 kB / 0.7549 GB, free: 16.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.6414, allocations: 1.229 MB / 0.7561 GB, free: 16.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.302e-05/0.6415, allocations: 108.4 kB / 0.7562 GB, free: 16.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.6417, allocations: 159.8 kB / 0.7564 GB, free: 16.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002938/0.6446, allocations: 2.256 MB / 0.7586 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/0.6446, allocations: 11.36 kB / 0.7586 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.6448, allocations: 62.47 kB / 0.7587 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.6448, allocations: 37.81 kB / 0.7587 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.6471, allocations: 1.506 MB / 0.7602 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008169/0.6553, allocations: 4.606 MB / 0.7647 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002808/0.6581, allocations: 1.428 MB / 0.7661 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.6592, allocations: 0.6681 MB / 0.7667 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004984/0.6642, allocations: 2.683 MB / 0.7693 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.6643, allocations: 57 kB / 0.7694 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=166): time 3.967e-06/0.6643, allocations: 3.094 kB / 0.7694 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=166): time 0.006432/0.6707, allocations: 2.464 MB / 0.7718 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.6708, allocations: 183.2 kB / 0.772 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.6724, allocations: 1.233 MB / 0.7732 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001789/0.6725, allocations: 58.36 kB / 0.7732 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006909/0.6732, allocations: 0.8091 MB / 0.774 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005741/0.6738, allocations: 0.5948 MB / 0.7746 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004408/0.6743, allocations: 293.7 kB / 0.7749 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.6744, allocations: 302 kB / 0.7752 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009945/0.6754, allocations: 0.4899 MB / 0.7756 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.6767, allocations: 0.8253 MB / 0.7765 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002454/0.6792, allocations: 1.441 MB / 0.7779 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/0.6792, allocations: 4.906 kB / 0.7779 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003753/0.683, allocations: 1.85 MB / 0.7797 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.683, allocations: 11.91 kB / 0.7797 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.683, allocations: 15.97 kB / 0.7797 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007605/0.6838, allocations: 230.2 kB / 0.7799 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.6851, allocations: 384.1 kB / 0.7803 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006433/0.6916, allocations: 7.021 MB / 0.7871 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.6929, allocations: 155.6 kB / 0.7873 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/0.6931, allocations: 76.45 kB / 0.7874 GB, free: 12.95 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.000749/0.6939, allocations: 331.8 kB / 0.7877 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005714/0.6945, allocations: 205.3 kB / 0.7879 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004217/0.6987, allocations: 2.052 MB / 0.7899 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.6987, allocations: 20.89 kB / 0.7899 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.6987, allocations: 13.44 kB / 0.7899 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.407e-05/0.6987, allocations: 10.94 kB / 0.7899 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006731/0.7055, allocations: 3.526 MB / 0.7934 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.7055, allocations: 5.906 kB / 0.7934 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.7065, allocations: 257.7 kB / 0.7936 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001858/0.7083, allocations: 466.4 kB / 0.7941 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001761/0.7085, allocations: 59.91 kB / 0.7941 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008435/0.717, allocations: 9.302 MB / 0.8032 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.717, allocations: 0 / 0.8032 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006001/0.723, allocations: 2.881 MB / 0.806 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005494/0.7235, allocations: 198.3 kB / 0.8062 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003403/0.7238, allocations: 51.89 kB / 0.8063 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.725, allocations: 55.95 kB / 0.8063 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/0.7253, allocations: 139.2 kB / 0.8064 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/0.7254, allocations: 71.95 kB / 0.8065 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00128/0.7267, allocations: 0.8361 MB / 0.8073 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.7267, allocations: 0 / 0.8073 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002536/0.7292, allocations: 0.7873 MB / 0.8081 GB, free: 9.527 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.001439/0.7307, allocations: 0.7526 MB / 0.8088 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003714/0.7344, allocations: 1.902 MB / 0.8107 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/0.7344, allocations: 4 kB / 0.8107 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002763/0.7372, allocations: 1.39 MB / 0.812 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003133/0.7403, allocations: 0.5629 MB / 0.8126 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007363/0.7477, allocations: 3.864 MB / 0.8164 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009522/0.7486, allocations: 0.7581 MB / 0.8171 GB, free: 240 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001501/0.7501, allocations: 349.6 kB / 0.8174 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005069/0.7506, allocations: 160.5 kB / 0.8176 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/0.7506, allocations: 0 / 0.8176 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.06428/0.8149, allocations: 36.62 MB / 0.8534 GB, free: 11.69 MB / 0.6856 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.21213442645967]