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.001024/0.001024, allocations: 92.22 kB / 19.65 MB, free: 276 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.001503/0.001503, allocations: 173 kB / 23.02 MB, free: 1.547 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.9732/0.9732, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.6748/0.6748, allocations: 118.6 MB / 378.6 MB, free: 1.508 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.493e-06/1.493e-06, allocations: 0 / 483.6 MB, free: 8.219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.133e-05, allocations: 2.859 kB / 483.6 MB, free: 8.215 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource): time 0.001921/0.001942, allocations: 1.663 MB / 485.3 MB, free: 7.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000598/0.00254, allocations: 463.5 kB / 485.7 MB, free: 6.793 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.663e-05/0.002597, allocations: 1.469 kB / 485.7 MB, free: 6.793 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.759e-05/0.002634, allocations: 11.34 kB / 485.7 MB, free: 6.785 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.9e-05/0.002693, allocations: 14.45 kB / 485.7 MB, free: 6.773 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.002913, allocations: 27.84 kB / 485.8 MB, free: 6.758 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.003025, allocations: 50.34 kB / 485.8 MB, free: 6.734 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.868e-05/0.003114, allocations: 7.141 kB / 485.8 MB, free: 6.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.003238, allocations: 37.38 kB / 485.9 MB, free: 6.715 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.003284, allocations: 12.95 kB / 485.9 MB, free: 6.711 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.003299, allocations: 2.906 kB / 485.9 MB, free: 6.711 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.358e-05/0.003342, allocations: 13.52 kB / 485.9 MB, free: 6.703 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.003355, allocations: 12.97 kB / 485.9 MB, free: 6.695 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.003376, allocations: 6.562 kB / 485.9 MB, free: 6.695 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.003479, allocations: 42.81 kB / 486 MB, free: 6.672 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003481, allocations: 0 / 486 MB, free: 6.672 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003482, allocations: 1.375 kB / 486 MB, free: 6.672 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.003486, allocations: 0 / 486 MB, free: 6.672 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.0004367/0.003923, allocations: 381 kB / 486.3 MB, free: 22.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.003962, allocations: 9.625 kB / 486.3 MB, free: 22.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.004076, allocations: 16.38 kB / 486.4 MB, free: 22.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.004193, allocations: 126.7 kB / 486.5 MB, free: 22.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.004201, allocations: 5.688 kB / 486.5 MB, free: 22.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.00421, allocations: 11.06 kB / 486.5 MB, free: 22.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.004328, allocations: 98.12 kB / 486.6 MB, free: 22.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.004335, allocations: 192 / 486.6 MB, free: 22.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.004344, allocations: 1.75 kB / 486.6 MB, free: 22.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.004351, allocations: 3.938 kB / 486.6 MB, free: 22.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.335e-05/0.004384, allocations: 19.38 kB / 486.6 MB, free: 22.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.004734, allocations: 0.6454 MB / 487.3 MB, free: 21.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.823e-05/0.004782, allocations: 36.5 kB / 487.3 MB, free: 21.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.004801, allocations: 9.062 kB / 487.3 MB, free: 21.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.004812, allocations: 1.375 kB / 487.3 MB, free: 21.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.004825, allocations: 42.7 kB / 487.3 MB, free: 21.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.004826, allocations: 0 / 487.3 MB, free: 21.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001267/0.004953, allocations: 42.52 kB / 487.4 MB, free: 21.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.754e-05/0.004971, allocations: 55.41 kB / 487.4 MB, free: 21.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.026e-05/0.005041, allocations: 168.4 kB / 487.6 MB, free: 20.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-06/0.005046, allocations: 27.08 kB / 487.6 MB, free: 20.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.005089, allocations: 144.8 kB / 487.8 MB, free: 20.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.005103, allocations: 5.328 kB / 487.8 MB, free: 20.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.005127, allocations: 24.03 kB / 487.8 MB, free: 20.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.005228, allocations: 495 kB / 488.3 MB, free: 20.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.00524, allocations: 9.312 kB / 488.3 MB, free: 20.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.907e-06/0.005248, allocations: 5.375 kB / 488.3 MB, free: 20.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.413e-05/0.005273, allocations: 19.05 kB / 488.3 MB, free: 20.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.005275, allocations: 5.312 kB / 488.3 MB, free: 20.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.33e-05/0.005318, allocations: 33.95 kB / 488.4 MB, free: 20.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.00533, allocations: 5.5 kB / 488.4 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.005334, allocations: 1.375 kB / 488.4 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.005344, allocations: 0 / 488.4 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.366e-05/0.005398, allocations: 7.5 kB / 488.4 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.005403, allocations: 4 kB / 488.4 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.488e-05/0.005417, allocations: 1.375 kB / 488.4 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.005422, allocations: 5.312 kB / 488.4 MB, free: 20.22 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 6.711e-05/0.005489, allocations: 161.9 kB / 488.5 MB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.005503, allocations: 6.703 kB / 488.5 MB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.005527, allocations: 8.234 kB / 488.6 MB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.005528, allocations: 3.938 kB / 488.6 MB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.005532, allocations: 0 / 488.6 MB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005534, allocations: 1.375 kB / 488.6 MB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.431e-05/0.005619, allocations: 122.8 kB / 488.7 MB, free: 19.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.00562, allocations: 7.938 kB / 488.7 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.572e-05/0.005636, allocations: 7.594 kB / 488.7 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.005638, allocations: 1.375 kB / 488.7 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.005645, allocations: 0 / 488.7 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.005646, allocations: 0 / 488.7 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.005648, allocations: 1.375 kB / 488.7 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.751e-05/0.005735, allocations: 186.4 kB / 488.9 MB, free: 19.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.005745, allocations: 13.2 kB / 488.9 MB, free: 19.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.005756, allocations: 0 / 488.9 MB, free: 19.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.863e-05/0.005784, allocations: 1.375 kB / 488.9 MB, free: 19.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.005812, allocations: 12.62 kB / 488.9 MB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.005814, allocations: 1.375 kB / 488.9 MB, free: 19.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.83e-05/0.005853, allocations: 133.5 kB / 489 MB, free: 19.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005853, allocations: 0 / 489 MB, free: 19.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001377/0.00599, allocations: 6.875 kB / 489 MB, free: 19.56 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 5.744e-05/0.006048, allocations: 93 kB / 489.1 MB, free: 19.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.881e-05/0.006117, allocations: 13.19 kB / 489.2 MB, free: 19.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006118, allocations: 0 / 489.2 MB, free: 19.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.514e-05/0.006133, allocations: 23.05 kB / 489.2 MB, free: 19.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.00628, allocations: 9.312 kB / 489.2 MB, free: 19.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.006757, allocations: 152.9 kB / 489.3 MB, free: 19.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.891e-05/0.006786, allocations: 57.39 kB / 489.4 MB, free: 19.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.573e-05/0.006802, allocations: 1.375 kB / 489.4 MB, free: 19.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.006825, allocations: 9.875 kB / 489.4 MB, free: 19.22 MB / 426.7 MB Notification: Performance of SimCode: time 7.22e-07/0.006825, allocations: 4.062 kB / 489.4 MB, free: 19.21 MB / 426.7 MB Notification: Performance of Templates: time 0.001886/0.008712, allocations: 349.7 kB / 489.7 MB, free: 19.16 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.4486336270347238]