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.0009173/0.0009173, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001008/0.001008, allocations: 173 kB / 23.36 MB, free: 1.129 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.9877/0.9877, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.7487/0.7487, allocations: 118.6 MB / 378.9 MB, free: 1.359 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.233e-06/1.233e-06, allocations: 0 / 430.8 MB, free: 13.31 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043e-05/1.166e-05, allocations: 2.312 kB / 430.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource): time 0.001832/0.001844, allocations: 1.693 MB / 432.5 MB, free: 11.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005623/0.002406, allocations: 478.7 kB / 433 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.002453, allocations: 0 / 433 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.574e-05/0.002479, allocations: 7.922 kB / 433 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.915e-05/0.002528, allocations: 11.86 kB / 433 MB, free: 11.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.002678, allocations: 27.97 kB / 433.1 MB, free: 11.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.814e-05/0.002767, allocations: 55.72 kB / 433.1 MB, free: 11.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.59e-05/0.002832, allocations: 7.938 kB / 433.1 MB, free: 11.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.772e-05/0.00293, allocations: 35.84 kB / 433.2 MB, free: 10.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.959e-05/0.00297, allocations: 19.97 kB / 433.2 MB, free: 10.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.002981, allocations: 0 / 433.2 MB, free: 10.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.86e-05/0.003029, allocations: 8 kB / 433.2 MB, free: 10.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.003042, allocations: 11.92 kB / 433.2 MB, free: 10.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.426e-05/0.003057, allocations: 8 kB / 433.2 MB, free: 10.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.306e-05/0.00314, allocations: 39.83 kB / 433.2 MB, free: 10.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003141, allocations: 4 kB / 433.2 MB, free: 10.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003142, allocations: 0 / 433.2 MB, free: 10.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.545e-06/0.003145, allocations: 0 / 433.2 MB, free: 10.89 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.0002255/0.00337, allocations: 260.7 kB / 433.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.003398, allocations: 8.031 kB / 433.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.947e-05/0.003477, allocations: 12.94 kB / 433.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.882e-05/0.003576, allocations: 121.7 kB / 433.6 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.603e-06/0.003582, allocations: 4.375 kB / 433.6 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.07e-06/0.003587, allocations: 384 / 433.6 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.566e-05/0.003673, allocations: 90.36 kB / 433.7 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-06/0.003678, allocations: 192 / 433.7 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.003685, allocations: 4.375 kB / 433.7 MB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.00369, allocations: 3.938 kB / 433.7 MB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.371e-05/0.003714, allocations: 23.88 kB / 433.8 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00023/0.003944, allocations: 416.6 kB / 434.2 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.687e-05/0.003981, allocations: 22.55 kB / 434.2 MB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.24e-05/0.003993, allocations: 8.922 kB / 434.2 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.004002, allocations: 3.938 kB / 434.2 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.004018, allocations: 38.55 kB / 434.2 MB, free: 9.777 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.004019, allocations: 4 kB / 434.2 MB, free: 9.773 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 8.208e-05/0.004101, allocations: 33.77 kB / 434.3 MB, free: 9.734 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.004125, allocations: 55.41 kB / 434.3 MB, free: 9.668 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.613e-05/0.004181, allocations: 122.5 kB / 434.5 MB, free: 9.535 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.004189, allocations: 29.7 kB / 434.5 MB, free: 9.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.954e-05/0.004219, allocations: 88.08 kB / 434.6 MB, free: 9.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.004235, allocations: 7.953 kB / 434.6 MB, free: 9.402 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/0.004255, allocations: 9.719 kB / 434.6 MB, free: 9.387 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.547e-05/0.004331, allocations: 326.9 kB / 434.9 MB, free: 9.059 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.152e-06/0.004337, allocations: 4 kB / 434.9 MB, free: 9.055 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.004343, allocations: 4 kB / 434.9 MB, free: 9.051 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.818e-05/0.004362, allocations: 8.859 kB / 434.9 MB, free: 9.039 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.004363, allocations: 0 / 434.9 MB, free: 9.039 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.783e-05/0.004401, allocations: 41.62 kB / 435 MB, free: 8.992 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.00441, allocations: 7.938 kB / 435 MB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.004414, allocations: 0 / 435 MB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/0.004422, allocations: 0 / 435 MB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.952e-05/0.004462, allocations: 7.984 kB / 435 MB, free: 8.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.004465, allocations: 8.078 kB / 435 MB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.435e-05/0.00448, allocations: 4 kB / 435 MB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-06/0.004483, allocations: 0 / 435 MB, free: 8.965 MB / 410.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.499e-05/0.004528, allocations: 105.8 kB / 435.1 MB, free: 8.852 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.004545, allocations: 7.938 kB / 435.1 MB, free: 8.844 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.683e-05/0.004562, allocations: 11.61 kB / 435.1 MB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.004564, allocations: 0 / 435.1 MB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.004566, allocations: 0 / 435.1 MB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.004569, allocations: 4 kB / 435.1 MB, free: 8.832 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.099e-05/0.00464, allocations: 65.89 kB / 435.2 MB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.00464, allocations: 4 kB / 435.2 MB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.198e-05/0.004652, allocations: 11.92 kB / 435.2 MB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.004656, allocations: 7.984 kB / 435.2 MB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.00466, allocations: 3.938 kB / 435.2 MB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.004661, allocations: 0 / 435.2 MB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.004662, allocations: 0 / 435.2 MB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.298e-05/0.004725, allocations: 131.5 kB / 435.3 MB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.004733, allocations: 7.953 kB / 435.3 MB, free: 8.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.004742, allocations: 3.938 kB / 435.3 MB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.831e-05/0.00477, allocations: 4 kB / 435.3 MB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.004793, allocations: 12.02 kB / 435.4 MB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.004795, allocations: 0 / 435.4 MB, free: 8.551 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.361e-05/0.004809, allocations: 16.84 kB / 435.4 MB, free: 8.531 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004809, allocations: 0 / 435.4 MB, free: 8.531 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001205/0.004929, allocations: 11.94 kB / 435.4 MB, free: 8.52 MB / 410.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.267e-05/0.004992, allocations: 80.41 kB / 435.5 MB, free: 8.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.591e-05/0.005038, allocations: 8.859 kB / 435.5 MB, free: 8.418 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.005039, allocations: 3.938 kB / 435.5 MB, free: 8.414 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-05/0.005053, allocations: 12.92 kB / 435.5 MB, free: 8.398 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/0.005155, allocations: 4 kB / 435.5 MB, free: 8.395 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.005525, allocations: 152.3 kB / 435.6 MB, free: 8.219 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.867e-05/0.005554, allocations: 59.34 kB / 435.7 MB, free: 8.141 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.371e-05/0.005567, allocations: 0 / 435.7 MB, free: 8.141 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.005596, allocations: 55.36 kB / 435.8 MB, free: 8.086 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.005597, allocations: 0 / 435.8 MB, free: 8.086 MB / 410.7 MB Notification: Performance of Templates: time 0.001455/0.007051, allocations: 339 kB / 436.1 MB, free: 7.758 MB / 410.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 -s gbode -gbm=radauIIA3 -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.4311627098359168]