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.001858/0.001858, allocations: 85.48 kB / 19.44 MB, free: 336 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.002692/0.002692, allocations: 173.2 kB / 22.76 MB, free: 1.656 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 1.608/1.608, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.029/1.029, allocations: 118.6 MB / 378.2 MB, free: 1.449 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.824e-06/1.824e-06, allocations: 0 / 482.9 MB, free: 8.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/2.998e-05, allocations: 2.312 kB / 482.9 MB, free: 8.289 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource): time 0.002441/0.002471, allocations: 1.619 MB / 484.5 MB, free: 7.172 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008355/0.003306, allocations: 467 kB / 484.9 MB, free: 6.867 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.986e-05/0.003376, allocations: 1.438 kB / 484.9 MB, free: 6.867 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.00341, allocations: 11.3 kB / 485 MB, free: 6.859 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.932e-05/0.003479, allocations: 10.48 kB / 485 MB, free: 6.852 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.003711, allocations: 23.44 kB / 485 MB, free: 6.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.003848, allocations: 56.8 kB / 485 MB, free: 6.809 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.557e-05/0.003934, allocations: 8.031 kB / 485.1 MB, free: 6.805 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.004093, allocations: 33.67 kB / 485.1 MB, free: 6.793 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.305e-05/0.004146, allocations: 19.03 kB / 485.1 MB, free: 6.785 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.004164, allocations: 3.969 kB / 485.1 MB, free: 6.785 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.951e-05/0.004214, allocations: 5.094 kB / 485.1 MB, free: 6.785 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.00423, allocations: 13 kB / 485.1 MB, free: 6.773 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.004258, allocations: 9.047 kB / 485.1 MB, free: 6.773 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.004396, allocations: 56.02 kB / 485.2 MB, free: 6.746 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.004399, allocations: 0 / 485.2 MB, free: 6.746 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.004401, allocations: 0 / 485.2 MB, free: 6.746 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.004405, allocations: 4 kB / 485.2 MB, free: 6.742 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.0006284/0.005033, allocations: 381.8 kB / 485.6 MB, free: 22.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.005079, allocations: 10.03 kB / 485.6 MB, free: 22.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.005251, allocations: 16.53 kB / 485.6 MB, free: 22.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.005403, allocations: 130.3 kB / 485.7 MB, free: 22.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.005415, allocations: 1.5 kB / 485.7 MB, free: 22.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.005424, allocations: 2.875 kB / 485.7 MB, free: 22.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.005577, allocations: 98.8 kB / 485.8 MB, free: 22.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.005589, allocations: 192 / 485.8 MB, free: 22.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.005598, allocations: 1.75 kB / 485.8 MB, free: 22.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.005605, allocations: 13.25 kB / 485.8 MB, free: 22.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.005706, allocations: 27.45 kB / 485.9 MB, free: 22.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006235/0.00633, allocations: 0.6544 MB / 486.5 MB, free: 21.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.911e-05/0.006409, allocations: 35.25 kB / 486.6 MB, free: 21.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.006448, allocations: 20.19 kB / 486.6 MB, free: 21.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.006467, allocations: 0 / 486.6 MB, free: 21.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.006486, allocations: 34.77 kB / 486.6 MB, free: 21.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.006486, allocations: 3.938 kB / 486.6 MB, free: 21.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.000227/0.006713, allocations: 62.45 kB / 486.7 MB, free: 21.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.006745, allocations: 52.72 kB / 486.7 MB, free: 21.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.006874, allocations: 178.4 kB / 486.9 MB, free: 21.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.00689, allocations: 25.7 kB / 486.9 MB, free: 21.01 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.006981, allocations: 141.7 kB / 487.1 MB, free: 20.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.006997, allocations: 9.391 kB / 487.1 MB, free: 20.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.007027, allocations: 20.84 kB / 487.1 MB, free: 20.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002636/0.00729, allocations: 498 kB / 487.6 MB, free: 20.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.72e-05/0.007327, allocations: 8.344 kB / 487.6 MB, free: 20.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/0.007353, allocations: 15.45 kB / 487.6 MB, free: 20.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.881e-05/0.007412, allocations: 24.75 kB / 487.6 MB, free: 20.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.007414, allocations: 3.938 kB / 487.6 MB, free: 20.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001029/0.007517, allocations: 52.03 kB / 487.7 MB, free: 20.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.007535, allocations: 4.688 kB / 487.7 MB, free: 20.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.007542, allocations: 0.8438 kB / 487.7 MB, free: 20.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.007566, allocations: 0.875 kB / 487.7 MB, free: 20.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.136e-05/0.007638, allocations: 7.781 kB / 487.7 MB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.007643, allocations: 96 / 487.7 MB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.881e-05/0.007672, allocations: 7.953 kB / 487.7 MB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.007678, allocations: 1.562 kB / 487.7 MB, free: 20.27 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 0.0001435/0.007821, allocations: 167.3 kB / 487.9 MB, free: 20.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.007847, allocations: 6.266 kB / 487.9 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.297e-05/0.00787, allocations: 9.281 kB / 487.9 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.007872, allocations: 0 / 487.9 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.007876, allocations: 3.922 kB / 487.9 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.007878, allocations: 0 / 487.9 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.008024, allocations: 125.4 kB / 488 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.008027, allocations: 5.406 kB / 488 MB, free: 19.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.008066, allocations: 13.83 kB / 488 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.008067, allocations: 0 / 488 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.008076, allocations: 1.188 kB / 488 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.008077, allocations: 0 / 488 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.008078, allocations: 0 / 488 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.008274, allocations: 192.5 kB / 488.2 MB, free: 19.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.008287, allocations: 12.83 kB / 488.2 MB, free: 19.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.008304, allocations: 1.344 kB / 488.2 MB, free: 19.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.389e-05/0.008358, allocations: 1.281 kB / 488.2 MB, free: 19.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.008393, allocations: 9.125 kB / 488.2 MB, free: 19.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.008398, allocations: 1.062 kB / 488.2 MB, free: 19.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001026/0.0085, allocations: 138.6 kB / 488.4 MB, free: 19.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0085, allocations: 0 / 488.4 MB, free: 19.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002069/0.008707, allocations: 6.219 kB / 488.4 MB, free: 19.61 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 0.0001429/0.00885, allocations: 92.97 kB / 488.5 MB, free: 19.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.008982, allocations: 27.02 kB / 488.5 MB, free: 19.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.008983, allocations: 0 / 488.5 MB, free: 19.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.912e-05/0.009022, allocations: 22.3 kB / 488.5 MB, free: 19.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.009232, allocations: 11.78 kB / 488.5 MB, free: 19.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.009568, allocations: 148.3 kB / 488.7 MB, free: 19.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.921e-05/0.009627, allocations: 72.02 kB / 488.7 MB, free: 19.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.765e-05/0.009655, allocations: 1.531 kB / 488.7 MB, free: 19.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.009681, allocations: 10.09 kB / 488.8 MB, free: 19.26 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.009681, allocations: 0 / 488.8 MB, free: 19.26 MB / 426.7 MB Notification: Performance of Templates: time 0.002823/0.0125, allocations: 341.2 kB / 489.1 MB, free: 19.22 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.diff",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: 5.802159867016599]