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.001276/0.001276, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001493/0.001493, allocations: 217.1 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.356/1.356, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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.7084/0.7084, allocations: 100.3 MB / 413.5 MB, free: 3.719 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.002312/0.002312, allocations: 86.19 kB / 0.5645 GB, free: 35.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1083, allocations: 74.46 MB / 0.6372 GB, free: 7.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.4522/0.5604, allocations: 190.8 MB / 0.8235 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01927/0.5797, allocations: 17.97 MB / 0.8411 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002243/0.5819, allocations: 99.66 kB / 0.8412 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002801/0.5847, allocations: 0.9923 MB / 0.8421 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006434/0.5912, allocations: 2.42 MB / 0.8445 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004828/0.596, allocations: 1.892 MB / 0.8463 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004794/0.6008, allocations: 3.683 MB / 0.8499 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006381/0.6014, allocations: 273.2 kB / 0.8502 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002931/0.6044, allocations: 1.64 MB / 0.8518 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002497/0.6069, allocations: 1.599 MB / 0.8534 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004336/0.6073, allocations: 167.4 kB / 0.8535 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005552/0.6128, allocations: 2.63 MB / 0.8561 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006809/0.6135, allocations: 455.1 kB / 0.8565 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.6151, allocations: 1.088 MB / 0.8576 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0062/0.6213, allocations: 3.27 MB / 0.8608 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6213, allocations: 0 / 0.8608 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6213, allocations: 0 / 0.8608 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.887e-05/0.6214, allocations: 3.938 kB / 0.8608 GB, free: 9.844 MB / 0.6075 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.004968/0.6264, allocations: 2.622 MB / 0.8633 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.6264, allocations: 16.02 kB / 0.8633 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006582/0.6271, allocations: 258.5 kB / 0.8636 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/0.6294, allocations: 1.235 MB / 0.8648 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.47e-05/0.6295, allocations: 110.9 kB / 0.8649 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/0.6297, allocations: 159.9 kB / 0.8651 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/0.6324, allocations: 1.643 MB / 0.8667 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.6324, allocations: 3.938 kB / 0.8667 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.6325, allocations: 64 kB / 0.8667 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.6326, allocations: 36 kB / 0.8668 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/0.6351, allocations: 1.516 MB / 0.8682 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009234/0.6443, allocations: 7.081 MB / 0.8752 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002709/0.647, allocations: 1.417 MB / 0.8765 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.6482, allocations: 0.6833 MB / 0.8772 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004838/0.653, allocations: 2.939 MB / 0.8801 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.653, allocations: 63.75 kB / 0.8801 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=166): time 2.865e-06/0.6531, allocations: 4 kB / 0.8801 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of matching and sorting (n=166): time 0.006164/0.6592, allocations: 2.46 MB / 0.8825 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.6593, allocations: 179 kB / 0.8827 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.6609, allocations: 1.299 MB / 0.884 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.661, allocations: 57.7 kB / 0.884 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000669/0.6617, allocations: 0.7994 MB / 0.8848 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004744/0.6622, allocations: 0.599 MB / 0.8854 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004126/0.6626, allocations: 295.5 kB / 0.8857 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6627, allocations: 305.1 kB / 0.886 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009649/0.6637, allocations: 499.8 kB / 0.8865 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.6649, allocations: 0.8249 MB / 0.8873 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00229/0.6672, allocations: 1.437 MB / 0.8887 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.6672, allocations: 7.625 kB / 0.8887 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00345/0.6707, allocations: 1.861 MB / 0.8905 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.6707, allocations: 8.781 kB / 0.8905 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.6707, allocations: 8.875 kB / 0.8905 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000744/0.6715, allocations: 224.1 kB / 0.8907 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.6728, allocations: 387.4 kB / 0.8911 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006316/0.6792, allocations: 7.18 MB / 0.8981 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.6803, allocations: 158.8 kB / 0.8983 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001908/0.6805, allocations: 75.97 kB / 0.8983 GB, free: 1.844 MB / 0.6387 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.0006715/0.6812, allocations: 337.5 kB / 0.8986 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005038/0.6817, allocations: 198.7 kB / 0.8988 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004189/0.6859, allocations: 2.059 MB / 0.9008 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.6859, allocations: 16 kB / 0.9009 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.6859, allocations: 4 kB / 0.9009 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.412e-05/0.6859, allocations: 11.97 kB / 0.9009 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006748/0.6927, allocations: 3.897 MB / 0.9047 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.6927, allocations: 4 kB / 0.9047 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009942/0.6937, allocations: 263.9 kB / 0.9049 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001763/0.6955, allocations: 479.2 kB / 0.9054 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.6956, allocations: 55.97 kB / 0.9055 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007684/0.7033, allocations: 9.448 MB / 0.9147 GB, free: 260 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.7033, allocations: 7.938 kB / 0.9147 GB, free: 252 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005093/0.7084, allocations: 2.877 MB / 0.9175 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005161/0.7089, allocations: 210.3 kB / 0.9177 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002893/0.7092, allocations: 39.94 kB / 0.9177 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.7103, allocations: 59.95 kB / 0.9178 GB, free: 13.01 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/0.7105, allocations: 136.6 kB / 0.9179 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/0.7107, allocations: 71.95 kB / 0.918 GB, free: 12.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00128/0.7119, allocations: 0.9015 MB / 0.9189 GB, free: 11.91 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7119, allocations: 0 / 0.9189 GB, free: 11.91 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002192/0.7141, allocations: 0.7834 MB / 0.9196 GB, free: 11.12 MB / 0.67 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.001332/0.7155, allocations: 0.7634 MB / 0.9204 GB, free: 10.39 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003354/0.7188, allocations: 1.914 MB / 0.9223 GB, free: 8.406 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.7188, allocations: 0 / 0.9223 GB, free: 8.406 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002466/0.7213, allocations: 1.38 MB / 0.9236 GB, free: 6.969 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/0.7241, allocations: 0.6217 MB / 0.9242 GB, free: 6.367 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006551/0.7307, allocations: 3.942 MB / 0.9281 GB, free: 2.355 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.7317, allocations: 1.348 MB / 0.9294 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004977/0.7322, allocations: 183.4 kB / 0.9295 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of SimCode: time 5.11e-07/0.7322, allocations: 0 / 0.9295 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of Templates: time 0.0835/0.8157, allocations: 79.56 MB / 1.007 GB, free: 1.242 MB / 0.7481 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 -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: 12.993342231027782]