Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.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.001086/0.001086, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.00116/0.00116, allocations: 165 kB / 23.02 MB, free: 1.555 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 1.03/1.03, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.6691/0.6691, allocations: 118.6 MB / 378.6 MB, free: 1.512 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.EnergyFlowSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|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|gain.k|gain.u|gain.y|sine.amplitude|sine.continuous|sine.f|sine.offset|sine.phase|sine.startTime|sine.y",fileNamePrefix="ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource") translateModel(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|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|gain.k|gain.u|gain.y|sine.amplitude|sine.continuous|sine.f|sine.offset|sine.phase|sine.startTime|sine.y",fileNamePrefix="ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 483.6 MB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.934e-05, allocations: 2.312 kB / 483.6 MB, free: 8.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource): time 0.003392/0.003421, allocations: 1.66 MB / 485.3 MB, free: 7.129 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009901/0.004411, allocations: 472.8 kB / 485.7 MB, free: 6.824 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.917e-05/0.004501, allocations: 1.375 kB / 485.7 MB, free: 6.824 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.382e-05/0.004544, allocations: 3.938 kB / 485.7 MB, free: 6.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.468e-05/0.004619, allocations: 17.62 kB / 485.7 MB, free: 6.809 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.004906, allocations: 28.08 kB / 485.8 MB, free: 6.793 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.005045, allocations: 46.06 kB / 485.8 MB, free: 6.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.005171, allocations: 11.08 kB / 485.8 MB, free: 6.766 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.005373, allocations: 39.66 kB / 485.9 MB, free: 6.746 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.005434, allocations: 13.06 kB / 485.9 MB, free: 6.746 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.005453, allocations: 2.75 kB / 485.9 MB, free: 6.746 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.799e-05/0.005511, allocations: 9.438 kB / 485.9 MB, free: 6.742 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.005528, allocations: 9.312 kB / 485.9 MB, free: 6.734 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.005564, allocations: 18.06 kB / 485.9 MB, free: 6.727 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.005738, allocations: 37.38 kB / 486 MB, free: 6.707 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.005743, allocations: 1.375 kB / 486 MB, free: 6.707 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.005746, allocations: 0 / 486 MB, free: 6.707 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.005752, allocations: 0 / 486 MB, free: 6.707 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007387/0.006491, allocations: 380.2 kB / 486.3 MB, free: 22.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/0.006555, allocations: 9.625 kB / 486.3 MB, free: 22.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.006765, allocations: 17.28 kB / 486.4 MB, free: 22.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.006978, allocations: 126.3 kB / 486.5 MB, free: 22.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.006998, allocations: 9.734 kB / 486.5 MB, free: 22.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.007017, allocations: 11.06 kB / 486.5 MB, free: 22.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.007256, allocations: 102.5 kB / 486.6 MB, free: 22.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.007274, allocations: 192 / 486.6 MB, free: 22.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.00729, allocations: 1.75 kB / 486.6 MB, free: 22.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.007302, allocations: 9.25 kB / 486.6 MB, free: 22.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.481e-05/0.007357, allocations: 8.25 kB / 486.6 MB, free: 22.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006588/0.008016, allocations: 0.643 MB / 487.3 MB, free: 21.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.504e-05/0.008101, allocations: 38.41 kB / 487.3 MB, free: 21.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.008127, allocations: 10.25 kB / 487.3 MB, free: 21.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.008147, allocations: 5.531 kB / 487.3 MB, free: 21.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.008167, allocations: 33.39 kB / 487.3 MB, free: 21.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 2.024e-06/0.008169, allocations: 1.469 kB / 487.4 MB, free: 21.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001858/0.008355, allocations: 45.98 kB / 487.4 MB, free: 21.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.008383, allocations: 51.41 kB / 487.4 MB, free: 21.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.008492, allocations: 174.7 kB / 487.6 MB, free: 21.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.008505, allocations: 27.23 kB / 487.6 MB, free: 20.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.008592, allocations: 147.8 kB / 487.8 MB, free: 20.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.008615, allocations: 4.953 kB / 487.8 MB, free: 20.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.008656, allocations: 18.09 kB / 487.8 MB, free: 20.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.008814, allocations: 0.4937 MB / 488.3 MB, free: 20.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.129e-05/0.008835, allocations: 1.312 kB / 488.3 MB, free: 20.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.256e-05/0.008848, allocations: 1.562 kB / 488.3 MB, free: 20.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.688e-05/0.008885, allocations: 11.88 kB / 488.3 MB, free: 20.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.008888, allocations: 4.656 kB / 488.3 MB, free: 20.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.814e-05/0.008986, allocations: 46.17 kB / 488.4 MB, free: 20.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.009004, allocations: 5.344 kB / 488.4 MB, free: 20.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.00901, allocations: 0 / 488.4 MB, free: 20.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.009028, allocations: 96 / 488.4 MB, free: 20.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.632e-05/0.009115, allocations: 11.97 kB / 488.4 MB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.009123, allocations: 3.938 kB / 488.4 MB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.468e-05/0.009148, allocations: 1.156 kB / 488.4 MB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.009155, allocations: 1.5 kB / 488.4 MB, free: 20.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 8.663e-05/0.009242, allocations: 157.4 kB / 488.5 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.009269, allocations: 6.047 kB / 488.6 MB, free: 20.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.009302, allocations: 12.22 kB / 488.6 MB, free: 20.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.009305, allocations: 1.438 kB / 488.6 MB, free: 20.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.009309, allocations: 3.938 kB / 488.6 MB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.009312, allocations: 0 / 488.6 MB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.009455, allocations: 124 kB / 488.7 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.009459, allocations: 3.938 kB / 488.7 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.009493, allocations: 7.047 kB / 488.7 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.009496, allocations: 0 / 488.7 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.009503, allocations: 0 / 488.7 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.009505, allocations: 1.438 kB / 488.7 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.009507, allocations: 0 / 488.7 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.009643, allocations: 190.4 kB / 488.9 MB, free: 19.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.009653, allocations: 9.203 kB / 488.9 MB, free: 19.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.009668, allocations: 1.344 kB / 488.9 MB, free: 19.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.807e-05/0.009726, allocations: 7.172 kB / 488.9 MB, free: 19.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.009759, allocations: 1.156 kB / 488.9 MB, free: 19.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.009763, allocations: 0.9688 kB / 488.9 MB, free: 19.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.78e-05/0.00982, allocations: 133.5 kB / 489 MB, free: 19.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009821, allocations: 0 / 489 MB, free: 19.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002689/0.01009, allocations: 7.281 kB / 489 MB, free: 19.6 MB / 426.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 9.528e-05/0.01018, allocations: 93.03 kB / 489.1 MB, free: 19.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.101e-05/0.01028, allocations: 24.72 kB / 489.2 MB, free: 19.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01028, allocations: 64 / 489.2 MB, free: 19.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.866e-05/0.0103, allocations: 15.69 kB / 489.2 MB, free: 19.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.01056, allocations: 5 kB / 489.2 MB, free: 19.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006907/0.01125, allocations: 155.9 kB / 489.3 MB, free: 19.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.381e-05/0.01129, allocations: 58.05 kB / 489.4 MB, free: 19.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.512e-05/0.01132, allocations: 5.609 kB / 489.4 MB, free: 19.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.01135, allocations: 12.56 kB / 489.4 MB, free: 19.25 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01135, allocations: 0 / 489.4 MB, free: 19.25 MB / 426.7 MB Notification: Performance of Templates: time 0.002604/0.01396, allocations: 340.1 kB / 489.7 MB, free: 19.19 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.sim & ./ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_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.EnergyFlowSource_res.mat. Warning: Get data of variable CPUtime from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat failed! Error: Could not read variable EventCounter in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat. Warning: Get data of variable EventCounter from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat failed! Error: Could not read variable _derdummy in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat. Warning: Get data of variable _derdummy from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat failed! Error: Could not read variable _dummy in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat. Warning: Get data of variable _dummy from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.745211809873581]