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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 110.4 kB / 18.68 MB, free: 3.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 200.4 kB / 21.94 MB, free: 76 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 225.6 MB / 250.6 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7639/0.7639, allocations: 94.59 MB / 400.4 MB, free: 15.8 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-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=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 0.002421/0.002421, allocations: 79.91 kB / 0.5464 GB, free: 43.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1038, allocations: 71.86 MB / 0.6166 GB, free: 8.582 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.5042/0.608, allocations: 190.7 MB / 0.8028 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01851/0.6265, allocations: 17.97 MB / 0.8204 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002634/0.6292, allocations: 69.75 kB / 0.8204 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.6319, allocations: 0.9968 MB / 0.8214 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006739/0.6387, allocations: 2.416 MB / 0.8238 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004984/0.6437, allocations: 1.837 MB / 0.8256 GB, free: 172 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00566/0.6493, allocations: 3.634 MB / 0.8291 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006472/0.65, allocations: 277.4 kB / 0.8294 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003497/0.6535, allocations: 1.599 MB / 0.8309 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002684/0.6561, allocations: 1.597 MB / 0.8325 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003358/0.6565, allocations: 173.5 kB / 0.8327 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005946/0.6624, allocations: 2.595 MB / 0.8352 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005745/0.663, allocations: 465.8 kB / 0.8356 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001645/0.6647, allocations: 1.086 MB / 0.8367 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006441/0.6711, allocations: 3.273 MB / 0.8399 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6711, allocations: 0 / 0.8399 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6711, allocations: 0.875 kB / 0.8399 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.824e-05/0.6711, allocations: 0 / 0.8399 GB, free: 10.29 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.005265/0.6764, allocations: 2.704 MB / 0.8425 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.6764, allocations: 10.31 kB / 0.8425 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006671/0.6771, allocations: 264.7 kB / 0.8428 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00238/0.6795, allocations: 1.333 MB / 0.8441 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-05/0.6796, allocations: 112.2 kB / 0.8442 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/0.6798, allocations: 161.5 kB / 0.8444 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002823/0.6826, allocations: 1.629 MB / 0.846 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/0.6827, allocations: 6.562 kB / 0.846 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/0.6828, allocations: 65.77 kB / 0.846 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.6829, allocations: 39.94 kB / 0.8461 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002753/0.6856, allocations: 1.481 MB / 0.8475 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/0.6958, allocations: 7.162 MB / 0.8545 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003005/0.6988, allocations: 1.423 MB / 0.8559 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.7001, allocations: 0.6698 MB / 0.8565 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00733/0.7074, allocations: 5.951 MB / 0.8624 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.465e-05/0.7075, allocations: 62.34 kB / 0.8624 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=166): time 3.466e-06/0.7075, allocations: 0 / 0.8624 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=166): time 0.00735/0.7148, allocations: 3.147 MB / 0.8655 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.7149, allocations: 175 kB / 0.8657 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.7168, allocations: 1.311 MB / 0.8669 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.7169, allocations: 57.7 kB / 0.867 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006782/0.7176, allocations: 0.7974 MB / 0.8678 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005229/0.7181, allocations: 0.595 MB / 0.8683 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000451/0.7185, allocations: 303.5 kB / 0.8686 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.7187, allocations: 305.1 kB / 0.8689 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.7197, allocations: 499.8 kB / 0.8694 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.7211, allocations: 0.8285 MB / 0.8702 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002514/0.7236, allocations: 1.432 MB / 0.8716 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.7236, allocations: 0 / 0.8716 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003824/0.7274, allocations: 1.864 MB / 0.8734 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.7275, allocations: 11.94 kB / 0.8734 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.7275, allocations: 12.88 kB / 0.8735 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008054/0.7283, allocations: 222.8 kB / 0.8737 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.7298, allocations: 386.7 kB / 0.874 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006996/0.7368, allocations: 7.684 MB / 0.8815 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.7382, allocations: 171.5 kB / 0.8817 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/0.7384, allocations: 74.41 kB / 0.8818 GB, free: 15.23 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.0007131/0.7391, allocations: 336.8 kB / 0.8821 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004504/0.7395, allocations: 206.7 kB / 0.8823 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004513/0.744, allocations: 2.044 MB / 0.8843 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/0.7441, allocations: 7.969 kB / 0.8843 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.7441, allocations: 4 kB / 0.8843 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/0.7445, allocations: 283.4 kB / 0.8846 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.7447, allocations: 43.92 kB / 0.8846 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009705/0.7457, allocations: 55.97 kB / 0.8847 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.746, allocations: 131.3 kB / 0.8848 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005442/0.7514, allocations: 2.246 MB / 0.887 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004403/0.7558, allocations: 2.632 MB / 0.8896 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001124/0.7569, allocations: 0.5723 MB / 0.8901 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001339/0.7583, allocations: 0.8972 MB / 0.891 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of Backend: time 5.41e-07/0.7583, allocations: 0 / 0.891 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005311/0.7636, allocations: 2.309 MB / 0.8932 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of SimCode: time 0.007251/0.7708, allocations: 4.533 MB / 0.8977 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.06853/0.8394, allocations: 39.25 MB / 0.936 GB, free: 8.016 MB / 0.6856 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_2/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: 7.620020218018908]