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.0008225/0.0008225, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 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.0007972/0.0007972, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 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 0.8435/0.8435, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.4898/0.4898, allocations: 80.17 MB / 340.1 MB, free: 7.559 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 1.375 kB / 0.4936 GB, free: 6.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.09e-05, allocations: 3.828 kB / 0.4936 GB, free: 6.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.3568/0.3569, allocations: 169 MB / 0.6586 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01124/0.3681, allocations: 14.07 MB / 0.6724 GB, free: 4.164 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009737/0.3691, allocations: 100.4 kB / 0.6724 GB, free: 4.164 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.3705, allocations: 0.9316 MB / 0.6734 GB, free: 4.137 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003287/0.3738, allocations: 2.615 MB / 0.6759 GB, free: 3.867 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.3764, allocations: 1.926 MB / 0.6778 GB, free: 3.688 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002106/0.3785, allocations: 4.02 MB / 0.6817 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000344/0.3788, allocations: 270.2 kB / 0.682 GB, free: 2.492 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.3806, allocations: 2.239 MB / 0.6842 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.3816, allocations: 1.453 MB / 0.6856 GB, free: 2.117 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.3818, allocations: 169.3 kB / 0.6857 GB, free: 2.117 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.3844, allocations: 2.254 MB / 0.6879 GB, free: 1.969 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002439/0.3846, allocations: 481 kB / 0.6884 GB, free: 1.859 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.000497/0.3851, allocations: 0.7965 MB / 0.6892 GB, free: 1.758 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002492/0.3876, allocations: 3.401 MB / 0.6925 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3876, allocations: 6.156 kB / 0.6925 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3876, allocations: 1.094 kB / 0.6925 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.054e-05/0.3876, allocations: 0 / 0.6925 GB, free: 1.375 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002502/0.3901, allocations: 2.676 MB / 0.6951 GB, free: 120 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3902, allocations: 13.53 kB / 0.6951 GB, free: 120 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004362/0.3906, allocations: 281.5 kB / 0.6954 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.3921, allocations: 1.267 MB / 0.6966 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/0.3921, allocations: 116.7 kB / 0.6968 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.3923, allocations: 158.9 kB / 0.6969 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.3941, allocations: 2.298 MB / 0.6991 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.3941, allocations: 0 / 0.6991 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.439e-05/0.3942, allocations: 65.2 kB / 0.6992 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.3942, allocations: 37.75 kB / 0.6992 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.3957, allocations: 1.521 MB / 0.7007 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004666/0.4004, allocations: 5.094 MB / 0.7057 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.402, allocations: 1.402 MB / 0.7071 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006823/0.4027, allocations: 0.679 MB / 0.7077 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002795/0.4055, allocations: 2.68 MB / 0.7104 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.4055, allocations: 63.06 kB / 0.7104 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=166): time 2.785e-06/0.4055, allocations: 3.938 kB / 0.7104 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of matching and sorting (n=166): time 0.003513/0.409, allocations: 2.479 MB / 0.7128 GB, free: 9.684 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.4091, allocations: 175.7 kB / 0.713 GB, free: 9.496 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009824/0.4101, allocations: 1.294 MB / 0.7143 GB, free: 8.996 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.421e-05/0.4101, allocations: 57.3 kB / 0.7143 GB, free: 8.941 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004067/0.4106, allocations: 0.8471 MB / 0.7152 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.4108, allocations: 0.5881 MB / 0.7157 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.4111, allocations: 299.9 kB / 0.716 GB, free: 7.648 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.4e-05/0.4112, allocations: 308.2 kB / 0.7163 GB, free: 7.348 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005946/0.4118, allocations: 0.4916 MB / 0.7168 GB, free: 7.109 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007784/0.4126, allocations: 0.8678 MB / 0.7176 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.4141, allocations: 1.475 MB / 0.7191 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.4141, allocations: 5.875 kB / 0.7191 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.002269/0.4164, allocations: 1.902 MB / 0.7209 GB, free: 4.578 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.4164, allocations: 11.75 kB / 0.7209 GB, free: 4.578 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.4164, allocations: 11.59 kB / 0.721 GB, free: 4.578 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004275/0.4168, allocations: 225.9 kB / 0.7212 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007016/0.4175, allocations: 397.2 kB / 0.7216 GB, free: 4.383 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003518/0.4211, allocations: 7.018 MB / 0.7284 GB, free: 13.61 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005611/0.4216, allocations: 162.1 kB / 0.7286 GB, free: 13.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.392e-05/0.4217, allocations: 82.61 kB / 0.7286 GB, free: 13.47 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (206): * Single equations (assignments): 201 * 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.0004255/0.4221, allocations: 340.8 kB / 0.729 GB, free: 13.23 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/0.4224, allocations: 217.6 kB / 0.7292 GB, free: 13.12 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/0.4248, allocations: 2.046 MB / 0.7312 GB, free: 11.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.4248, allocations: 29.05 kB / 0.7312 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4248, allocations: 5.594 kB / 0.7312 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.4248, allocations: 7.969 kB / 0.7312 GB, free: 11.88 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003718/0.4285, allocations: 3.542 MB / 0.7347 GB, free: 9.582 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4285, allocations: 3.156 kB / 0.7347 GB, free: 9.582 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/0.429, allocations: 256.9 kB / 0.7349 GB, free: 9.535 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008431/0.4299, allocations: 472 kB / 0.7354 GB, free: 9.262 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.333e-05/0.43, allocations: 52.38 kB / 0.7354 GB, free: 9.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004265/0.4342, allocations: 9.295 MB / 0.7445 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4342, allocations: 4.031 kB / 0.7445 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00297/0.4372, allocations: 2.885 MB / 0.7473 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.4374, allocations: 198.3 kB / 0.7475 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.4375, allocations: 47.94 kB / 0.7476 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005377/0.4381, allocations: 63.89 kB / 0.7476 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.4382, allocations: 135.9 kB / 0.7477 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-05/0.4383, allocations: 67.95 kB / 0.7478 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0007484/0.4391, allocations: 0.8736 MB / 0.7487 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.4391, allocations: 0 / 0.7487 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001595/0.4407, allocations: 0.8264 MB / 0.7495 GB, free: 10.73 MB / 0.5886 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.0009103/0.4416, allocations: 0.7948 MB / 0.7502 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001974/0.4435, allocations: 1.928 MB / 0.7521 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4435, allocations: 4 kB / 0.7521 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.4448, allocations: 1.382 MB / 0.7535 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.4469, allocations: 0.8317 MB / 0.7543 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004742/0.4516, allocations: 3.893 MB / 0.7581 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005384/0.4522, allocations: 0.8051 MB / 0.7589 GB, free: 1.02 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/0.4525, allocations: 188.4 kB / 0.7591 GB, free: 0.8359 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.4525, allocations: 0 / 0.7591 GB, free: 0.8359 MB / 0.5886 GB Notification: Performance of Templates: time 0.05384/0.5063, allocations: 83.68 MB / 0.8408 GB, free: 13.18 MB / 0.6823 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: 9.180195743218064]