Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.00111/0.00111, allocations: 80.25 kB / 20.04 MB, free: 4.477 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.0008227/0.0008227, allocations: 174.3 kB / 23.34 MB, free: 1.176 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.8482/0.8482, allocations: 177.1 MB / 203.7 MB, free: 5.723 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.6402/0.6402, allocations: 116 MB / 376.1 MB, free: 4.152 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.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_dev_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_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.5547 GB, free: 12.74 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.74e-05, allocations: 6.25 kB / 0.5547 GB, free: 12.73 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.Sum): time 0.00208/0.002108, allocations: 1.7 MB / 0.5564 GB, free: 11.02 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000658/0.002766, allocations: 494.7 kB / 0.5569 GB, free: 10.53 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.223e-05/0.002838, allocations: 7.938 kB / 0.5569 GB, free: 10.52 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.857e-05/0.002936, allocations: 11.86 kB / 0.5569 GB, free: 10.51 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.9e-05/0.003015, allocations: 23.78 kB / 0.5569 GB, free: 10.49 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.003256, allocations: 51.81 kB / 0.5569 GB, free: 10.44 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.003395, allocations: 99.56 kB / 0.557 GB, free: 10.34 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.003519, allocations: 31.83 kB / 0.5571 GB, free: 10.31 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.003659, allocations: 55.88 kB / 0.5571 GB, free: 10.25 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.003761, allocations: 43.89 kB / 0.5572 GB, free: 10.21 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.003778, allocations: 4 kB / 0.5572 GB, free: 10.21 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.286e-05/0.003821, allocations: 15.92 kB / 0.5572 GB, free: 10.19 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.003863, allocations: 23.92 kB / 0.5572 GB, free: 10.17 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.003895, allocations: 23.98 kB / 0.5572 GB, free: 10.14 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.004041, allocations: 99.56 kB / 0.5573 GB, free: 10.05 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.004044, allocations: 0 / 0.5573 GB, free: 10.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.004045, allocations: 0 / 0.5573 GB, free: 10.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.004052, allocations: 0 / 0.5573 GB, free: 10.05 MB / 490.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.0003938/0.004446, allocations: 329.8 kB / 0.5576 GB, free: 9.695 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.004484, allocations: 12.03 kB / 0.5577 GB, free: 9.684 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.0046, allocations: 20.88 kB / 0.5577 GB, free: 9.664 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.004741, allocations: 137.6 kB / 0.5578 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.004753, allocations: 4.375 kB / 0.5578 GB, free: 9.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.004764, allocations: 12.38 kB / 0.5578 GB, free: 9.488 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.004941, allocations: 114.6 kB / 0.5579 GB, free: 9.363 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.004949, allocations: 192 / 0.5579 GB, free: 9.363 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.004963, allocations: 12.36 kB / 0.5579 GB, free: 9.352 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.004969, allocations: 3.938 kB / 0.5579 GB, free: 9.348 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.14e-05/0.005061, allocations: 67.89 kB / 0.558 GB, free: 9.281 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.005455, allocations: 444.7 kB / 0.5584 GB, free: 8.809 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.957e-05/0.005515, allocations: 34.5 kB / 0.5585 GB, free: 8.766 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.005548, allocations: 24.91 kB / 0.5585 GB, free: 8.738 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.005559, allocations: 0 / 0.5585 GB, free: 8.738 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.005577, allocations: 30.56 kB / 0.5585 GB, free: 8.699 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 5.51e-07/0.005578, allocations: 0 / 0.5585 GB, free: 8.699 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001738/0.005752, allocations: 73.72 kB / 0.5586 GB, free: 8.621 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.005774, allocations: 55.34 kB / 0.5586 GB, free: 8.555 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.669e-05/0.005871, allocations: 131.8 kB / 0.5588 GB, free: 8.414 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.005881, allocations: 29.7 kB / 0.5588 GB, free: 8.379 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.005935, allocations: 115.9 kB / 0.5589 GB, free: 8.262 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.55e-06/0.005941, allocations: 3.953 kB / 0.5589 GB, free: 8.258 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.005966, allocations: 21.66 kB / 0.5589 GB, free: 8.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.16e-05/0.006038, allocations: 318.8 kB / 0.5592 GB, free: 7.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.322e-05/0.006071, allocations: 15.98 kB / 0.5593 GB, free: 7.895 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.128e-05/0.006102, allocations: 30.56 kB / 0.5593 GB, free: 7.855 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.769e-05/0.00616, allocations: 46.59 kB / 0.5593 GB, free: 7.801 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.006162, allocations: 0 / 0.5593 GB, free: 7.801 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.726e-05/0.00625, allocations: 73.58 kB / 0.5594 GB, free: 7.723 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.006263, allocations: 7.938 kB / 0.5594 GB, free: 7.715 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.006268, allocations: 3.984 kB / 0.5594 GB, free: 7.711 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.006281, allocations: 8.031 kB / 0.5594 GB, free: 7.703 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.948e-05/0.006341, allocations: 15.94 kB / 0.5594 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.006345, allocations: 4 kB / 0.5594 GB, free: 7.684 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.279e-05/0.006368, allocations: 0 / 0.5594 GB, free: 7.684 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.006374, allocations: 4 kB / 0.5594 GB, free: 7.68 MB / 490.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 5.576e-05/0.00643, allocations: 117.8 kB / 0.5595 GB, free: 7.555 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.006444, allocations: 7.953 kB / 0.5596 GB, free: 7.547 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.648e-05/0.00646, allocations: 7.969 kB / 0.5596 GB, free: 7.543 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.006462, allocations: 4 kB / 0.5596 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.006464, allocations: 3.938 kB / 0.5596 GB, free: 7.535 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.006475, allocations: 11.94 kB / 0.5596 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.006484, allocations: 0 / 0.5596 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.3e-05/0.006517, allocations: 4 kB / 0.5596 GB, free: 7.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.006542, allocations: 0 / 0.5596 GB, free: 7.52 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.995e-05/0.006632, allocations: 132.9 kB / 0.5597 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001052/0.006737, allocations: 230.8 kB / 0.5599 GB, free: 7.141 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.069e-05/0.006768, allocations: 12 kB / 0.5599 GB, free: 7.129 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.336e-05/0.006811, allocations: 100.8 kB / 0.56 GB, free: 7.031 MB / 490.7 MB Notification: Performance of Backend: time 3.81e-07/0.006812, allocations: 4.062 kB / 0.56 GB, free: 7.027 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002965/0.007108, allocations: 102.3 kB / 0.5601 GB, free: 6.922 MB / 490.7 MB Notification: Performance of SimCode: time 0.0004283/0.007536, allocations: 0.6242 MB / 0.5608 GB, free: 6.25 MB / 490.7 MB Notification: Performance of Templates: time 0.00226/0.009797, allocations: 0.7583 MB / 0.5615 GB, free: 5.508 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.sim & ./ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat. Warning: Get data of variable CPUtime from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat failed! Error: Could not read variable EventCounter in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat. Warning: Get data of variable EventCounter from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat failed! Error: Could not read variable _derdummy in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat. Warning: Get data of variable _derdummy from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat failed! Error: Could not read variable _dummy in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat. Warning: Get data of variable _dummy from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3814802281558514]