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.000775/0.000775, allocations: 84.23 kB / 20.04 MB, free: 4.484 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.000782/0.000782, allocations: 177.9 kB / 23.35 MB, free: 1.18 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.8526/0.8526, allocations: 177.1 MB / 203.7 MB, free: 5.684 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.6556/0.6556, allocations: 116 MB / 376.2 MB, free: 4.137 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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.943e-06/1.943e-06, allocations: 3.938 kB / 0.5547 GB, free: 12.71 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.525e-05, allocations: 8.922 kB / 0.5547 GB, free: 12.71 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource): time 0.002115/0.00214, allocations: 1.612 MB / 0.5563 GB, free: 11.08 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006307/0.002771, allocations: 458.8 kB / 0.5567 GB, free: 10.63 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.676e-05/0.002827, allocations: 0 / 0.5567 GB, free: 10.63 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.002858, allocations: 7.922 kB / 0.5567 GB, free: 10.62 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.952e-05/0.002907, allocations: 11.88 kB / 0.5567 GB, free: 10.61 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.003116, allocations: 35.89 kB / 0.5568 GB, free: 10.57 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.003219, allocations: 51.73 kB / 0.5568 GB, free: 10.52 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.471e-05/0.003314, allocations: 4 kB / 0.5568 GB, free: 10.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.003433, allocations: 31.95 kB / 0.5569 GB, free: 10.49 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.806e-05/0.003482, allocations: 19.92 kB / 0.5569 GB, free: 10.47 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.003496, allocations: 0 / 0.5569 GB, free: 10.47 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.177e-05/0.003537, allocations: 8 kB / 0.5569 GB, free: 10.46 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.003548, allocations: 0 / 0.5569 GB, free: 10.46 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.003572, allocations: 27.91 kB / 0.5569 GB, free: 10.43 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.003686, allocations: 47.77 kB / 0.557 GB, free: 10.39 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003688, allocations: 0 / 0.557 GB, free: 10.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.003689, allocations: 4 kB / 0.557 GB, free: 10.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.003695, allocations: 3.938 kB / 0.557 GB, free: 10.38 MB / 490.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.0003229/0.004018, allocations: 278.2 kB / 0.5572 GB, free: 10.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.004054, allocations: 8.031 kB / 0.5572 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.892e-05/0.004153, allocations: 20.88 kB / 0.5573 GB, free: 10.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.004286, allocations: 125.7 kB / 0.5574 GB, free: 9.902 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.004295, allocations: 8.375 kB / 0.5574 GB, free: 9.895 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.004302, allocations: 4.375 kB / 0.5574 GB, free: 9.891 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.00442, allocations: 77.62 kB / 0.5575 GB, free: 9.797 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.004427, allocations: 192 / 0.5575 GB, free: 9.797 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.004438, allocations: 4.375 kB / 0.5575 GB, free: 9.793 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.004445, allocations: 3.938 kB / 0.5575 GB, free: 9.789 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.447e-05/0.004509, allocations: 35.91 kB / 0.5575 GB, free: 9.754 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.004843, allocations: 461.1 kB / 0.558 GB, free: 9.262 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.781e-05/0.004911, allocations: 38.45 kB / 0.558 GB, free: 9.215 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.004944, allocations: 16.91 kB / 0.558 GB, free: 9.195 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.004961, allocations: 0 / 0.558 GB, free: 9.195 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.004985, allocations: 34.56 kB / 0.558 GB, free: 9.152 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.004986, allocations: 0 / 0.558 GB, free: 9.152 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001998/0.005186, allocations: 61.61 kB / 0.5581 GB, free: 9.086 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.005211, allocations: 55.41 kB / 0.5582 GB, free: 9.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.00529, allocations: 113.8 kB / 0.5583 GB, free: 8.898 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.005301, allocations: 25.83 kB / 0.5583 GB, free: 8.867 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.005349, allocations: 96.08 kB / 0.5584 GB, free: 8.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.005369, allocations: 11.89 kB / 0.5584 GB, free: 8.758 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.00539, allocations: 9.719 kB / 0.5584 GB, free: 8.742 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.561e-05/0.005476, allocations: 322.8 kB / 0.5587 GB, free: 8.418 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.483e-05/0.005501, allocations: 7.984 kB / 0.5587 GB, free: 8.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.005525, allocations: 12 kB / 0.5587 GB, free: 8.398 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.431e-05/0.005569, allocations: 20.84 kB / 0.5587 GB, free: 8.375 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.005573, allocations: 7.938 kB / 0.5588 GB, free: 8.367 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.463e-05/0.005647, allocations: 65.62 kB / 0.5588 GB, free: 8.297 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.005659, allocations: 4 kB / 0.5588 GB, free: 8.293 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.005664, allocations: 0 / 0.5588 GB, free: 8.293 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.005677, allocations: 3.984 kB / 0.5588 GB, free: 8.289 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.381e-05/0.005731, allocations: 4 kB / 0.5588 GB, free: 8.285 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.005738, allocations: 0 / 0.5588 GB, free: 8.285 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.582e-05/0.005754, allocations: 4 kB / 0.5588 GB, free: 8.281 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.00576, allocations: 3.984 kB / 0.5588 GB, free: 8.277 MB / 490.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.222e-05/0.005813, allocations: 117.8 kB / 0.5589 GB, free: 8.152 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.005823, allocations: 4.031 kB / 0.5589 GB, free: 8.148 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.544e-05/0.005839, allocations: 7.625 kB / 0.559 GB, free: 8.145 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005841, allocations: 0 / 0.559 GB, free: 8.145 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.4e-07/0.005842, allocations: 0 / 0.559 GB, free: 8.145 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.005847, allocations: 3.953 kB / 0.559 GB, free: 8.141 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-06/0.005856, allocations: 0 / 0.559 GB, free: 8.141 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.016e-05/0.005886, allocations: 7.984 kB / 0.559 GB, free: 8.133 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.005911, allocations: 3.938 kB / 0.559 GB, free: 8.129 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.752e-05/0.005999, allocations: 136.9 kB / 0.5591 GB, free: 7.988 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001021/0.006101, allocations: 218.9 kB / 0.5593 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.94e-05/0.00613, allocations: 15.98 kB / 0.5593 GB, free: 7.742 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.114e-05/0.006161, allocations: 91.27 kB / 0.5594 GB, free: 7.652 MB / 490.7 MB Notification: Performance of Backend: time 3.8e-07/0.006162, allocations: 0 / 0.5594 GB, free: 7.652 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.00643, allocations: 91.08 kB / 0.5595 GB, free: 7.559 MB / 490.7 MB Notification: Performance of SimCode: time 0.0003461/0.006777, allocations: 0.5885 MB / 0.5601 GB, free: 6.922 MB / 490.7 MB Notification: Performance of Templates: time 0.001875/0.008652, allocations: 481.8 kB / 0.5605 GB, free: 6.457 MB / 490.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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe 2>&1) [Timeout 1200] 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: 3.391339489258826]