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.000958/0.000958, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.0009873/0.0009873, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9592/0.9592, allocations: 177.2 MB / 204.5 MB, free: 5.5 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.7152/0.7152, allocations: 118.6 MB / 379.7 MB, free: 1.355 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.493e-06/1.493e-06, allocations: 0 / 484.8 MB, free: 8.102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.586e-05, allocations: 6.25 kB / 484.8 MB, free: 8.094 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource): time 0.002391/0.002407, allocations: 1.641 MB / 486.5 MB, free: 6.984 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007016/0.003109, allocations: 475.2 kB / 486.9 MB, free: 6.672 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.278e-05/0.003171, allocations: 1.312 kB / 486.9 MB, free: 6.672 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.274e-05/0.003204, allocations: 8.672 kB / 487 MB, free: 6.668 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.134e-05/0.003265, allocations: 9.312 kB / 487 MB, free: 6.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.003457, allocations: 24.92 kB / 487 MB, free: 6.648 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.003568, allocations: 52.22 kB / 487 MB, free: 6.621 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.651e-05/0.003655, allocations: 11.98 kB / 487.1 MB, free: 6.613 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.00379, allocations: 37.75 kB / 487.1 MB, free: 6.598 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.189e-05/0.003842, allocations: 17.53 kB / 487.1 MB, free: 6.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.003859, allocations: 4.125 kB / 487.1 MB, free: 6.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.215e-05/0.003901, allocations: 8.156 kB / 487.1 MB, free: 6.586 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.003915, allocations: 9.797 kB / 487.1 MB, free: 6.582 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.003935, allocations: 13.45 kB / 487.1 MB, free: 6.574 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.004041, allocations: 34.81 kB / 487.2 MB, free: 6.559 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004043, allocations: 0 / 487.2 MB, free: 6.559 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004044, allocations: 1.312 kB / 487.2 MB, free: 6.559 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.004047, allocations: 0 / 487.2 MB, free: 6.559 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.0004385/0.004486, allocations: 388.2 kB / 487.6 MB, free: 22.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.004521, allocations: 9.156 kB / 487.6 MB, free: 22.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.004648, allocations: 18.64 kB / 487.6 MB, free: 22.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.004759, allocations: 129.3 kB / 487.7 MB, free: 22.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.004769, allocations: 7.25 kB / 487.7 MB, free: 22.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-06/0.004776, allocations: 2 kB / 487.7 MB, free: 22.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.004883, allocations: 97.27 kB / 487.8 MB, free: 21.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.004891, allocations: 192 / 487.8 MB, free: 21.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.004899, allocations: 1.75 kB / 487.8 MB, free: 21.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.004906, allocations: 9.156 kB / 487.8 MB, free: 21.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.32e-05/0.004939, allocations: 13.59 kB / 487.8 MB, free: 21.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.005318, allocations: 0.6287 MB / 488.5 MB, free: 21.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.377e-05/0.005362, allocations: 35.48 kB / 488.5 MB, free: 21.22 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.605e-05/0.005378, allocations: 17.22 kB / 488.5 MB, free: 21.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.005388, allocations: 0 / 488.5 MB, free: 21.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.005403, allocations: 38.8 kB / 488.6 MB, free: 21.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.005404, allocations: 0 / 488.6 MB, free: 21.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001207/0.005524, allocations: 42.83 kB / 488.6 MB, free: 21.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.005544, allocations: 51.41 kB / 488.6 MB, free: 21.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.757e-05/0.005621, allocations: 167.7 kB / 488.8 MB, free: 20.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.252e-06/0.005628, allocations: 34.89 kB / 488.8 MB, free: 20.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.005679, allocations: 140.5 kB / 489 MB, free: 20.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.005694, allocations: 9.094 kB / 489 MB, free: 20.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.005722, allocations: 21.97 kB / 489 MB, free: 20.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.005856, allocations: 496.7 kB / 489.5 MB, free: 20.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.005868, allocations: 1.281 kB / 489.5 MB, free: 20.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-06/0.005877, allocations: 5.094 kB / 489.5 MB, free: 20.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.057e-05/0.005907, allocations: 20.2 kB / 489.5 MB, free: 20.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.005909, allocations: 0 / 489.5 MB, free: 20.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.599e-05/0.005965, allocations: 38.27 kB / 489.6 MB, free: 20.13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.005977, allocations: 8.531 kB / 489.6 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.005981, allocations: 0 / 489.6 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.005989, allocations: 3.938 kB / 489.6 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.983e-05/0.006039, allocations: 11.56 kB / 489.6 MB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.006041, allocations: 0 / 489.6 MB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.178e-05/0.006063, allocations: 1.5 kB / 489.6 MB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.006067, allocations: 1.25 kB / 489.6 MB, free: 20.12 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.213e-05/0.00613, allocations: 162 kB / 489.7 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.006154, allocations: 10.55 kB / 489.8 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.763e-05/0.006171, allocations: 8.391 kB / 489.8 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.006173, allocations: 0 / 489.8 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.006174, allocations: 0 / 489.8 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006177, allocations: 1.25 kB / 489.8 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.0063, allocations: 102 kB / 489.9 MB, free: 19.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.0063, allocations: 1.375 kB / 489.9 MB, free: 19.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.006323, allocations: 2.688 kB / 489.9 MB, free: 19.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.006325, allocations: 1.375 kB / 489.9 MB, free: 19.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-06/0.006329, allocations: 7.938 kB / 489.9 MB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.00633, allocations: 1.375 kB / 489.9 MB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006332, allocations: 0 / 489.9 MB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.866e-05/0.00643, allocations: 194.3 kB / 490.1 MB, free: 19.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.006437, allocations: 1.375 kB / 490.1 MB, free: 19.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.006448, allocations: 7.125 kB / 490.1 MB, free: 19.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.058e-05/0.006499, allocations: 1.375 kB / 490.1 MB, free: 19.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.00652, allocations: 5.375 kB / 490.1 MB, free: 19.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.006523, allocations: 1.375 kB / 490.1 MB, free: 19.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.658e-05/0.006569, allocations: 128 kB / 490.2 MB, free: 19.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006569, allocations: 5.406 kB / 490.2 MB, free: 19.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000247/0.006816, allocations: 5.5 kB / 490.2 MB, free: 19.5 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 7.236e-05/0.006888, allocations: 93 kB / 490.3 MB, free: 19.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.066e-05/0.006949, allocations: 16.61 kB / 490.3 MB, free: 19.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.00695, allocations: 0 / 490.3 MB, free: 19.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.615e-05/0.006966, allocations: 19.69 kB / 490.3 MB, free: 19.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.007193, allocations: 5.375 kB / 490.4 MB, free: 19.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.007654, allocations: 168.4 kB / 490.5 MB, free: 19.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.256e-05/0.007687, allocations: 57.58 kB / 490.6 MB, free: 19.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.065e-05/0.007708, allocations: 5.359 kB / 490.6 MB, free: 19.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.007746, allocations: 67.58 kB / 490.6 MB, free: 19.09 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007747, allocations: 0 / 490.6 MB, free: 19.09 MB / 426.7 MB Notification: Performance of Templates: time 0.001994/0.00974, allocations: 368.4 kB / 491 MB, free: 19.04 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.4848611908964813]