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.001364/0.001364, allocations: 80.81 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.001505/0.001505, allocations: 173 kB / 23.36 MB, free: 1.129 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.9661/0.9661, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.6865/0.6865, allocations: 118.7 MB / 378.9 MB, free: 1.34 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.653e-06/1.653e-06, allocations: 0 / 430.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.281e-05, allocations: 2.312 kB / 430.8 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource): time 0.003165/0.003188, allocations: 1.659 MB / 432.5 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008914/0.004079, allocations: 466.8 kB / 432.9 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.208e-05/0.004141, allocations: 7.938 kB / 432.9 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.648e-05/0.004178, allocations: 7.922 kB / 432.9 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.596e-05/0.004244, allocations: 11.86 kB / 432.9 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.004463, allocations: 27.97 kB / 433 MB, free: 11.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.004583, allocations: 51.73 kB / 433 MB, free: 11.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.101e-05/0.004664, allocations: 15.92 kB / 433 MB, free: 11.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.004815, allocations: 35.84 kB / 433.1 MB, free: 11.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.087e-05/0.004866, allocations: 11.98 kB / 433.1 MB, free: 11.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.00488, allocations: 0 / 433.1 MB, free: 11.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.567e-05/0.004926, allocations: 11.98 kB / 433.1 MB, free: 11.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.004943, allocations: 11.92 kB / 433.1 MB, free: 11.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.004965, allocations: 12 kB / 433.1 MB, free: 11.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.005076, allocations: 39.83 kB / 433.2 MB, free: 10.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.005079, allocations: 4 kB / 433.2 MB, free: 10.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.00508, allocations: 0 / 433.2 MB, free: 10.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.005084, allocations: 0 / 433.2 MB, free: 10.97 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.0002941/0.005378, allocations: 260.7 kB / 433.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.005411, allocations: 8.031 kB / 433.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.005524, allocations: 8.938 kB / 433.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.005663, allocations: 121.7 kB / 433.5 MB, free: 10.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.005673, allocations: 4.375 kB / 433.5 MB, free: 10.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.005685, allocations: 4.375 kB / 433.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.005806, allocations: 90.36 kB / 433.6 MB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.005813, allocations: 192 / 433.6 MB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.00582, allocations: 4.375 kB / 433.6 MB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.005828, allocations: 3.938 kB / 433.6 MB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.126e-05/0.005859, allocations: 15.88 kB / 433.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.006199, allocations: 416.6 kB / 434.1 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.13e-05/0.006251, allocations: 22.67 kB / 434.1 MB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.819e-05/0.006269, allocations: 12.86 kB / 434.1 MB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.006282, allocations: 3.938 kB / 434.1 MB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.006306, allocations: 38.55 kB / 434.1 MB, free: 9.859 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.006307, allocations: 4 kB / 434.2 MB, free: 9.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001099/0.006417, allocations: 29.7 kB / 434.2 MB, free: 9.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.00645, allocations: 55.41 kB / 434.2 MB, free: 9.754 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.098e-05/0.006521, allocations: 114.6 kB / 434.3 MB, free: 9.629 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.006533, allocations: 33.69 kB / 434.4 MB, free: 9.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.006573, allocations: 92.08 kB / 434.5 MB, free: 9.496 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.00659, allocations: 11.89 kB / 434.5 MB, free: 9.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.00662, allocations: 9.719 kB / 434.5 MB, free: 9.469 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.654e-05/0.006716, allocations: 322.9 kB / 434.8 MB, free: 9.145 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-06/0.006726, allocations: 4 kB / 434.8 MB, free: 9.141 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.014e-05/0.006736, allocations: 4 kB / 434.8 MB, free: 9.137 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.86e-05/0.006765, allocations: 8.859 kB / 434.8 MB, free: 9.125 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006766, allocations: 0 / 434.8 MB, free: 9.125 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.122e-05/0.006828, allocations: 41.62 kB / 434.9 MB, free: 9.078 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.006841, allocations: 4 kB / 434.9 MB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.006844, allocations: 0 / 434.9 MB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.006855, allocations: 0 / 434.9 MB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.455e-05/0.006909, allocations: 11.92 kB / 434.9 MB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.006912, allocations: 4.094 kB / 434.9 MB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.006934, allocations: 4 kB / 434.9 MB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.006938, allocations: 0 / 434.9 MB, free: 9.055 MB / 410.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 6.116e-05/0.006999, allocations: 109.8 kB / 435 MB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.007024, allocations: 7.938 kB / 435 MB, free: 8.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.739e-05/0.007041, allocations: 7.609 kB / 435 MB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.007043, allocations: 0 / 435 MB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.007045, allocations: 0 / 435 MB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.007048, allocations: 3.984 kB / 435 MB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.007169, allocations: 73.89 kB / 435.1 MB, free: 8.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.00717, allocations: 4 kB / 435.1 MB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.546e-05/0.007196, allocations: 11.92 kB / 435.1 MB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.007198, allocations: 0 / 435.1 MB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.007205, allocations: 7.938 kB / 435.1 MB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.007207, allocations: 3.984 kB / 435.1 MB, free: 8.805 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007208, allocations: 0 / 435.1 MB, free: 8.805 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.399e-05/0.007302, allocations: 135.5 kB / 435.2 MB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.407e-06/0.007312, allocations: 7.953 kB / 435.3 MB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.007323, allocations: 3.938 kB / 435.3 MB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.699e-05/0.00738, allocations: 0 / 435.3 MB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.007401, allocations: 8.016 kB / 435.3 MB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.007405, allocations: 4 kB / 435.3 MB, free: 8.633 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.967e-05/0.007424, allocations: 8.859 kB / 435.3 MB, free: 8.621 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007424, allocations: 0 / 435.3 MB, free: 8.621 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002203/0.007645, allocations: 11.94 kB / 435.3 MB, free: 8.609 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 8.336e-05/0.007728, allocations: 84.39 kB / 435.4 MB, free: 8.516 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.21e-05/0.00778, allocations: 12.86 kB / 435.4 MB, free: 8.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.007782, allocations: 0 / 435.4 MB, free: 8.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.741e-05/0.0078, allocations: 16.86 kB / 435.4 MB, free: 8.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.007953, allocations: 3.438 kB / 435.4 MB, free: 8.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005331/0.008486, allocations: 156.3 kB / 435.6 MB, free: 8.301 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.126e-05/0.008527, allocations: 59.34 kB / 435.6 MB, free: 8.223 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.917e-05/0.008547, allocations: 0 / 435.6 MB, free: 8.223 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.008583, allocations: 47.38 kB / 435.7 MB, free: 8.176 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008584, allocations: 0 / 435.7 MB, free: 8.176 MB / 410.7 MB Notification: Performance of Templates: time 0.002148/0.01073, allocations: 339 kB / 436 MB, free: 7.848 MB / 410.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.3839188809506595]