Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency.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.0007231/0.0007231, allocations: 80.25 kB / 20.04 MB, free: 4.488 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.0007611/0.0007611, allocations: 174.3 kB / 23.34 MB, free: 1.184 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.8671/0.8671, allocations: 177.1 MB / 203.7 MB, free: 5.672 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.6768/0.6768, allocations: 116 MB / 376.1 MB, free: 4.164 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.FixedTransferEfficiency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|sawTooth.T_start|sawTooth.amplitude|sawTooth.count|sawTooth.nperiod|sawTooth.offset|sawTooth.period|sawTooth.startTime|sawTooth.y|sawTooth1.T_start|sawTooth1.amplitude|sawTooth1.count|sawTooth1.nperiod|sawTooth1.offset|sawTooth1.period|sawTooth1.startTime|sawTooth1.y|transfer.E_flow_dissipation|transfer.E_flow_in|transfer.E_flow_out|transfer.direction|transfer.eta|transfer1.E_flow_dissipation|transfer1.E_flow_dissipation_out|transfer1.E_flow_in|transfer1.E_flow_out|transfer1.direction|transfer1.eta|transfer2.E_flow_dissipation|transfer2.E_flow_dissipation_out|transfer2.E_flow_in|transfer2.E_flow_out|transfer2.direction|transfer2.eta",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency") translateModel(ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|sawTooth.T_start|sawTooth.amplitude|sawTooth.count|sawTooth.nperiod|sawTooth.offset|sawTooth.period|sawTooth.startTime|sawTooth.y|sawTooth1.T_start|sawTooth1.amplitude|sawTooth1.count|sawTooth1.nperiod|sawTooth1.offset|sawTooth1.period|sawTooth1.startTime|sawTooth1.y|transfer.E_flow_dissipation|transfer.E_flow_in|transfer.E_flow_out|transfer.direction|transfer.eta|transfer1.E_flow_dissipation|transfer1.E_flow_dissipation_out|transfer1.E_flow_in|transfer1.E_flow_out|transfer1.direction|transfer1.eta|transfer2.E_flow_dissipation|transfer2.E_flow_dissipation_out|transfer2.E_flow_in|transfer2.E_flow_out|transfer2.direction|transfer2.eta",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 0.5547 GB, free: 12.76 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.344e-05/3.589e-05, allocations: 10.25 kB / 0.5547 GB, free: 12.75 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency): time 0.002099/0.002135, allocations: 1.679 MB / 0.5564 GB, free: 11.06 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007677/0.002903, allocations: 0.5182 MB / 0.5569 GB, free: 10.54 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.623e-05/0.002979, allocations: 0 / 0.5569 GB, free: 10.54 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.411e-05/0.003073, allocations: 19.8 kB / 0.5569 GB, free: 10.52 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.003201, allocations: 27.72 kB / 0.5569 GB, free: 10.49 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.003351, allocations: 59.86 kB / 0.557 GB, free: 10.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.003557, allocations: 167.5 kB / 0.5571 GB, free: 10.27 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.003671, allocations: 13.31 kB / 0.5571 GB, free: 10.25 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.003781, allocations: 91.78 kB / 0.5572 GB, free: 10.16 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.67e-05/0.003878, allocations: 47.86 kB / 0.5573 GB, free: 10.12 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.003907, allocations: 15.94 kB / 0.5573 GB, free: 10.1 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.127e-05/0.003928, allocations: 12 kB / 0.5573 GB, free: 10.09 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.889e-05/0.003967, allocations: 27.89 kB / 0.5573 GB, free: 10.06 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.847e-05/0.004025, allocations: 35.86 kB / 0.5574 GB, free: 10.03 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.004202, allocations: 131.6 kB / 0.5575 GB, free: 9.898 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004204, allocations: 0 / 0.5575 GB, free: 9.898 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004205, allocations: 0 / 0.5575 GB, free: 9.898 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.004214, allocations: 4 kB / 0.5575 GB, free: 9.895 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006335/0.004847, allocations: 425.1 kB / 0.5579 GB, free: 9.438 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.004887, allocations: 8.031 kB / 0.5579 GB, free: 9.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.004938, allocations: 16.84 kB / 0.5579 GB, free: 9.414 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.005136, allocations: 157.6 kB / 0.5581 GB, free: 9.234 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.005247, allocations: 170.8 kB / 0.5582 GB, free: 9.031 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.005263, allocations: 8.375 kB / 0.5582 GB, free: 9.023 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.00552, allocations: 166 kB / 0.5584 GB, free: 8.844 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.005529, allocations: 192 / 0.5584 GB, free: 8.844 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.005545, allocations: 8.125 kB / 0.5584 GB, free: 8.836 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.005552, allocations: 7.984 kB / 0.5584 GB, free: 8.828 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.005735, allocations: 103.8 kB / 0.5585 GB, free: 8.727 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.006332, allocations: 0.5058 MB / 0.559 GB, free: 8.168 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.006578, allocations: 125.2 kB / 0.5591 GB, free: 8.027 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.427e-05/0.006672, allocations: 49.62 kB / 0.5592 GB, free: 7.973 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.006697, allocations: 8 kB / 0.5592 GB, free: 7.965 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.006942, allocations: 162.7 kB / 0.5593 GB, free: 7.781 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.006943, allocations: 0 / 0.5593 GB, free: 7.781 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005939/0.007537, allocations: 189.5 kB / 0.5595 GB, free: 7.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.00757, allocations: 77.11 kB / 0.5596 GB, free: 7.496 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.257e-05/0.007663, allocations: 148.7 kB / 0.5597 GB, free: 7.344 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.007683, allocations: 29.7 kB / 0.5598 GB, free: 7.309 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.007745, allocations: 112 kB / 0.5599 GB, free: 7.195 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.007766, allocations: 35.78 kB / 0.5599 GB, free: 7.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.007813, allocations: 37.69 kB / 0.5599 GB, free: 7.117 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.49e-05/0.007888, allocations: 330.8 kB / 0.5603 GB, free: 6.785 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.007998, allocations: 99.38 kB / 0.5603 GB, free: 6.676 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.008122, allocations: 156.4 kB / 0.5605 GB, free: 6.492 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.00831, allocations: 188.4 kB / 0.5607 GB, free: 6.277 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.008312, allocations: 0 / 0.5607 GB, free: 6.277 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003234/0.008636, allocations: 312.4 kB / 0.561 GB, free: 5.941 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/0.008682, allocations: 63.44 kB / 0.561 GB, free: 5.867 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.008688, allocations: 0 / 0.561 GB, free: 5.867 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.008702, allocations: 4 kB / 0.561 GB, free: 5.863 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.76e-05/0.0088, allocations: 27.91 kB / 0.5611 GB, free: 5.836 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.008809, allocations: 4.109 kB / 0.5611 GB, free: 5.832 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.221e-05/0.008891, allocations: 31.81 kB / 0.5611 GB, free: 5.801 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.008902, allocations: 4 kB / 0.5611 GB, free: 5.797 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 (sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition2,sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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 9.352e-05/0.008995, allocations: 129.7 kB / 0.5612 GB, free: 5.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.009015, allocations: 15.95 kB / 0.5612 GB, free: 5.645 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.009056, allocations: 20.77 kB / 0.5613 GB, free: 5.625 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.00906, allocations: 0 / 0.5613 GB, free: 5.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.009061, allocations: 0 / 0.5613 GB, free: 5.625 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.009075, allocations: 7.953 kB / 0.5613 GB, free: 5.617 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.0091, allocations: 11.92 kB / 0.5613 GB, free: 5.605 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.418e-05/0.009154, allocations: 15.98 kB / 0.5613 GB, free: 5.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.009213, allocations: 15.97 kB / 0.5613 GB, free: 5.574 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002615/0.009475, allocations: 312.6 kB / 0.5616 GB, free: 5.262 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002503/0.009725, allocations: 394 kB / 0.562 GB, free: 4.859 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.217e-05/0.009817, allocations: 51.95 kB / 0.562 GB, free: 4.809 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.134e-05/0.009868, allocations: 109.8 kB / 0.5621 GB, free: 4.703 MB / 490.7 MB Notification: Performance of Backend: time 6.61e-07/0.009869, allocations: 0 / 0.5621 GB, free: 4.703 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004806/0.01035, allocations: 325.4 kB / 0.5624 GB, free: 4.34 MB / 490.7 MB Notification: Performance of SimCode: time 0.0005179/0.01087, allocations: 0.6676 MB / 0.5631 GB, free: 3.621 MB / 490.7 MB Notification: Performance of Templates: time 0.00369/0.01456, allocations: 2.211 MB / 0.5653 GB, free: 1.453 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency.sim & ./ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency.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.FixedTransferEfficiency_res.mat. Warning: Get data of variable CPUtime from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat failed! Error: Could not read variable EventCounter in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat. Warning: Get data of variable EventCounter from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat failed! Error: Could not read variable _derdummy in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat. Warning: Get data of variable _derdummy from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat failed! Error: Could not read variable _dummy in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat. Warning: Get data of variable _dummy from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4882081486284733]