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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] 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.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,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: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009041/0.009041, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.002086/0.002086, allocations: 199.1 kB / 16.68 MB, free: 5.977 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.575/1.575, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7654/0.7654, allocations: 93.71 MB / 384.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002445/0.002445, allocations: 83.86 kB / 0.5204 GB, free: 5.805 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1418, allocations: 68.26 MB / 0.5871 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.4917/0.6336, allocations: 189.3 MB / 0.7719 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0271/0.6607, allocations: 17.83 MB / 0.7893 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002563/0.6633, allocations: 67.5 kB / 0.7894 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003494/0.6668, allocations: 0.9975 MB / 0.7904 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007575/0.6745, allocations: 2.367 MB / 0.7927 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005542/0.6801, allocations: 1.827 MB / 0.7945 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006314/0.6864, allocations: 3.624 MB / 0.798 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.6876, allocations: 459.1 kB / 0.7984 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003775/0.6914, allocations: 1.552 MB / 0.8 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003127/0.6946, allocations: 1.56 MB / 0.8015 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001116/0.6957, allocations: 168 kB / 0.8016 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007216/0.7029, allocations: 2.57 MB / 0.8042 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009702/0.704, allocations: 454 kB / 0.8046 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002027/0.706, allocations: 1.084 MB / 0.8056 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007327/0.7133, allocations: 3.255 MB / 0.8088 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.7134, allocations: 0 / 0.8088 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7134, allocations: 0 / 0.8088 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.785e-05/0.7135, allocations: 4 kB / 0.8088 GB, free: 15.08 MB / 0.6544 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.005374/0.7188, allocations: 2.698 MB / 0.8115 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.7189, allocations: 12.03 kB / 0.8115 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007316/0.7196, allocations: 262.4 kB / 0.8117 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002471/0.7221, allocations: 1.343 MB / 0.813 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.7222, allocations: 106.9 kB / 0.8131 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002565/0.7225, allocations: 159.9 kB / 0.8133 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003065/0.7256, allocations: 1.639 MB / 0.8149 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.7256, allocations: 0 / 0.8149 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.7258, allocations: 60 kB / 0.8149 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.983e-05/0.7258, allocations: 39.94 kB / 0.815 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002783/0.7286, allocations: 1.481 MB / 0.8164 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.7394, allocations: 7.159 MB / 0.8234 GB, free: 15.38 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003174/0.7426, allocations: 1.55 MB / 0.8249 GB, free: 13.78 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.744, allocations: 0.7645 MB / 0.8257 GB, free: 13 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007926/0.7519, allocations: 5.951 MB / 0.8315 GB, free: 6.281 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.69e-05/0.752, allocations: 55.81 kB / 0.8315 GB, free: 6.219 MB / 0.67 GB Notification: Performance of pre-optimization done (n=166): time 4.358e-06/0.752, allocations: 0 / 0.8315 GB, free: 6.219 MB / 0.67 GB Notification: Performance of matching and sorting (n=166): time 0.007525/0.7596, allocations: 3.167 MB / 0.8346 GB, free: 2.855 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.7597, allocations: 171.1 kB / 0.8348 GB, free: 2.652 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00197/0.7617, allocations: 1.303 MB / 0.8361 GB, free: 1.344 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002198/0.7619, allocations: 61.7 kB / 0.8361 GB, free: 1.277 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007672/0.7627, allocations: 0.7934 MB / 0.8369 GB, free: 480 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007109/0.7634, allocations: 0.6006 MB / 0.8375 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004902/0.7639, allocations: 303.5 kB / 0.8378 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.7641, allocations: 301.1 kB / 0.8381 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.7652, allocations: 499.8 kB / 0.8386 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.7666, allocations: 0.8211 MB / 0.8394 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002517/0.7692, allocations: 1.433 MB / 0.8408 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/0.7692, allocations: 4.875 kB / 0.8408 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003967/0.7732, allocations: 1.881 MB / 0.8426 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.7732, allocations: 8 kB / 0.8426 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.7732, allocations: 8 kB / 0.8426 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008886/0.7741, allocations: 228.2 kB / 0.8428 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.7756, allocations: 383.4 kB / 0.8432 GB, free: 9.73 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007364/0.783, allocations: 7.686 MB / 0.8507 GB, free: 1.352 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.7845, allocations: 162.8 kB / 0.8509 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.7847, allocations: 75.98 kB / 0.8509 GB, free: 1.117 MB / 0.6856 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.000746/0.7854, allocations: 345.3 kB / 0.8513 GB, free: 0.7695 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004574/0.7859, allocations: 202.7 kB / 0.8514 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2779/1.064, allocations: 2.051 MB / 0.8535 GB, free: 234.7 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/1.064, allocations: 17.81 kB / 0.8535 GB, free: 234.7 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/1.064, allocations: 5.453 kB / 0.8535 GB, free: 234.7 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.947e-05/1.064, allocations: 14.08 kB / 0.8535 GB, free: 234.7 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007635/1.072, allocations: 3.951 MB / 0.8573 GB, free: 233.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/1.072, allocations: 4.125 kB / 0.8573 GB, free: 233.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/1.073, allocations: 255 kB / 0.8576 GB, free: 233.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002435/1.076, allocations: 474.4 kB / 0.858 GB, free: 233.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002265/1.076, allocations: 53.38 kB / 0.8581 GB, free: 233.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00726/1.083, allocations: 9.968 MB / 0.8678 GB, free: 223.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-06/1.083, allocations: 7.281 kB / 0.8678 GB, free: 223.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006811/1.09, allocations: 2.9 MB / 0.8707 GB, free: 222.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007305/1.091, allocations: 291.7 kB / 0.8709 GB, free: 222.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003584/1.091, allocations: 39.92 kB / 0.871 GB, free: 222.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/1.093, allocations: 59.62 kB / 0.871 GB, free: 222.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003711/1.093, allocations: 129.2 kB / 0.8712 GB, free: 222 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/1.093, allocations: 77.47 kB / 0.8712 GB, free: 222 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001233/1.095, allocations: 0.9025 MB / 0.8721 GB, free: 221.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.41e-07/1.095, allocations: 2.438 kB / 0.8721 GB, free: 221.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002195/1.097, allocations: 0.7781 MB / 0.8729 GB, free: 221.6 MB / 0.6856 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.001308/1.098, allocations: 0.7612 MB / 0.8736 GB, free: 221.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003762/1.102, allocations: 1.999 MB / 0.8756 GB, free: 220.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/1.102, allocations: 3.906 kB / 0.8756 GB, free: 220.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003424/1.105, allocations: 1.444 MB / 0.877 GB, free: 219.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004769/1.11, allocations: 0.6113 MB / 0.8776 GB, free: 219.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009871/1.12, allocations: 3.884 MB / 0.8814 GB, free: 217.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/1.121, allocations: 1.336 MB / 0.8827 GB, free: 216.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001901/1.123, allocations: 352.3 kB / 0.883 GB, free: 216.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006375/1.124, allocations: 165.7 kB / 0.8832 GB, free: 216.3 MB / 0.6856 GB Notification: Performance of SimCode: time 1.162e-06/1.124, allocations: 0 / 0.8832 GB, free: 216.3 MB / 0.6856 GB Notification: Performance of Templates: time 0.05584/1.18, allocations: 36.99 MB / 0.9193 GB, free: 197.9 MB / 0.6856 GB 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches