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.0008784/0.0008784, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0008814/0.0008814, allocations: 170 kB / 23.27 MB, free: 1.223 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.9727/0.9727, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.664/0.664, allocations: 118.6 MB / 378.9 MB, free: 1.344 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.583e-06/1.583e-06, allocations: 0 / 484 MB, free: 8.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.675e-05, allocations: 5.266 kB / 484 MB, free: 8.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource): time 0.002024/0.002051, allocations: 1.66 MB / 485.7 MB, free: 7.027 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006158/0.002667, allocations: 461.4 kB / 486.2 MB, free: 6.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.314e-05/0.00273, allocations: 9.312 kB / 486.2 MB, free: 6.723 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.002758, allocations: 6.844 kB / 486.2 MB, free: 6.719 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.234e-05/0.00281, allocations: 13.19 kB / 486.2 MB, free: 6.707 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.002996, allocations: 28.72 kB / 486.2 MB, free: 6.691 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.806e-05/0.003084, allocations: 44.97 kB / 486.3 MB, free: 6.672 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.217e-05/0.003156, allocations: 11.08 kB / 486.3 MB, free: 6.668 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.003279, allocations: 39.56 kB / 486.3 MB, free: 6.648 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.063e-05/0.00332, allocations: 8.453 kB / 486.3 MB, free: 6.648 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.003333, allocations: 4.125 kB / 486.3 MB, free: 6.648 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.921e-05/0.003372, allocations: 17.44 kB / 486.3 MB, free: 6.637 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.869e-06/0.003382, allocations: 8.266 kB / 486.3 MB, free: 6.633 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.618e-05/0.003398, allocations: 17.42 kB / 486.4 MB, free: 6.621 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.421e-05/0.003483, allocations: 33.22 kB / 486.4 MB, free: 6.609 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003485, allocations: 0 / 486.4 MB, free: 6.609 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.003486, allocations: 1.375 kB / 486.4 MB, free: 6.609 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.003489, allocations: 0 / 486.4 MB, free: 6.609 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.0003615/0.00385, allocations: 380.3 kB / 486.8 MB, free: 22.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.003889, allocations: 9.469 kB / 486.8 MB, free: 22.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.69e-05/0.003976, allocations: 18.53 kB / 486.8 MB, free: 22.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.988e-05/0.004055, allocations: 136.4 kB / 486.9 MB, free: 22.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.004064, allocations: 9.844 kB / 486.9 MB, free: 22.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-06/0.004071, allocations: 7.344 kB / 486.9 MB, free: 22.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.169e-05/0.004152, allocations: 91.52 kB / 487 MB, free: 21.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-06/0.004158, allocations: 1.344 kB / 487 MB, free: 21.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.004164, allocations: 1.656 kB / 487 MB, free: 21.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.004169, allocations: 5.188 kB / 487 MB, free: 21.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.314e-05/0.004192, allocations: 13.42 kB / 487.1 MB, free: 21.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000297/0.004489, allocations: 0.6254 MB / 487.7 MB, free: 21.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.328e-05/0.004523, allocations: 34.73 kB / 487.7 MB, free: 21.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.269e-05/0.004535, allocations: 16.22 kB / 487.7 MB, free: 21.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.004547, allocations: 1.5 kB / 487.7 MB, free: 21.26 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.00456, allocations: 42.77 kB / 487.8 MB, free: 21.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.004561, allocations: 0 / 487.8 MB, free: 21.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 9.766e-05/0.004659, allocations: 37.03 kB / 487.8 MB, free: 21.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.538e-05/0.004674, allocations: 52.5 kB / 487.9 MB, free: 21.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.421e-05/0.004739, allocations: 170 kB / 488 MB, free: 20.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-06/0.004743, allocations: 27.14 kB / 488.1 MB, free: 20.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.004786, allocations: 145.6 kB / 488.2 MB, free: 20.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.004803, allocations: 10.89 kB / 488.2 MB, free: 20.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.004825, allocations: 18.03 kB / 488.2 MB, free: 20.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.004935, allocations: 0.4888 MB / 488.7 MB, free: 20.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.013e-06/0.004942, allocations: 5.406 kB / 488.7 MB, free: 20.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-06/0.00495, allocations: 2.469 kB / 488.7 MB, free: 20.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.028e-05/0.00497, allocations: 10.97 kB / 488.7 MB, free: 20.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.004971, allocations: 1.625 kB / 488.7 MB, free: 20.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.309e-05/0.005014, allocations: 40.7 kB / 488.8 MB, free: 20.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.005026, allocations: 9.406 kB / 488.8 MB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.005031, allocations: 0 / 488.8 MB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.00504, allocations: 1.25 kB / 488.8 MB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.901e-05/0.005079, allocations: 3.125 kB / 488.8 MB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.005082, allocations: 4.438 kB / 488.8 MB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.459e-05/0.005097, allocations: 4.609 kB / 488.8 MB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-06/0.005099, allocations: 1.25 kB / 488.8 MB, free: 20.18 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.648e-05/0.005156, allocations: 157.8 kB / 488.9 MB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.005169, allocations: 10.45 kB / 489 MB, free: 20.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.743e-05/0.005187, allocations: 8.875 kB / 489 MB, free: 20.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.005189, allocations: 5.281 kB / 489 MB, free: 20 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.005191, allocations: 0 / 489 MB, free: 20 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.005193, allocations: 0 / 489 MB, free: 20 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.562e-05/0.005279, allocations: 103.3 kB / 489.1 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.00528, allocations: 2.906 kB / 489.1 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.31e-05/0.005293, allocations: 3.219 kB / 489.1 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.005295, allocations: 1.281 kB / 489.1 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-06/0.005299, allocations: 3.938 kB / 489.1 MB, free: 19.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.0053, allocations: 1.281 kB / 489.1 MB, free: 19.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.005301, allocations: 4 kB / 489.1 MB, free: 19.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.028e-05/0.005382, allocations: 197.7 kB / 489.3 MB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.005388, allocations: 1.656 kB / 489.3 MB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-06/0.005396, allocations: 5.375 kB / 489.3 MB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.893e-05/0.005425, allocations: 4.391 kB / 489.3 MB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.005444, allocations: 3.984 kB / 489.3 MB, free: 19.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.005446, allocations: 0.875 kB / 489.3 MB, free: 19.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.675e-05/0.005482, allocations: 136.9 kB / 489.4 MB, free: 19.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005482, allocations: 0 / 489.4 MB, free: 19.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001346/0.005617, allocations: 6.719 kB / 489.4 MB, free: 19.55 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.722e-05/0.005684, allocations: 93.41 kB / 489.5 MB, free: 19.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.293e-05/0.005737, allocations: 19.83 kB / 489.5 MB, free: 19.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.005738, allocations: 1.125 kB / 489.6 MB, free: 19.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.267e-05/0.005751, allocations: 14.28 kB / 489.6 MB, free: 19.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.005897, allocations: 2.688 kB / 489.6 MB, free: 19.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.006274, allocations: 158.7 kB / 489.7 MB, free: 19.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.157e-05/0.006305, allocations: 55.02 kB / 489.8 MB, free: 19.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.649e-05/0.006322, allocations: 8.656 kB / 489.8 MB, free: 19.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.006363, allocations: 68.55 kB / 489.9 MB, free: 19.14 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.006363, allocations: 0 / 489.9 MB, free: 19.14 MB / 426.7 MB Notification: Performance of Templates: time 0.002077/0.00844, allocations: 364.9 kB / 490.2 MB, free: 19.11 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.2989608319476247]