Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 105.8 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 191.8 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7747/0.7747, allocations: 97.64 MB / 388.8 MB, free: 1.449 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002432/0.002432, allocations: 82.36 kB / 0.5268 GB, free: 38.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1112, allocations: 69.24 MB / 0.5944 GB, free: 488 kB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02063/0.1318, allocations: 17.36 MB / 0.6114 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008839/0.1406, allocations: 6.801 MB / 0.618 GB, free: 8.215 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006208/0.1413, allocations: 27.81 kB / 0.618 GB, free: 8.188 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008042/0.1421, allocations: 290 kB / 0.6183 GB, free: 7.902 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.1436, allocations: 0.5395 MB / 0.6188 GB, free: 7.359 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000973/0.1446, allocations: 366.7 kB / 0.6192 GB, free: 7 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.1457, allocations: 0.8087 MB / 0.62 GB, free: 6.188 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.1459, allocations: 97.53 kB / 0.6201 GB, free: 6.086 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006269/0.1466, allocations: 358.3 kB / 0.6204 GB, free: 5.734 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003912/0.147, allocations: 302.5 kB / 0.6207 GB, free: 5.438 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.867e-05/0.147, allocations: 44 kB / 0.6207 GB, free: 5.395 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000959/0.148, allocations: 359.6 kB / 0.6211 GB, free: 5.043 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.1481, allocations: 107.5 kB / 0.6212 GB, free: 4.938 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002978/0.1484, allocations: 302.2 kB / 0.6215 GB, free: 4.641 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.1498, allocations: 0.8326 MB / 0.6223 GB, free: 3.805 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1498, allocations: 4 kB / 0.6223 GB, free: 3.801 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1498, allocations: 0 / 0.6223 GB, free: 3.801 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.1498, allocations: 0 / 0.6223 GB, free: 3.801 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001762/0.1515, allocations: 0.9921 MB / 0.6233 GB, free: 2.754 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1516, allocations: 8.031 kB / 0.6233 GB, free: 2.746 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.1518, allocations: 80.45 kB / 0.6233 GB, free: 2.668 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009619/0.1528, allocations: 0.5351 MB / 0.6239 GB, free: 2.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.1528, allocations: 32.94 kB / 0.6239 GB, free: 2.055 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-05/0.1529, allocations: 36 kB / 0.6239 GB, free: 2.02 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007959/0.1537, allocations: 463.8 kB / 0.6244 GB, free: 1.551 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1537, allocations: 0 / 0.6244 GB, free: 1.551 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/0.1537, allocations: 20 kB / 0.6244 GB, free: 1.531 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.1537, allocations: 8 kB / 0.6244 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007228/0.1545, allocations: 411.7 kB / 0.6248 GB, free: 1.117 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00286/0.1573, allocations: 2.057 MB / 0.6268 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007319/0.158, allocations: 381.2 kB / 0.6272 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.1583, allocations: 162.3 kB / 0.6273 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001709/0.1601, allocations: 1.411 MB / 0.6287 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1601, allocations: 34.89 kB / 0.6287 GB, free: 12.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=41): time 3.818e-06/0.1601, allocations: 3.984 kB / 0.6287 GB, free: 12.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=41): time 0.006185/0.1663, allocations: 1.46 MB / 0.6302 GB, free: 11.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.1663, allocations: 85.05 kB / 0.6302 GB, free: 11.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006094/0.1669, allocations: 475 kB / 0.6307 GB, free: 10.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.167, allocations: 33.7 kB / 0.6307 GB, free: 10.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.1672, allocations: 292.7 kB / 0.631 GB, free: 10.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.1674, allocations: 150.7 kB / 0.6311 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.1675, allocations: 74.08 kB / 0.6312 GB, free: 10.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1677, allocations: 378.7 kB / 0.6316 GB, free: 9.668 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.1679, allocations: 124.8 kB / 0.6317 GB, free: 9.547 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.1682, allocations: 181.8 kB / 0.6319 GB, free: 9.352 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005798/0.1688, allocations: 331 kB / 0.6322 GB, free: 9.012 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1688, allocations: 3.938 kB / 0.6322 GB, free: 9.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002909/0.1717, allocations: 0.7914 MB / 0.633 GB, free: 8.203 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.1717, allocations: 8.031 kB / 0.633 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1718, allocations: 0 / 0.633 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002833/0.1746, allocations: 489.2 kB / 0.6334 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.1749, allocations: 67.91 kB / 0.6335 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.177, allocations: 2.204 MB / 0.6357 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/0.1774, allocations: 43.7 kB / 0.6357 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.1774, allocations: 16 kB / 0.6357 GB, free: 5.219 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002575/0.1777, allocations: 172.1 kB / 0.6359 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.1778, allocations: 63.69 kB / 0.6359 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003073/0.1809, allocations: 0.8538 MB / 0.6368 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1809, allocations: 4 kB / 0.6368 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.1809, allocations: 4 kB / 0.6368 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1809, allocations: 4.078 kB / 0.6368 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003714/0.1846, allocations: 1.368 MB / 0.6381 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1846, allocations: 0 / 0.6381 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.1848, allocations: 51.97 kB / 0.6382 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002738/0.1876, allocations: 493.2 kB / 0.6386 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.1876, allocations: 15.98 kB / 0.6387 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/0.1897, allocations: 2.193 MB / 0.6408 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1897, allocations: 4.031 kB / 0.6408 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003197/0.1929, allocations: 1.104 MB / 0.6419 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.1931, allocations: 168.6 kB / 0.642 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.474e-05/0.1932, allocations: 12 kB / 0.6421 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.1935, allocations: 16.05 kB / 0.6421 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.1935, allocations: 27.72 kB / 0.6421 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.1936, allocations: 19.92 kB / 0.6421 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000471/0.194, allocations: 342.9 kB / 0.6424 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.194, allocations: 0 / 0.6424 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007574/0.1948, allocations: 187.6 kB / 0.6426 GB, free: 13.83 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.T) * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004716/0.1953, allocations: 307.3 kB / 0.6429 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001026/0.1963, allocations: 454.1 kB / 0.6433 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1963, allocations: 4.062 kB / 0.6433 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005657/0.1969, allocations: 302.4 kB / 0.6436 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009831/0.1979, allocations: 157.6 kB / 0.6438 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.2, allocations: 1.117 MB / 0.6449 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/0.2006, allocations: 0.8707 MB / 0.6457 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003223/0.2009, allocations: 76.28 kB / 0.6458 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.201, allocations: 43.42 kB / 0.6458 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.201, allocations: 0 / 0.6458 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.02052/0.2215, allocations: 10.63 MB / 0.6562 GB, free: 15.91 MB / 0.5137 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -s gbode -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches