Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.0009043/0.0009043, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009401/0.0009401, 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.925/0.925, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7204/0.7204, allocations: 118.6 MB / 378.9 MB, free: 1.332 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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.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_dev_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_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.448e-05, allocations: 5.125 kB / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource): time 0.002329/0.002354, allocations: 1.647 MB / 432.4 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007893/0.003143, allocations: 486.7 kB / 432.9 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.845e-05/0.003211, allocations: 0 / 432.9 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.003244, allocations: 3.938 kB / 432.9 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.217e-05/0.003306, allocations: 11.86 kB / 432.9 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.003535, allocations: 27.91 kB / 433 MB, free: 11.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.003664, allocations: 55.72 kB / 433 MB, free: 11.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.283e-05/0.003757, allocations: 11.94 kB / 433 MB, free: 11.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.003904, allocations: 35.89 kB / 433.1 MB, free: 11.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.003957, allocations: 15.98 kB / 433.1 MB, free: 11.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.003974, allocations: 4 kB / 433.1 MB, free: 11.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.53e-05/0.004019, allocations: 4 kB / 433.1 MB, free: 11.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.004033, allocations: 7.938 kB / 433.1 MB, free: 11.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.004054, allocations: 15.98 kB / 433.1 MB, free: 11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.004163, allocations: 39.78 kB / 433.1 MB, free: 10.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.004166, allocations: 0 / 433.1 MB, free: 10.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004166, allocations: 0 / 433.1 MB, free: 10.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.00417, allocations: 0 / 433.1 MB, free: 10.96 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.0004045/0.004575, allocations: 264.7 kB / 433.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.004615, allocations: 8.031 kB / 433.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.004727, allocations: 16.92 kB / 433.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.00485, allocations: 121.7 kB / 433.5 MB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.00486, allocations: 4.375 kB / 433.6 MB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.004872, allocations: 8.375 kB / 433.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.004981, allocations: 86.31 kB / 433.6 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.00499, allocations: 192 / 433.6 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.004997, allocations: 384 / 433.6 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.005004, allocations: 3.938 kB / 433.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.427e-05/0.005028, allocations: 15.94 kB / 433.7 MB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.005316, allocations: 420.7 kB / 434.1 MB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.517e-05/0.005361, allocations: 18.58 kB / 434.1 MB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.005376, allocations: 8.859 kB / 434.1 MB, free: 9.898 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.00539, allocations: 7.938 kB / 434.1 MB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.005412, allocations: 34.62 kB / 434.1 MB, free: 9.848 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.814e-06/0.005414, allocations: 0 / 434.1 MB, free: 9.848 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001219/0.005535, allocations: 41.62 kB / 434.2 MB, free: 9.801 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.005578, allocations: 55.53 kB / 434.2 MB, free: 9.734 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.83e-05/0.005646, allocations: 118.7 kB / 434.4 MB, free: 9.605 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.005658, allocations: 25.7 kB / 434.4 MB, free: 9.574 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.005694, allocations: 92.08 kB / 434.5 MB, free: 9.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.005713, allocations: 7.953 kB / 434.5 MB, free: 9.473 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.005738, allocations: 13.72 kB / 434.5 MB, free: 9.453 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.158e-05/0.00582, allocations: 318.8 kB / 434.8 MB, free: 9.133 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-06/0.005828, allocations: 0 / 434.8 MB, free: 9.133 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-06/0.005837, allocations: 4 kB / 434.8 MB, free: 9.129 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.445e-05/0.005862, allocations: 8.859 kB / 434.8 MB, free: 9.117 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005864, allocations: 4.062 kB / 434.8 MB, free: 9.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.116e-05/0.005915, allocations: 45.56 kB / 434.9 MB, free: 9.062 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.005927, allocations: 7.281 kB / 434.9 MB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.005932, allocations: 0 / 434.9 MB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.005944, allocations: 0 / 434.9 MB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.993e-05/0.006004, allocations: 4 kB / 434.9 MB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.006007, allocations: 0 / 434.9 MB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.541e-05/0.006022, allocations: 4 kB / 434.9 MB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.006028, allocations: 3.984 kB / 434.9 MB, free: 9.047 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 5.963e-05/0.006087, allocations: 109.9 kB / 435 MB, free: 8.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.006102, allocations: 7.938 kB / 435 MB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.936e-05/0.006122, allocations: 7.625 kB / 435 MB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.006124, allocations: 0 / 435 MB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.006126, allocations: 4 kB / 435 MB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.006133, allocations: 7.984 kB / 435 MB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.062e-05/0.006223, allocations: 73.88 kB / 435.1 MB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006224, allocations: 0 / 435.1 MB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.534e-05/0.00624, allocations: 7.938 kB / 435.1 MB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.006241, allocations: 0 / 435.1 MB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.006247, allocations: 7.922 kB / 435.1 MB, free: 8.801 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.006249, allocations: 11.92 kB / 435.1 MB, free: 8.789 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.00625, allocations: 0 / 435.1 MB, free: 8.789 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.539e-05/0.006336, allocations: 127.5 kB / 435.2 MB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.006344, allocations: 7.953 kB / 435.2 MB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.006355, allocations: 7.938 kB / 435.3 MB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.744e-05/0.006382, allocations: 0 / 435.3 MB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.006407, allocations: 4 kB / 435.3 MB, free: 8.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.00641, allocations: 0 / 435.3 MB, free: 8.629 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.317e-05/0.006433, allocations: 20.83 kB / 435.3 MB, free: 8.605 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006433, allocations: 0 / 435.3 MB, free: 8.605 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001216/0.006555, allocations: 11.97 kB / 435.3 MB, free: 8.594 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 7.284e-05/0.006627, allocations: 80.36 kB / 435.4 MB, free: 8.504 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.574e-05/0.006683, allocations: 12.84 kB / 435.4 MB, free: 8.488 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.006686, allocations: 0 / 435.4 MB, free: 8.488 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.116e-05/0.006697, allocations: 8.859 kB / 435.4 MB, free: 8.477 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.006806, allocations: 8 kB / 435.4 MB, free: 8.469 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.007257, allocations: 164.4 kB / 435.6 MB, free: 8.281 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.946e-05/0.007296, allocations: 59.34 kB / 435.6 MB, free: 8.203 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.681e-05/0.007313, allocations: 0 / 435.6 MB, free: 8.203 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.007349, allocations: 51.38 kB / 435.7 MB, free: 8.152 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.00735, allocations: 0 / 435.7 MB, free: 8.152 MB / 410.7 MB Notification: Performance of Templates: time 0.001875/0.009225, allocations: 326.8 kB / 436 MB, free: 7.836 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.sim & ./ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat. Warning: Get data of variable CPUtime from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat failed! Error: Could not read variable EventCounter in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat. Warning: Get data of variable EventCounter from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat failed! Error: Could not read variable _derdummy in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat. Warning: Get data of variable _derdummy from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat failed! Error: Could not read variable _dummy in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat. Warning: Get data of variable _dummy from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3641685508191586]