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.001482/0.001482, 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.001764/0.001764, 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.9502/0.9502, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6466/0.6466, allocations: 118.6 MB / 378.6 MB, free: 1.465 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.914e-06/1.914e-06, allocations: 1.344 kB / 483.6 MB, free: 8.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.904e-05/2.095e-05, allocations: 9.125 kB / 483.6 MB, free: 8.285 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource): time 0.001687/0.001708, allocations: 1.659 MB / 485.3 MB, free: 7.164 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005521/0.00226, allocations: 469.5 kB / 485.7 MB, free: 6.863 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.002311, allocations: 3.938 kB / 485.7 MB, free: 6.859 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.002342, allocations: 8.453 kB / 485.7 MB, free: 6.855 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.138e-05/0.002393, allocations: 17.27 kB / 485.7 MB, free: 6.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.002598, allocations: 20.81 kB / 485.8 MB, free: 6.832 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.873e-05/0.002697, allocations: 46.16 kB / 485.8 MB, free: 6.809 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.959e-05/0.002776, allocations: 11.67 kB / 485.8 MB, free: 6.805 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.002892, allocations: 40.8 kB / 485.9 MB, free: 6.785 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.227e-05/0.002934, allocations: 12.94 kB / 485.9 MB, free: 6.781 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.002949, allocations: 2.719 kB / 485.9 MB, free: 6.781 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.683e-05/0.002996, allocations: 9.219 kB / 485.9 MB, free: 6.777 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.003009, allocations: 16.62 kB / 485.9 MB, free: 6.766 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.15e-05/0.00303, allocations: 10.72 kB / 485.9 MB, free: 6.762 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.619e-05/0.003126, allocations: 35.66 kB / 485.9 MB, free: 6.746 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003128, allocations: 0 / 485.9 MB, free: 6.746 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003129, allocations: 0 / 485.9 MB, free: 6.746 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.003133, allocations: 0 / 485.9 MB, free: 6.746 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.0003768/0.00351, allocations: 380.6 kB / 486.3 MB, free: 22.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.003544, allocations: 13.62 kB / 486.3 MB, free: 22.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.003651, allocations: 17.56 kB / 486.3 MB, free: 22.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.003766, allocations: 134.6 kB / 486.5 MB, free: 22.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.003775, allocations: 1.75 kB / 486.5 MB, free: 22.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.003785, allocations: 11.11 kB / 486.5 MB, free: 22.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.003897, allocations: 92.75 kB / 486.6 MB, free: 22.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.003905, allocations: 1.562 kB / 486.6 MB, free: 22.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.003913, allocations: 384 / 486.6 MB, free: 22.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.003922, allocations: 5.312 kB / 486.6 MB, free: 22.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.994e-05/0.003962, allocations: 27.47 kB / 486.6 MB, free: 22.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.004387, allocations: 0.6493 MB / 487.3 MB, free: 21.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.764e-05/0.004435, allocations: 35.12 kB / 487.3 MB, free: 21.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/0.004454, allocations: 14.38 kB / 487.3 MB, free: 21.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.004466, allocations: 0 / 487.3 MB, free: 21.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.00448, allocations: 34.77 kB / 487.3 MB, free: 21.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.00448, allocations: 0 / 487.3 MB, free: 21.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001194/0.0046, allocations: 42.61 kB / 487.4 MB, free: 21.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.674e-05/0.004617, allocations: 52.91 kB / 487.4 MB, free: 21.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.18e-05/0.004678, allocations: 175.9 kB / 487.6 MB, free: 21.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.628e-06/0.004683, allocations: 25.7 kB / 487.6 MB, free: 21.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.004724, allocations: 142.9 kB / 487.8 MB, free: 20.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.004737, allocations: 7.891 kB / 487.8 MB, free: 20.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.004759, allocations: 25.45 kB / 487.8 MB, free: 20.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.227e-05/0.004851, allocations: 493.5 kB / 488.3 MB, free: 20.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.129e-05/0.004863, allocations: 1.375 kB / 488.3 MB, free: 20.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.907e-06/0.004872, allocations: 6.125 kB / 488.3 MB, free: 20.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.843e-05/0.0049, allocations: 15.81 kB / 488.3 MB, free: 20.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.004902, allocations: 8 kB / 488.3 MB, free: 20.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.097e-05/0.004943, allocations: 35.33 kB / 488.4 MB, free: 20.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.004955, allocations: 8.469 kB / 488.4 MB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.004959, allocations: 0 / 488.4 MB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.00497, allocations: 4.656 kB / 488.4 MB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.922e-05/0.005019, allocations: 6.688 kB / 488.4 MB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.005024, allocations: 1.375 kB / 488.4 MB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.418e-05/0.005038, allocations: 1.375 kB / 488.4 MB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.005042, allocations: 0 / 488.4 MB, free: 20.29 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 5.216e-05/0.005094, allocations: 161.9 kB / 488.5 MB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.005108, allocations: 13.97 kB / 488.5 MB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.751e-05/0.005126, allocations: 8.938 kB / 488.6 MB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.005128, allocations: 1.375 kB / 488.6 MB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.005131, allocations: 0 / 488.6 MB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.005134, allocations: 0 / 488.6 MB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.929e-05/0.005213, allocations: 124.1 kB / 488.7 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.005214, allocations: 7.219 kB / 488.7 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/0.005229, allocations: 4.125 kB / 488.7 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.12e-07/0.005229, allocations: 0 / 488.7 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.005235, allocations: 1.375 kB / 488.7 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-07/0.005235, allocations: 0 / 488.7 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.005236, allocations: 4 kB / 488.7 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.851e-05/0.005314, allocations: 194.2 kB / 488.9 MB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-06/0.00532, allocations: 5.312 kB / 488.9 MB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-06/0.005328, allocations: 1.375 kB / 488.9 MB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.78e-05/0.005356, allocations: 4.562 kB / 488.9 MB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.00538, allocations: 1.375 kB / 488.9 MB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.005382, allocations: 4 kB / 488.9 MB, free: 19.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.617e-05/0.005419, allocations: 134.6 kB / 489 MB, free: 19.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005419, allocations: 0 / 489 MB, free: 19.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001391/0.005558, allocations: 5.5 kB / 489 MB, free: 19.63 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.415e-05/0.005622, allocations: 97.03 kB / 489.1 MB, free: 19.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.893e-05/0.005701, allocations: 17.66 kB / 489.2 MB, free: 19.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.005702, allocations: 0 / 489.2 MB, free: 19.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.465e-05/0.005717, allocations: 14.38 kB / 489.2 MB, free: 19.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.005879, allocations: 10.69 kB / 489.2 MB, free: 19.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.006382, allocations: 158.6 kB / 489.3 MB, free: 19.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.831e-05/0.00641, allocations: 58.62 kB / 489.4 MB, free: 19.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.473e-05/0.006425, allocations: 1.375 kB / 489.4 MB, free: 19.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.006446, allocations: 8.5 kB / 489.4 MB, free: 19.29 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.006447, allocations: 1.375 kB / 489.4 MB, free: 19.29 MB / 426.7 MB Notification: Performance of Templates: time 0.001715/0.008162, allocations: 347.7 kB / 489.7 MB, free: 19.24 MB / 426.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.5059781060554087]