Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.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.0008178/0.0008178, allocations: 90.56 kB / 20.21 MB, free: 4.055 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.0008237/0.0008237, allocations: 169.3 kB / 23.54 MB, free: 0.7344 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.8597/0.8597, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6281/0.6281, allocations: 118.6 MB / 379 MB, free: 1.465 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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.Idealized.EnergyFlow.Tests.Sum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|const.k|const.y|energyFlowSource.E_flow|energyFlowSource.E_flow_out|energyFlowSource1.E_flow|energyFlowSource1.E_flow_out|energyFlowSource2.E_flow|energyFlowSource2.E_flow_out|energyFlowSource3.E_flow|energyFlowSource3.E_flow_out|energyFlowSource4.E_flow|energyFlowSource4.E_flow_out|energyFlowSource5.E_flow|energyFlowSource5.E_flow_out|sine.amplitude|sine.continuous|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|sum1.E_flow_in.1.|sum1.E_flow_in.2.|sum1.E_flow_out|sum2.E_flow_in.1.|sum2.E_flow_in.2.|sum2.E_flow_out|sum3.E_flow_in.1.|sum3.E_flow_in.2.|sum3.E_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum") translateModel(ThermofluidStream.Idealized.EnergyFlow.Tests.Sum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|const.k|const.y|energyFlowSource.E_flow|energyFlowSource.E_flow_out|energyFlowSource1.E_flow|energyFlowSource1.E_flow_out|energyFlowSource2.E_flow|energyFlowSource2.E_flow_out|energyFlowSource3.E_flow|energyFlowSource3.E_flow_out|energyFlowSource4.E_flow|energyFlowSource4.E_flow_out|energyFlowSource5.E_flow|energyFlowSource5.E_flow_out|sine.amplitude|sine.continuous|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|sum1.E_flow_in.1.|sum1.E_flow_in.2.|sum1.E_flow_out|sum2.E_flow_in.1.|sum2.E_flow_in.2.|sum2.E_flow_out|sum3.E_flow_in.1.|sum3.E_flow_in.2.|sum3.E_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 483.7 MB, free: 8.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.598e-05, allocations: 5.406 kB / 483.7 MB, free: 8.273 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.Sum): time 0.002239/0.002255, allocations: 1.695 MB / 485.4 MB, free: 7.105 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007049/0.00296, allocations: 0.4909 MB / 485.8 MB, free: 6.773 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.796e-05/0.003028, allocations: 1.594 kB / 485.8 MB, free: 6.773 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.003132, allocations: 15.41 kB / 485.9 MB, free: 6.766 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.931e-05/0.003222, allocations: 26.31 kB / 485.9 MB, free: 6.746 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.003448, allocations: 48.09 kB / 485.9 MB, free: 6.723 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.003594, allocations: 99.61 kB / 486 MB, free: 6.676 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.003706, allocations: 29.38 kB / 486.1 MB, free: 6.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.003849, allocations: 71.61 kB / 486.1 MB, free: 6.629 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.003953, allocations: 41.17 kB / 486.2 MB, free: 6.617 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.003975, allocations: 6.438 kB / 486.2 MB, free: 6.617 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.715e-05/0.004022, allocations: 8.156 kB / 486.2 MB, free: 6.617 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.004064, allocations: 20.86 kB / 486.2 MB, free: 6.605 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.004105, allocations: 33.67 kB / 486.2 MB, free: 6.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.004253, allocations: 88.3 kB / 486.3 MB, free: 6.559 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.004254, allocations: 0 / 486.3 MB, free: 6.559 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004255, allocations: 1.531 kB / 486.3 MB, free: 6.559 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.004258, allocations: 0 / 486.3 MB, free: 6.559 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000457/0.004715, allocations: 330.9 kB / 486.7 MB, free: 22.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.004754, allocations: 9.094 kB / 486.7 MB, free: 22.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.004898, allocations: 25.36 kB / 486.7 MB, free: 22.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.005044, allocations: 140.6 kB / 486.8 MB, free: 22.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.005056, allocations: 7.375 kB / 486.8 MB, free: 22.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.005069, allocations: 10 kB / 486.8 MB, free: 22.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.005263, allocations: 114.8 kB / 487 MB, free: 22.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.005271, allocations: 192 / 487 MB, free: 22.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.005283, allocations: 6.062 kB / 487 MB, free: 22.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.005289, allocations: 5.281 kB / 487 MB, free: 22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.005407, allocations: 61.94 kB / 487 MB, free: 21.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.005861, allocations: 452 kB / 487.5 MB, free: 21.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.509e-05/0.005926, allocations: 31.62 kB / 487.5 MB, free: 21.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/0.005971, allocations: 20.48 kB / 487.5 MB, free: 21.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.005982, allocations: 1.375 kB / 487.5 MB, free: 21.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.005997, allocations: 31.94 kB / 487.5 MB, free: 21.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.005998, allocations: 0 / 487.5 MB, free: 21.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002049/0.006203, allocations: 75.91 kB / 487.6 MB, free: 21.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.207e-05/0.006215, allocations: 56.72 kB / 487.7 MB, free: 21.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.006316, allocations: 132.7 kB / 487.8 MB, free: 21.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.222e-06/0.006323, allocations: 27.08 kB / 487.8 MB, free: 21.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.006378, allocations: 116.8 kB / 487.9 MB, free: 21.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.424e-06/0.006385, allocations: 9.312 kB / 488 MB, free: 21.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.006417, allocations: 15.8 kB / 488 MB, free: 21.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.253e-05/0.00651, allocations: 317.6 kB / 488.3 MB, free: 20.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.882e-05/0.006549, allocations: 14.25 kB / 488.3 MB, free: 20.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.849e-05/0.006587, allocations: 35.56 kB / 488.3 MB, free: 20.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.444e-05/0.006661, allocations: 50.86 kB / 488.4 MB, free: 20.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.006663, allocations: 3.938 kB / 488.4 MB, free: 20.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001169/0.00678, allocations: 74.28 kB / 488.5 MB, free: 20.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.006793, allocations: 5.5 kB / 488.5 MB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.006798, allocations: 5.469 kB / 488.5 MB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.006809, allocations: 1.375 kB / 488.5 MB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/0.00687, allocations: 14.14 kB / 488.5 MB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.006875, allocations: 1.375 kB / 488.5 MB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.808e-05/0.006913, allocations: 2.75 kB / 488.5 MB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.006921, allocations: 1.375 kB / 488.5 MB, free: 20.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.951e-05/0.00699, allocations: 119.3 kB / 488.6 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.007017, allocations: 9.984 kB / 488.6 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.767e-05/0.007035, allocations: 10.72 kB / 488.6 MB, free: 20.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.007038, allocations: 0 / 488.6 MB, free: 20.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007039, allocations: 7.938 kB / 488.6 MB, free: 20.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.00705, allocations: 6.703 kB / 488.6 MB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.007063, allocations: 1.375 kB / 488.6 MB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.007125, allocations: 4.75 kB / 488.6 MB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.007151, allocations: 1.375 kB / 488.6 MB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001182/0.007269, allocations: 128 kB / 488.8 MB, free: 20.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001457/0.007415, allocations: 236.4 kB / 489 MB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.946e-05/0.007454, allocations: 22.22 kB / 489 MB, free: 20.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.738e-05/0.007512, allocations: 102.6 kB / 489.1 MB, free: 20.09 MB / 426.7 MB Notification: Performance of Backend: time 2.9e-07/0.007512, allocations: 0 / 489.1 MB, free: 20.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003932/0.007905, allocations: 95.89 kB / 489.2 MB, free: 20.02 MB / 426.7 MB Notification: Performance of SimCode: time 0.00046/0.008365, allocations: 0.6388 MB / 489.9 MB, free: 19.39 MB / 426.7 MB Notification: Performance of Templates: time 0.002784/0.01115, allocations: 0.7745 MB / 490.6 MB, free: 19.29 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.sim & ./ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable CPUtime in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat. Warning: Get data of variable CPUtime from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat failed! Error: Could not read variable EventCounter in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat. Warning: Get data of variable EventCounter from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat failed! Error: Could not read variable _derdummy in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat. Warning: Get data of variable _derdummy from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat failed! Error: Could not read variable _dummy in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat. Warning: Get data of variable _dummy from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1643137499922886]