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.001112/0.001112, allocations: 80.88 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.001005/0.001005, allocations: 181 kB / 23.36 MB, free: 1.133 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.01/1.01, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.7164/0.7164, allocations: 118.6 MB / 378.9 MB, free: 1.328 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.343e-06/1.343e-06, allocations: 0 / 430.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.638e-05, allocations: 2.312 kB / 430.8 MB, free: 13.28 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource): time 0.00198/0.001997, allocations: 1.701 MB / 432.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005681/0.002565, allocations: 474.7 kB / 433 MB, free: 11.1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.00262, allocations: 0 / 433 MB, free: 11.1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.002647, allocations: 7.922 kB / 433 MB, free: 11.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.639e-05/0.002704, allocations: 15.86 kB / 433 MB, free: 11.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.002864, allocations: 23.97 kB / 433.1 MB, free: 11.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.382e-05/0.002958, allocations: 51.73 kB / 433.1 MB, free: 11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.228e-05/0.00303, allocations: 15.91 kB / 433.1 MB, free: 10.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.003138, allocations: 31.86 kB / 433.2 MB, free: 10.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.151e-05/0.003179, allocations: 15.98 kB / 433.2 MB, free: 10.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.003192, allocations: 0 / 433.2 MB, free: 10.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.841e-05/0.00324, allocations: 11.98 kB / 433.2 MB, free: 10.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.003253, allocations: 11.92 kB / 433.2 MB, free: 10.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.538e-05/0.003268, allocations: 8 kB / 433.2 MB, free: 10.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.804e-05/0.003356, allocations: 43.83 kB / 433.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.003358, allocations: 0 / 433.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003358, allocations: 0 / 433.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.003362, allocations: 0 / 433.2 MB, free: 10.86 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.0002612/0.003623, allocations: 260.7 kB / 433.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.003653, allocations: 8.031 kB / 433.5 MB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.936e-05/0.003742, allocations: 16.92 kB / 433.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.003853, allocations: 117.7 kB / 433.6 MB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.003861, allocations: 4.375 kB / 433.6 MB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-06/0.003866, allocations: 4.375 kB / 433.6 MB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.455e-05/0.00396, allocations: 86.36 kB / 433.7 MB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.003969, allocations: 8.125 kB / 433.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.003976, allocations: 4.375 kB / 433.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.003982, allocations: 3.938 kB / 433.7 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.244e-05/0.004004, allocations: 11.98 kB / 433.8 MB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.004511, allocations: 416.6 kB / 434.2 MB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.456e-05/0.004555, allocations: 26.53 kB / 434.2 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.334e-05/0.004569, allocations: 12.91 kB / 434.2 MB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.00458, allocations: 7.938 kB / 434.2 MB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.004599, allocations: 34.56 kB / 434.2 MB, free: 9.746 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.0046, allocations: 0 / 434.2 MB, free: 9.746 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 9.27e-05/0.004692, allocations: 41.75 kB / 434.3 MB, free: 9.699 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.004716, allocations: 51.41 kB / 434.3 MB, free: 9.637 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.142e-05/0.004768, allocations: 122.6 kB / 434.5 MB, free: 9.504 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.004776, allocations: 25.7 kB / 434.5 MB, free: 9.473 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.004802, allocations: 88.08 kB / 434.6 MB, free: 9.383 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.004816, allocations: 7.953 kB / 434.6 MB, free: 9.375 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/0.004839, allocations: 17.83 kB / 434.6 MB, free: 9.352 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.004908, allocations: 322.8 kB / 434.9 MB, free: 9.027 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-06/0.004915, allocations: 0 / 434.9 MB, free: 9.027 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/0.004921, allocations: 4 kB / 434.9 MB, free: 9.023 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.165e-05/0.004943, allocations: 12.84 kB / 434.9 MB, free: 9.008 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.004944, allocations: 0 / 434.9 MB, free: 9.008 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.959e-05/0.004984, allocations: 41.58 kB / 435 MB, free: 8.961 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.004994, allocations: 4 kB / 435 MB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.004998, allocations: 3.984 kB / 435 MB, free: 8.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.005008, allocations: 0 / 435 MB, free: 8.953 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.207e-05/0.005051, allocations: 8.094 kB / 435 MB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.005054, allocations: 3.984 kB / 435 MB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.515e-05/0.005069, allocations: 8 kB / 435 MB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.005072, allocations: 0 / 435 MB, free: 8.934 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 4.287e-05/0.005115, allocations: 105.8 kB / 435.1 MB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.005132, allocations: 11.92 kB / 435.1 MB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.458e-05/0.005147, allocations: 7.625 kB / 435.1 MB, free: 8.805 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.005148, allocations: 0 / 435.1 MB, free: 8.805 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.005149, allocations: 0 / 435.1 MB, free: 8.805 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.005152, allocations: 4 kB / 435.1 MB, free: 8.801 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.29e-05/0.005225, allocations: 73.88 kB / 435.2 MB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.005226, allocations: 4 kB / 435.2 MB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.178e-05/0.005238, allocations: 0 / 435.2 MB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.61e-07/0.005239, allocations: 7.938 kB / 435.2 MB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.005244, allocations: 3.938 kB / 435.2 MB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.005244, allocations: 0 / 435.2 MB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.005245, allocations: 0 / 435.2 MB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.121e-05/0.005306, allocations: 131.5 kB / 435.3 MB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-06/0.005313, allocations: 7.953 kB / 435.3 MB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.005322, allocations: 7.922 kB / 435.3 MB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.794e-05/0.005349, allocations: 4.031 kB / 435.4 MB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.005372, allocations: 4 kB / 435.4 MB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.005374, allocations: 4 kB / 435.4 MB, free: 8.523 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.219e-05/0.005386, allocations: 12.84 kB / 435.4 MB, free: 8.508 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005386, allocations: 4 kB / 435.4 MB, free: 8.504 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001292/0.005516, allocations: 7.938 kB / 435.4 MB, free: 8.496 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 6.165e-05/0.005577, allocations: 80.41 kB / 435.5 MB, free: 8.406 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.643e-05/0.005624, allocations: 12.8 kB / 435.5 MB, free: 8.391 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.005632, allocations: 4 kB / 435.5 MB, free: 8.387 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.147e-05/0.005644, allocations: 12.92 kB / 435.5 MB, free: 8.371 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000104/0.005747, allocations: 14.91 kB / 435.5 MB, free: 8.359 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.006128, allocations: 148.3 kB / 435.7 MB, free: 8.188 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.918e-05/0.006157, allocations: 55.36 kB / 435.7 MB, free: 8.113 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.568e-05/0.006173, allocations: 3.984 kB / 435.7 MB, free: 8.109 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.006203, allocations: 51.38 kB / 435.8 MB, free: 8.059 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.006203, allocations: 4.062 kB / 435.8 MB, free: 8.055 MB / 410.7 MB Notification: Performance of Templates: time 0.001642/0.007846, allocations: 338.7 kB / 436.1 MB, free: 7.727 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 -s gbode -gbm=radauIIA3 -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.4595125312916934]