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.000927/0.000927, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001012/0.001012, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9633/0.9633, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.6599/0.6599, allocations: 118.6 MB / 378.9 MB, free: 1.398 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.242e-06/1.242e-06, allocations: 0 / 484 MB, free: 8.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.635e-05, allocations: 2.312 kB / 484.1 MB, free: 8.082 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource): time 0.001842/0.001858, allocations: 1.656 MB / 485.7 MB, free: 6.961 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000538/0.002396, allocations: 463.9 kB / 486.2 MB, free: 6.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.342e-05/0.00245, allocations: 0.8125 kB / 486.2 MB, free: 6.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.002475, allocations: 12.14 kB / 486.2 MB, free: 6.652 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.773e-05/0.002523, allocations: 13.12 kB / 486.2 MB, free: 6.641 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.0027, allocations: 28.83 kB / 486.2 MB, free: 6.625 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.94e-05/0.002789, allocations: 48.44 kB / 486.3 MB, free: 6.602 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.241e-05/0.002862, allocations: 11.62 kB / 486.3 MB, free: 6.598 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.002972, allocations: 36.08 kB / 486.3 MB, free: 6.582 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.084e-05/0.003013, allocations: 13.73 kB / 486.3 MB, free: 6.578 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.003025, allocations: 2.469 kB / 486.3 MB, free: 6.578 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.048e-05/0.003066, allocations: 9.781 kB / 486.3 MB, free: 6.574 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.003076, allocations: 9.438 kB / 486.3 MB, free: 6.566 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.003095, allocations: 25.7 kB / 486.4 MB, free: 6.551 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.387e-05/0.003179, allocations: 30.56 kB / 486.4 MB, free: 6.539 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003181, allocations: 0 / 486.4 MB, free: 6.539 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.6e-07/0.003181, allocations: 0 / 486.4 MB, free: 6.539 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.267e-06/0.003185, allocations: 1.125 kB / 486.4 MB, free: 6.539 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.0003414/0.003526, allocations: 379.8 kB / 486.8 MB, free: 22.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.003559, allocations: 10.59 kB / 486.8 MB, free: 22.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.163e-05/0.003641, allocations: 22.27 kB / 486.8 MB, free: 22.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.821e-05/0.003719, allocations: 129.7 kB / 486.9 MB, free: 22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.003726, allocations: 1.781 kB / 486.9 MB, free: 22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.003733, allocations: 10.91 kB / 486.9 MB, free: 22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.037e-05/0.003813, allocations: 96.81 kB / 487 MB, free: 21.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.003819, allocations: 192 / 487 MB, free: 21.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.003826, allocations: 1.656 kB / 487 MB, free: 21.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.00383, allocations: 5.312 kB / 487 MB, free: 21.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.312e-05/0.003854, allocations: 17.41 kB / 487.1 MB, free: 21.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.0044, allocations: 0.6231 MB / 487.7 MB, free: 21.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.263e-05/0.004433, allocations: 31.12 kB / 487.7 MB, free: 21.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.207e-05/0.004445, allocations: 16.62 kB / 487.7 MB, free: 21.19 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.004456, allocations: 1.406 kB / 487.7 MB, free: 21.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.198e-05/0.004468, allocations: 38.83 kB / 487.8 MB, free: 21.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.004469, allocations: 0 / 487.8 MB, free: 21.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 8.933e-05/0.004558, allocations: 46.64 kB / 487.8 MB, free: 21.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.004579, allocations: 53 kB / 487.9 MB, free: 21.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.572e-05/0.004635, allocations: 167 kB / 488 MB, free: 20.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/0.004641, allocations: 25.7 kB / 488.1 MB, free: 20.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.00468, allocations: 144.7 kB / 488.2 MB, free: 20.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.004694, allocations: 9.438 kB / 488.2 MB, free: 20.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.004715, allocations: 25.22 kB / 488.2 MB, free: 20.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.004812, allocations: 493.6 kB / 488.7 MB, free: 20.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-06/0.004819, allocations: 1.5 kB / 488.7 MB, free: 20.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-06/0.004826, allocations: 5.406 kB / 488.7 MB, free: 20.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.877e-05/0.004845, allocations: 15.33 kB / 488.7 MB, free: 20.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.004846, allocations: 0 / 488.7 MB, free: 20.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.942e-05/0.004885, allocations: 42.08 kB / 488.8 MB, free: 20.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.004895, allocations: 5.25 kB / 488.8 MB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.004898, allocations: 1.156 kB / 488.8 MB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.004905, allocations: 8.078 kB / 488.8 MB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.518e-05/0.004941, allocations: 7.125 kB / 488.8 MB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-06/0.004943, allocations: 1.438 kB / 488.8 MB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.283e-05/0.004955, allocations: 1.531 kB / 488.8 MB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-06/0.004958, allocations: 0 / 488.8 MB, free: 20.11 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 4.966e-05/0.005008, allocations: 162 kB / 489 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.005021, allocations: 18.61 kB / 489 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.5e-05/0.005036, allocations: 12.28 kB / 489 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.02e-07/0.005037, allocations: 0 / 489 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.005039, allocations: 1.344 kB / 489 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.005041, allocations: 4 kB / 489 MB, free: 19.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.806e-05/0.00512, allocations: 98.64 kB / 489.1 MB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.005121, allocations: 1.781 kB / 489.1 MB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.161e-05/0.005133, allocations: 2.75 kB / 489.1 MB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-07/0.005133, allocations: 0 / 489.1 MB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.005138, allocations: 5.219 kB / 489.1 MB, free: 19.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.005138, allocations: 0 / 489.1 MB, free: 19.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.41e-07/0.005139, allocations: 0 / 489.1 MB, free: 19.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.687e-05/0.005205, allocations: 190 kB / 489.3 MB, free: 19.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.005212, allocations: 8.469 kB / 489.3 MB, free: 19.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.782e-06/0.005219, allocations: 9.375 kB / 489.3 MB, free: 19.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.732e-05/0.005246, allocations: 5.25 kB / 489.3 MB, free: 19.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.005263, allocations: 1.5 kB / 489.3 MB, free: 19.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-06/0.005264, allocations: 0 / 489.3 MB, free: 19.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.27e-05/0.005297, allocations: 129 kB / 489.4 MB, free: 19.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005297, allocations: 0 / 489.4 MB, free: 19.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001324/0.005429, allocations: 6.875 kB / 489.4 MB, free: 19.48 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 6.538e-05/0.005494, allocations: 96.19 kB / 489.5 MB, free: 19.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.493e-05/0.005539, allocations: 17.19 kB / 489.6 MB, free: 19.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.62e-07/0.00554, allocations: 4.062 kB / 489.6 MB, free: 19.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.227e-05/0.005553, allocations: 15.75 kB / 489.6 MB, free: 19.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.005688, allocations: 5.172 kB / 489.6 MB, free: 19.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.006035, allocations: 159.5 kB / 489.7 MB, free: 19.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.544e-05/0.00606, allocations: 58.58 kB / 489.8 MB, free: 19.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.249e-05/0.006073, allocations: 1.375 kB / 489.8 MB, free: 19.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.006101, allocations: 71.64 kB / 489.9 MB, free: 19.07 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.006101, allocations: 0 / 489.9 MB, free: 19.07 MB / 426.7 MB Notification: Performance of Templates: time 0.001458/0.007559, allocations: 357 kB / 490.2 MB, free: 19.01 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.3495010528713465]