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.0009154/0.0009154, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008994/0.0008994, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8494/0.8494, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.5997/0.5997, allocations: 116 MB / 376 MB, free: 4.207 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.5545 GB, free: 12.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.091e-05, allocations: 4.672 kB / 0.5545 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.3683/0.3683, allocations: 169.1 MB / 0.7196 GB, free: 8.773 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01318/0.3815, allocations: 14.16 MB / 0.7334 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.3832, allocations: 113.9 kB / 0.7335 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.3848, allocations: 0.9252 MB / 0.7344 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0041/0.3889, allocations: 2.627 MB / 0.737 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00311/0.392, allocations: 1.964 MB / 0.7389 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.003287/0.3953, allocations: 4.084 MB / 0.7429 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003749/0.3957, allocations: 274.3 kB / 0.7431 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002685/0.3984, allocations: 2.272 MB / 0.7454 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/0.3998, allocations: 1.45 MB / 0.7468 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0002191/0.4, allocations: 167.8 kB / 0.7469 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003075/0.4031, allocations: 2.256 MB / 0.7491 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002911/0.4034, allocations: 481.6 kB / 0.7496 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0006618/0.404, allocations: 0.8005 MB / 0.7504 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003572/0.4076, allocations: 3.483 MB / 0.7538 GB, free: 448 kB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4076, allocations: 0 / 0.7538 GB, free: 448 kB / 0.5886 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4076, allocations: 0 / 0.7538 GB, free: 448 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001033/0.4077, allocations: 7.938 kB / 0.7538 GB, free: 440 kB / 0.5886 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.003284/0.411, allocations: 2.739 MB / 0.7565 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.411, allocations: 10.31 kB / 0.7565 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005159/0.4115, allocations: 290.5 kB / 0.7567 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.4132, allocations: 1.348 MB / 0.7581 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.731e-05/0.4133, allocations: 110.9 kB / 0.7582 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.4134, allocations: 159.9 kB / 0.7583 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.4154, allocations: 2.294 MB / 0.7606 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.4154, allocations: 3.984 kB / 0.7606 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.864e-05/0.4155, allocations: 64 kB / 0.7606 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.4155, allocations: 39.94 kB / 0.7607 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/0.4179, allocations: 1.517 MB / 0.7621 GB, free: 8.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007307/0.4252, allocations: 5.063 MB / 0.7671 GB, free: 3.332 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/0.4279, allocations: 1.406 MB / 0.7685 GB, free: 1.887 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007224/0.4286, allocations: 0.6486 MB / 0.7691 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002936/0.4315, allocations: 2.635 MB / 0.7717 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.4316, allocations: 71.86 kB / 0.7717 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=166): time 3.447e-06/0.4316, allocations: 0 / 0.7717 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=166): time 0.003535/0.4351, allocations: 2.456 MB / 0.7741 GB, free: 12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/0.4352, allocations: 183.2 kB / 0.7743 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.4363, allocations: 1.35 MB / 0.7756 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.947e-05/0.4363, allocations: 57.7 kB / 0.7757 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.4368, allocations: 0.8716 MB / 0.7765 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.437, allocations: 0.5925 MB / 0.7771 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/0.4373, allocations: 295.5 kB / 0.7774 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.344e-05/0.4374, allocations: 313.1 kB / 0.7777 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005913/0.438, allocations: 491.8 kB / 0.7782 GB, free: 7.812 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007623/0.4387, allocations: 0.8506 MB / 0.779 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.4402, allocations: 1.454 MB / 0.7804 GB, free: 5.219 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.4402, allocations: 4 kB / 0.7804 GB, free: 5.215 MB / 0.6198 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.002107/0.4423, allocations: 1.89 MB / 0.7823 GB, free: 3.309 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.4423, allocations: 19.88 kB / 0.7823 GB, free: 3.289 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.4423, allocations: 8.844 kB / 0.7823 GB, free: 3.281 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004505/0.4428, allocations: 232 kB / 0.7825 GB, free: 3.039 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007066/0.4435, allocations: 383.4 kB / 0.7829 GB, free: 2.664 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003574/0.447, allocations: 7.017 MB / 0.7897 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/0.4477, allocations: 154.9 kB / 0.7899 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.835e-05/0.4478, allocations: 76.17 kB / 0.79 GB, free: 10.91 MB / 0.6355 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.0004805/0.4483, allocations: 353.3 kB / 0.7903 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/0.4486, allocations: 218.6 kB / 0.7905 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.451, allocations: 2.045 MB / 0.7925 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.451, allocations: 20 kB / 0.7925 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.451, allocations: 8.938 kB / 0.7925 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.4511, allocations: 7.969 kB / 0.7925 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004667/0.4557, allocations: 3.522 MB / 0.796 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.4557, allocations: 4 kB / 0.796 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007992/0.4565, allocations: 255.9 kB / 0.7962 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/0.4578, allocations: 479.3 kB / 0.7967 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.4579, allocations: 59.91 kB / 0.7967 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005305/0.4632, allocations: 9.307 MB / 0.8058 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4632, allocations: 4 kB / 0.8058 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003116/0.4664, allocations: 2.859 MB / 0.8086 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000576/0.4669, allocations: 354.1 kB / 0.809 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.4671, allocations: 43.95 kB / 0.809 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005543/0.4676, allocations: 55.97 kB / 0.809 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.4678, allocations: 144.8 kB / 0.8092 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.907e-05/0.4679, allocations: 63.97 kB / 0.8092 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008148/0.4687, allocations: 0.911 MB / 0.8101 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.91e-07/0.4687, allocations: 0 / 0.8101 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001978/0.4707, allocations: 0.8302 MB / 0.8109 GB, free: 4.551 MB / 0.6511 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.0009112/0.4716, allocations: 0.7844 MB / 0.8117 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002028/0.4736, allocations: 1.907 MB / 0.8136 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.4736, allocations: 384 / 0.8136 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.4748, allocations: 1.371 MB / 0.8149 GB, free: 364 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.4769, allocations: 0.8465 MB / 0.8157 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00485/0.4818, allocations: 3.962 MB / 0.8196 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/0.4823, allocations: 0.8216 MB / 0.8204 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/0.4826, allocations: 188.4 kB / 0.8206 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of SimCode: time 7.02e-07/0.4826, allocations: 0 / 0.8206 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of Templates: time 0.05632/0.539, allocations: 85.37 MB / 0.904 GB, free: 5.129 MB / 0.7448 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/jenkins/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: 10.28322469536215]