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.001348/0.001348, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00134/0.00134, allocations: 214.1 kB / 22.25 MB, free: 4.855 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.7824/0.7824, allocations: 94.62 MB / 407 MB, free: 8.875 MB / 318.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.002633/0.002633, allocations: 89.02 kB / 0.5554 GB, free: 38.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1339, allocations: 73.05 MB / 0.6268 GB, free: 15.69 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.556/0.6898, allocations: 165.7 MB / 0.7885 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02072/0.7106, allocations: 16.32 MB / 0.8045 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002904/0.7135, allocations: 96.22 kB / 0.8046 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003135/0.7166, allocations: 0.8897 MB / 0.8054 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007357/0.7239, allocations: 2.389 MB / 0.8078 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00555/0.7295, allocations: 1.857 MB / 0.8096 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00556/0.7351, allocations: 3.66 MB / 0.8132 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.7362, allocations: 280.5 kB / 0.8134 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004191/0.7404, allocations: 1.639 MB / 0.815 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00341/0.7438, allocations: 1.49 MB / 0.8165 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009801/0.7448, allocations: 169.1 kB / 0.8166 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006643/0.7514, allocations: 2.236 MB / 0.8188 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009479/0.7524, allocations: 456.5 kB / 0.8193 GB, free: 444 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0026/0.755, allocations: 0.8987 MB / 0.8201 GB, free: 0 / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008949/0.7639, allocations: 3.247 MB / 0.8233 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.7639, allocations: 0 / 0.8233 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.395e-06/0.7639, allocations: 0.9375 kB / 0.8233 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001267/0.764, allocations: 0 / 0.8233 GB, free: 14.93 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.006909/0.771, allocations: 2.622 MB / 0.8259 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.771, allocations: 8.594 kB / 0.8259 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009742/0.772, allocations: 272.6 kB / 0.8261 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00275/0.7747, allocations: 1.224 MB / 0.8273 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.7748, allocations: 110.1 kB / 0.8274 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002268/0.7751, allocations: 161.4 kB / 0.8276 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003347/0.7784, allocations: 2.253 MB / 0.8298 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/0.7784, allocations: 8.156 kB / 0.8298 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/0.7786, allocations: 64.62 kB / 0.8299 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.7786, allocations: 35.28 kB / 0.8299 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00253/0.7811, allocations: 1.505 MB / 0.8314 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008762/0.7899, allocations: 4.613 MB / 0.8359 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/0.7927, allocations: 1.431 MB / 0.8373 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.7937, allocations: 0.6622 MB / 0.8379 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005548/0.7993, allocations: 2.684 MB / 0.8405 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.266e-05/0.7994, allocations: 61.59 kB / 0.8406 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=166): time 4.569e-06/0.7994, allocations: 0 / 0.8406 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of matching and sorting (n=166): time 0.006512/0.8059, allocations: 2.466 MB / 0.843 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.806, allocations: 180.4 kB / 0.8432 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.8076, allocations: 1.223 MB / 0.8444 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.8077, allocations: 57.77 kB / 0.8444 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006499/0.8084, allocations: 0.807 MB / 0.8452 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005314/0.8089, allocations: 0.5957 MB / 0.8458 GB, free: 252 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004316/0.8093, allocations: 296.9 kB / 0.8461 GB, free: 76 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.8095, allocations: 301.9 kB / 0.8464 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009451/0.8104, allocations: 0.4913 MB / 0.8468 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.8118, allocations: 0.8301 MB / 0.8477 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002471/0.8142, allocations: 1.437 MB / 0.8491 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.8142, allocations: 4 kB / 0.8491 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003904/0.8181, allocations: 1.85 MB / 0.8509 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.8182, allocations: 8 kB / 0.8509 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.8182, allocations: 15.94 kB / 0.8509 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008052/0.819, allocations: 227.9 kB / 0.8511 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.8204, allocations: 382.8 kB / 0.8515 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006462/0.8269, allocations: 7.022 MB / 0.8583 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.8284, allocations: 158.8 kB / 0.8585 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/0.8286, allocations: 84.78 kB / 0.8586 GB, free: 3.074 MB / 0.6075 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.0007866/0.8293, allocations: 332.6 kB / 0.8589 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006058/0.83, allocations: 214.8 kB / 0.8591 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/0.8343, allocations: 2.049 MB / 0.8611 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.8343, allocations: 22.53 kB / 0.8611 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.8343, allocations: 7.938 kB / 0.8611 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.8343, allocations: 7.969 kB / 0.8611 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006771/0.8411, allocations: 3.519 MB / 0.8646 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.8411, allocations: 4 kB / 0.8646 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.8422, allocations: 252.6 kB / 0.8648 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001882/0.844, allocations: 472.5 kB / 0.8653 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/0.8442, allocations: 59.91 kB / 0.8653 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008092/0.8523, allocations: 9.292 MB / 0.8744 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.8523, allocations: 4.25 kB / 0.8744 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005529/0.8578, allocations: 2.889 MB / 0.8772 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005004/0.8583, allocations: 198.4 kB / 0.8774 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.8585, allocations: 39.94 kB / 0.8774 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.8596, allocations: 59.91 kB / 0.8775 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002675/0.8599, allocations: 143.1 kB / 0.8776 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/0.86, allocations: 72.16 kB / 0.8777 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001233/0.8613, allocations: 0.8322 MB / 0.8785 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.8613, allocations: 0 / 0.8785 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00242/0.8637, allocations: 0.7912 MB / 0.8793 GB, free: 13.19 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.001358/0.865, allocations: 0.7538 MB / 0.88 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003546/0.8686, allocations: 1.904 MB / 0.8819 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.8686, allocations: 0 / 0.8819 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002555/0.8712, allocations: 1.389 MB / 0.8832 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/0.874, allocations: 0.558 MB / 0.8838 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007022/0.881, allocations: 3.894 MB / 0.8876 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008736/0.8819, allocations: 0.7659 MB / 0.8883 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001436/0.8833, allocations: 341.6 kB / 0.8887 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004354/0.8838, allocations: 163.4 kB / 0.8888 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of SimCode: time 1.202e-06/0.8838, allocations: 0 / 0.8888 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of Templates: time 0.06619/0.95, allocations: 39.47 MB / 0.9274 GB, free: 12.54 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.9486867766827345]