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.00117/0.00117, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001419/0.001419, allocations: 181 kB / 23.35 MB, free: 1.137 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.9567/0.9567, allocations: 177.2 MB / 203.8 MB, free: 5.441 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.7141/0.7141, allocations: 118.7 MB / 378.9 MB, free: 1.336 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.[0-9,]+.|sum1.E_flow_out|sum2.E_flow_in.[0-9,]+.|sum2.E_flow_out|sum3.E_flow_in.[0-9,]+.|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.[0-9,]+.|sum1.E_flow_out|sum2.E_flow_in.[0-9,]+.|sum2.E_flow_out|sum3.E_flow_in.[0-9,]+.|sum3.E_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.679e-05, allocations: 2.312 kB / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.Sum): time 0.001986/0.002003, allocations: 1.758 MB / 432.6 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006268/0.00263, allocations: 0.4947 MB / 433.1 MB, free: 11.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.083e-05/0.002691, allocations: 7.938 kB / 433.1 MB, free: 11.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.726e-05/0.002788, allocations: 15.84 kB / 433.1 MB, free: 11.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.585e-05/0.002864, allocations: 27.78 kB / 433.1 MB, free: 11.01 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.003052, allocations: 47.81 kB / 433.2 MB, free: 10.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.003168, allocations: 99.58 kB / 433.3 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.416e-05/0.003252, allocations: 23.97 kB / 433.3 MB, free: 10.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.003373, allocations: 67.75 kB / 433.4 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.004e-05/0.003463, allocations: 43.88 kB / 433.4 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.003479, allocations: 12 kB / 433.4 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.858e-05/0.003517, allocations: 8 kB / 433.4 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.341e-05/0.003551, allocations: 19.92 kB / 433.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.00358, allocations: 31.91 kB / 433.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.003689, allocations: 71.69 kB / 433.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-06/0.00369, allocations: 0 / 433.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.00369, allocations: 4 kB / 433.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.635e-06/0.003693, allocations: 0 / 433.5 MB, free: 10.59 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.0002678/0.003961, allocations: 296.5 kB / 433.8 MB, free: 10.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.003991, allocations: 12.03 kB / 433.8 MB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.393e-05/0.004084, allocations: 20.92 kB / 433.9 MB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.004205, allocations: 141.6 kB / 434 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.004214, allocations: 4.375 kB / 434 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.004224, allocations: 8.375 kB / 434 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.004337, allocations: 105.5 kB / 434.1 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.004343, allocations: 192 / 434.1 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.004351, allocations: 4.375 kB / 434.1 MB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.004356, allocations: 7.938 kB / 434.1 MB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.814e-05/0.004384, allocations: 15.94 kB / 434.1 MB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.0049, allocations: 387.1 kB / 434.5 MB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.01e-05/0.00494, allocations: 30.58 kB / 434.5 MB, free: 9.477 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.004956, allocations: 12.98 kB / 434.6 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.004965, allocations: 0 / 434.6 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.004981, allocations: 34.56 kB / 434.6 MB, free: 9.418 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.004982, allocations: 0 / 434.6 MB, free: 9.418 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 8.547e-05/0.005067, allocations: 37.69 kB / 434.6 MB, free: 9.375 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.005093, allocations: 51.41 kB / 434.7 MB, free: 9.312 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.517e-05/0.005158, allocations: 138.5 kB / 434.8 MB, free: 9.164 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.005166, allocations: 25.7 kB / 434.8 MB, free: 9.133 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.005209, allocations: 120 kB / 435 MB, free: 9.012 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.082e-06/0.005215, allocations: 7.891 kB / 435 MB, free: 9.004 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.005244, allocations: 21.7 kB / 435 MB, free: 8.977 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.306e-05/0.005307, allocations: 314.8 kB / 435.3 MB, free: 8.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-06/0.005316, allocations: 7.938 kB / 435.3 MB, free: 8.652 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.24e-05/0.005338, allocations: 22.56 kB / 435.3 MB, free: 8.621 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.157e-05/0.00537, allocations: 29.34 kB / 435.4 MB, free: 8.582 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.005371, allocations: 0 / 435.4 MB, free: 8.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.096e-05/0.005422, allocations: 49.62 kB / 435.4 MB, free: 8.527 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.005432, allocations: 8 kB / 435.4 MB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.005436, allocations: 0 / 435.4 MB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.005445, allocations: 0 / 435.4 MB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.646e-05/0.005491, allocations: 11.98 kB / 435.4 MB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.005496, allocations: 7.922 kB / 435.4 MB, free: 8.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.005517, allocations: 4 kB / 435.4 MB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.005522, allocations: 0 / 435.4 MB, free: 8.496 MB / 410.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 4.876e-05/0.005571, allocations: 116.7 kB / 435.5 MB, free: 8.371 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.005585, allocations: 8.078 kB / 435.6 MB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.668e-05/0.005602, allocations: 7.969 kB / 435.6 MB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.005603, allocations: 0 / 435.6 MB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.005604, allocations: 0 / 435.6 MB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005607, allocations: 3.938 kB / 435.6 MB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.325e-05/0.00569, allocations: 85.86 kB / 435.7 MB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005691, allocations: 0 / 435.7 MB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.664e-05/0.005708, allocations: 15.92 kB / 435.7 MB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-07/0.005708, allocations: 96 / 435.7 MB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.005713, allocations: 3.984 kB / 435.7 MB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005714, allocations: 0 / 435.7 MB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005715, allocations: 4 kB / 435.7 MB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.132e-05/0.005776, allocations: 135.5 kB / 435.8 MB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-06/0.005784, allocations: 7.953 kB / 435.8 MB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-06/0.005792, allocations: 0 / 435.8 MB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.889e-05/0.005821, allocations: 0 / 435.8 MB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.005839, allocations: 3.984 kB / 435.8 MB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.005841, allocations: 0 / 435.8 MB, free: 8.066 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.91e-05/0.00586, allocations: 32.34 kB / 435.9 MB, free: 8.035 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00586, allocations: 4 kB / 435.9 MB, free: 8.031 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001271/0.005987, allocations: 19.89 kB / 435.9 MB, free: 8.012 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 5.649e-05/0.006044, allocations: 80.39 kB / 436 MB, free: 7.922 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.71e-05/0.006091, allocations: 20.8 kB / 436 MB, free: 7.898 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.006093, allocations: 3.938 kB / 436 MB, free: 7.895 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.259e-05/0.006106, allocations: 12.84 kB / 436 MB, free: 7.879 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.006227, allocations: 8 kB / 436 MB, free: 7.871 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.006661, allocations: 211.5 kB / 436.2 MB, free: 7.637 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.144e-05/0.006692, allocations: 59.34 kB / 436.3 MB, free: 7.559 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.976e-05/0.006712, allocations: 4 kB / 436.3 MB, free: 7.555 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.006754, allocations: 55.36 kB / 436.3 MB, free: 7.5 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.006755, allocations: 0 / 436.3 MB, free: 7.5 MB / 410.7 MB Notification: Performance of Templates: time 0.001913/0.008667, allocations: 0.6007 MB / 436.9 MB, free: 6.906 MB / 410.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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_ref.mat","",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.535920047201216]