Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.001574/0.001574, allocations: 79.75 kB / 19.18 MB, free: 2.516 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.001716/0.001716, allocations: 162.8 kB / 22.46 MB, free: 5.375 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.384/1.384, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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.7222/0.7222, allocations: 80.21 MB / 339.4 MB, free: 10.88 MB / 318.1 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.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.4929 GB, free: 25.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.07e-05, allocations: 2.281 kB / 0.4929 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.0448/0.04482, allocations: 52.09 MB / 0.5437 GB, free: 6.938 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02494/0.06976, allocations: 17.38 MB / 0.5607 GB, free: 9.984 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/0.07173, allocations: 110.9 kB / 0.5608 GB, free: 9.875 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002534/0.07427, allocations: 0.8217 MB / 0.5616 GB, free: 9.047 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005368/0.07963, allocations: 1.881 MB / 0.5634 GB, free: 7.152 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004171/0.08381, allocations: 1.381 MB / 0.5648 GB, free: 5.766 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004305/0.08811, allocations: 2.911 MB / 0.5676 GB, free: 2.836 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007309/0.08884, allocations: 302.9 kB / 0.5679 GB, free: 2.508 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003104/0.09195, allocations: 1.581 MB / 0.5695 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.09325, allocations: 0.7592 MB / 0.5702 GB, free: 164 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002658/0.09351, allocations: 128 kB / 0.5703 GB, free: 36 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003316/0.09683, allocations: 1.146 MB / 0.5715 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004711/0.0973, allocations: 354.2 kB / 0.5718 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.09832, allocations: 0.6311 MB / 0.5724 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005361/0.1037, allocations: 2.741 MB / 0.5751 GB, free: 11.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1037, allocations: 0 / 0.5751 GB, free: 11.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1037, allocations: 4 kB / 0.5751 GB, free: 11.15 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.274e-05/0.1037, allocations: 0 / 0.5751 GB, free: 11.15 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004609/0.1083, allocations: 2.412 MB / 0.5774 GB, free: 8.695 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1084, allocations: 17.41 kB / 0.5775 GB, free: 8.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007/0.1091, allocations: 266.5 kB / 0.5777 GB, free: 8.418 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.1116, allocations: 1.22 MB / 0.5789 GB, free: 7.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.243e-05/0.1116, allocations: 94.33 kB / 0.579 GB, free: 7.066 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.1118, allocations: 120 kB / 0.5791 GB, free: 6.949 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.1141, allocations: 1.33 MB / 0.5804 GB, free: 5.539 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.1141, allocations: 0 / 0.5804 GB, free: 5.539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.1143, allocations: 48 kB / 0.5805 GB, free: 5.492 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.1143, allocations: 31.94 kB / 0.5805 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.1163, allocations: 1.153 MB / 0.5816 GB, free: 4.301 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006196/0.1225, allocations: 3.523 MB / 0.585 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.1242, allocations: 0.8575 MB / 0.5859 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007409/0.1249, allocations: 418.7 kB / 0.5863 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00362/0.1285, allocations: 1.551 MB / 0.5878 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.763e-05/0.1286, allocations: 47.5 kB / 0.5878 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=103): time 2.975e-06/0.1286, allocations: 0 / 0.5878 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=103): time 0.003677/0.1322, allocations: 1.462 MB / 0.5893 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.1323, allocations: 64.41 kB / 0.5893 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.1341, allocations: 1.272 MB / 0.5906 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.735e-05/0.1342, allocations: 41.7 kB / 0.5906 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007518/0.1349, allocations: 0.8127 MB / 0.5914 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003478/0.1353, allocations: 372.7 kB / 0.5918 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002865/0.1356, allocations: 178.6 kB / 0.5919 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.1358, allocations: 345.9 kB / 0.5923 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006131/0.1364, allocations: 293.9 kB / 0.5925 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008306/0.1372, allocations: 0.5527 MB / 0.5931 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.1388, allocations: 0.8203 MB / 0.5939 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1388, allocations: 0 / 0.5939 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002509/0.1413, allocations: 1.182 MB / 0.595 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.1413, allocations: 10.19 kB / 0.5951 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1413, allocations: 4 kB / 0.5951 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006687/0.142, allocations: 174.8 kB / 0.5952 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007465/0.1427, allocations: 199.7 kB / 0.5954 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004533/0.1473, allocations: 4.416 MB / 0.5997 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008655/0.1481, allocations: 87.61 kB / 0.5998 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.1483, allocations: 39.98 kB / 0.5998 GB, free: 0.957 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (112): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006177/0.1489, allocations: 289.8 kB / 0.6001 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000316/0.1492, allocations: 174.9 kB / 0.6003 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002993/0.1522, allocations: 1.57 MB / 0.6018 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.1522, allocations: 8 kB / 0.6018 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.1522, allocations: 7.984 kB / 0.6018 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.1522, allocations: 7.969 kB / 0.6018 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/0.1564, allocations: 2.211 MB / 0.604 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/0.1564, allocations: 4 kB / 0.604 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/0.1569, allocations: 155.8 kB / 0.6042 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005952/0.1575, allocations: 170.5 kB / 0.6043 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.271e-05/0.1576, allocations: 31.92 kB / 0.6044 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004699/0.1623, allocations: 4.427 MB / 0.6087 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1623, allocations: 4.031 kB / 0.6087 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003129/0.1655, allocations: 1.563 MB / 0.6102 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006452/0.1661, allocations: 262.5 kB / 0.6105 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.1663, allocations: 27.89 kB / 0.6105 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005895/0.1669, allocations: 31.98 kB / 0.6105 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.1671, allocations: 80.84 kB / 0.6106 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.559e-05/0.1671, allocations: 35.98 kB / 0.6106 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001298/0.1684, allocations: 0.8859 MB / 0.6115 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1684, allocations: 0 / 0.6115 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001624/0.1701, allocations: 0.5808 MB / 0.6121 GB, free: 4.008 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.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 (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001062/0.1711, allocations: 0.6748 MB / 0.6127 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002204/0.1733, allocations: 1.126 MB / 0.6138 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.1733, allocations: 0 / 0.6138 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.1746, allocations: 0.775 MB / 0.6146 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003172/0.1778, allocations: 0.6691 MB / 0.6152 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00618/0.184, allocations: 2.938 MB / 0.6181 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007575/0.1847, allocations: 0.6972 MB / 0.6188 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000994/0.1857, allocations: 289.1 kB / 0.6191 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003248/0.1861, allocations: 132.5 kB / 0.6192 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of SimCode: time 7.61e-07/0.1861, allocations: 0 / 0.6192 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of Templates: time 0.05698/0.243, allocations: 32.05 MB / 0.6505 GB, free: 13.1 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.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: 6.23723166808486]