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.0009641/0.0009641, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009384/0.0009384, allocations: 173 kB / 23.49 MB, free: 1.055 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.9542/0.9542, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.6775/0.6775, allocations: 118.6 MB / 378.9 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.142e-06/1.142e-06, allocations: 0 / 483.6 MB, free: 8.352 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/1.993e-05, allocations: 2.312 kB / 483.6 MB, free: 8.348 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource): time 0.001684/0.001704, allocations: 1.67 MB / 485.3 MB, free: 7.219 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005695/0.002274, allocations: 468.7 kB / 485.7 MB, free: 6.914 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.993e-05/0.002334, allocations: 1.531 kB / 485.7 MB, free: 6.914 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.002363, allocations: 11.11 kB / 485.7 MB, free: 6.906 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.483e-05/0.002418, allocations: 5.188 kB / 485.7 MB, free: 6.902 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.002622, allocations: 28.09 kB / 485.8 MB, free: 6.887 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.002731, allocations: 52.61 kB / 485.8 MB, free: 6.859 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.627e-05/0.002817, allocations: 4.969 kB / 485.8 MB, free: 6.859 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.002942, allocations: 38.56 kB / 485.9 MB, free: 6.844 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.333e-05/0.002986, allocations: 16.48 kB / 485.9 MB, free: 6.836 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.003001, allocations: 4.094 kB / 485.9 MB, free: 6.836 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.758e-05/0.003038, allocations: 12.12 kB / 485.9 MB, free: 6.828 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.003051, allocations: 9.469 kB / 485.9 MB, free: 6.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.003076, allocations: 18.09 kB / 485.9 MB, free: 6.812 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.767e-05/0.003173, allocations: 29.94 kB / 486 MB, free: 6.801 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.003176, allocations: 4 kB / 486 MB, free: 6.797 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.003177, allocations: 1.438 kB / 486 MB, free: 6.797 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.686e-06/0.003181, allocations: 0 / 486 MB, free: 6.797 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.0004312/0.003612, allocations: 380.1 kB / 486.3 MB, free: 22.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.00365, allocations: 12.94 kB / 486.3 MB, free: 22.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.00376, allocations: 22.27 kB / 486.4 MB, free: 22.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.00388, allocations: 122.5 kB / 486.5 MB, free: 22.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.003891, allocations: 1.5 kB / 486.5 MB, free: 22.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.003901, allocations: 11.06 kB / 486.5 MB, free: 22.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.004019, allocations: 96.83 kB / 486.6 MB, free: 22.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.004026, allocations: 1.531 kB / 486.6 MB, free: 22.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.004035, allocations: 384 / 486.6 MB, free: 22.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.004043, allocations: 5.281 kB / 486.6 MB, free: 22.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.901e-05/0.004082, allocations: 19.92 kB / 486.6 MB, free: 22.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.004449, allocations: 0.6492 MB / 487.3 MB, free: 21.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.469e-05/0.004493, allocations: 35.91 kB / 487.3 MB, free: 21.44 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.004513, allocations: 12.72 kB / 487.3 MB, free: 21.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.004524, allocations: 1.094 kB / 487.3 MB, free: 21.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.004539, allocations: 38.45 kB / 487.4 MB, free: 21.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.00454, allocations: 1.125 kB / 487.4 MB, free: 21.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001321/0.004672, allocations: 42.3 kB / 487.4 MB, free: 21.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.004695, allocations: 52.69 kB / 487.4 MB, free: 21.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.485e-05/0.004779, allocations: 170.4 kB / 487.6 MB, free: 21.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/0.004785, allocations: 25.83 kB / 487.6 MB, free: 21.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.004829, allocations: 147.9 kB / 487.8 MB, free: 20.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.004844, allocations: 5.328 kB / 487.8 MB, free: 20.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.004866, allocations: 22.12 kB / 487.8 MB, free: 20.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.004988, allocations: 496.4 kB / 488.3 MB, free: 20.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.005, allocations: 1.375 kB / 488.3 MB, free: 20.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.818e-06/0.00501, allocations: 6.688 kB / 488.3 MB, free: 20.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.388e-05/0.005034, allocations: 15.81 kB / 488.3 MB, free: 20.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.005036, allocations: 3.938 kB / 488.3 MB, free: 20.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.92e-05/0.005085, allocations: 42.7 kB / 488.4 MB, free: 20.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.005098, allocations: 9.594 kB / 488.4 MB, free: 20.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.005101, allocations: 0 / 488.4 MB, free: 20.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.005112, allocations: 0 / 488.4 MB, free: 20.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.153e-05/0.005164, allocations: 7.266 kB / 488.4 MB, free: 20.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.005168, allocations: 0 / 488.4 MB, free: 20.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.519e-05/0.005183, allocations: 5.375 kB / 488.4 MB, free: 20.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.005187, allocations: 1.375 kB / 488.4 MB, free: 20.34 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.172e-05/0.005239, allocations: 161.8 kB / 488.5 MB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.005253, allocations: 6.703 kB / 488.6 MB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.919e-05/0.005272, allocations: 8.375 kB / 488.6 MB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.005274, allocations: 4 kB / 488.6 MB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.005277, allocations: 1.375 kB / 488.6 MB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.005279, allocations: 0 / 488.6 MB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.7e-05/0.005366, allocations: 123.9 kB / 488.7 MB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.005367, allocations: 3.938 kB / 488.7 MB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.569e-05/0.005383, allocations: 7.312 kB / 488.7 MB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.005384, allocations: 0 / 488.7 MB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.00539, allocations: 0 / 488.7 MB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.005391, allocations: 1.375 kB / 488.7 MB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005392, allocations: 3.938 kB / 488.7 MB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.559e-05/0.005478, allocations: 194.3 kB / 488.9 MB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-06/0.005484, allocations: 5.312 kB / 488.9 MB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.005494, allocations: 5.312 kB / 488.9 MB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.926e-05/0.005523, allocations: 1.375 kB / 488.9 MB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.00555, allocations: 8.688 kB / 488.9 MB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.005552, allocations: 0 / 488.9 MB, free: 19.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.946e-05/0.005591, allocations: 133.4 kB / 489 MB, free: 19.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005591, allocations: 0 / 489 MB, free: 19.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000141/0.005732, allocations: 6.719 kB / 489 MB, free: 19.69 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.312e-05/0.005795, allocations: 97.81 kB / 489.1 MB, free: 19.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.571e-05/0.005861, allocations: 13.25 kB / 489.2 MB, free: 19.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.005862, allocations: 0 / 489.2 MB, free: 19.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.451e-05/0.005877, allocations: 17.83 kB / 489.2 MB, free: 19.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.006027, allocations: 10.34 kB / 489.2 MB, free: 19.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.006496, allocations: 156.1 kB / 489.3 MB, free: 19.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.86e-05/0.006524, allocations: 61.69 kB / 489.4 MB, free: 19.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.492e-05/0.006539, allocations: 0.9375 kB / 489.4 MB, free: 19.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.006562, allocations: 13.44 kB / 489.4 MB, free: 19.34 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.006562, allocations: 0 / 489.4 MB, free: 19.34 MB / 426.7 MB Notification: Performance of Templates: time 0.001752/0.008314, allocations: 334.1 kB / 489.7 MB, free: 19.3 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.595308480085805]