Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.0008058/0.0008058, allocations: 90.56 kB / 20.21 MB, free: 4.055 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.0008278/0.0008278, allocations: 169.3 kB / 23.54 MB, free: 0.7344 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.8704/0.8704, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.6222/0.6222, allocations: 118.6 MB / 379 MB, free: 1.484 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.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_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_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.92e-07/9.92e-07, allocations: 0 / 483.7 MB, free: 8.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.361e-05/1.46e-05, allocations: 2.312 kB / 483.7 MB, free: 8.293 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency): time 0.001583/0.001597, allocations: 1.666 MB / 485.3 MB, free: 7.148 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006109/0.002208, allocations: 0.5225 MB / 485.9 MB, free: 6.793 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.017e-05/0.002278, allocations: 2.25 kB / 485.9 MB, free: 6.793 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.332e-05/0.002362, allocations: 18.89 kB / 485.9 MB, free: 6.777 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.002476, allocations: 31.42 kB / 485.9 MB, free: 6.754 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.002598, allocations: 56.95 kB / 486 MB, free: 6.727 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.002767, allocations: 169.1 kB / 486.1 MB, free: 6.645 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.878e-05/0.002856, allocations: 14.3 kB / 486.1 MB, free: 6.641 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.131e-05/0.002947, allocations: 88.47 kB / 486.2 MB, free: 6.605 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.52e-05/0.003032, allocations: 50.8 kB / 486.3 MB, free: 6.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.003056, allocations: 15 kB / 486.3 MB, free: 6.586 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.611e-05/0.003072, allocations: 14.25 kB / 486.3 MB, free: 6.582 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.619e-05/0.003099, allocations: 23.02 kB / 486.3 MB, free: 6.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.003143, allocations: 44.06 kB / 486.4 MB, free: 6.547 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.003266, allocations: 125.6 kB / 486.5 MB, free: 6.496 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003268, allocations: 1.312 kB / 486.5 MB, free: 6.496 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.003269, allocations: 3.328 kB / 486.5 MB, free: 6.496 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.003272, allocations: 0 / 486.5 MB, free: 6.496 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005196/0.003792, allocations: 416.1 kB / 486.9 MB, free: 22.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.00383, allocations: 8.25 kB / 486.9 MB, free: 22.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.48e-05/0.003894, allocations: 28.02 kB / 486.9 MB, free: 22.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.004067, allocations: 158.4 kB / 487.1 MB, free: 21.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.176e-05/0.004138, allocations: 171.6 kB / 487.3 MB, free: 21.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.004156, allocations: 15.23 kB / 487.3 MB, free: 21.76 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.00437, allocations: 160.6 kB / 487.4 MB, free: 21.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.004379, allocations: 1.562 kB / 487.4 MB, free: 21.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.004394, allocations: 5.5 kB / 487.4 MB, free: 21.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.004398, allocations: 1.375 kB / 487.4 MB, free: 21.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.004568, allocations: 110.1 kB / 487.6 MB, free: 21.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.005042, allocations: 0.5056 MB / 488.1 MB, free: 21.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.005228, allocations: 118.9 kB / 488.2 MB, free: 21.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.451e-05/0.005303, allocations: 52.34 kB / 488.2 MB, free: 21.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.005319, allocations: 6.688 kB / 488.2 MB, free: 21.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.005486, allocations: 161.4 kB / 488.4 MB, free: 20.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.163e-06/0.005488, allocations: 0 / 488.4 MB, free: 20.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003356/0.005823, allocations: 188.2 kB / 488.6 MB, free: 20.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.00585, allocations: 83.95 kB / 488.7 MB, free: 20.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.005925, allocations: 138.8 kB / 488.8 MB, free: 20.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.00594, allocations: 31.27 kB / 488.8 MB, free: 20.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.005989, allocations: 117.2 kB / 488.9 MB, free: 20.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.006005, allocations: 31.61 kB / 489 MB, free: 20.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.006047, allocations: 45.39 kB / 489 MB, free: 20.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.226e-05/0.006119, allocations: 326.8 kB / 489.3 MB, free: 20.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.006223, allocations: 112.8 kB / 489.4 MB, free: 20.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.006325, allocations: 146 kB / 489.6 MB, free: 19.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.006492, allocations: 196.4 kB / 489.8 MB, free: 19.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.006495, allocations: 0 / 489.8 MB, free: 19.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002749/0.006769, allocations: 308.2 kB / 490.1 MB, free: 19.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.006802, allocations: 61.12 kB / 490.1 MB, free: 19.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.006807, allocations: 1.375 kB / 490.1 MB, free: 19.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.006819, allocations: 2.781 kB / 490.1 MB, free: 19.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.557e-05/0.006905, allocations: 33.55 kB / 490.2 MB, free: 19.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.006911, allocations: 2.688 kB / 490.2 MB, free: 19.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.408e-05/0.006985, allocations: 27.22 kB / 490.2 MB, free: 19.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.006997, allocations: 8.156 kB / 490.2 MB, free: 19.51 MB / 426.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 6.769e-05/0.007065, allocations: 130.8 kB / 490.3 MB, free: 19.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.007084, allocations: 24.28 kB / 490.4 MB, free: 19.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.007111, allocations: 18.47 kB / 490.4 MB, free: 19.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.007115, allocations: 1.594 kB / 490.4 MB, free: 19.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.007117, allocations: 0 / 490.4 MB, free: 19.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.198e-05/0.007128, allocations: 11.42 kB / 490.4 MB, free: 19.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.007145, allocations: 9.594 kB / 490.4 MB, free: 19.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.976e-05/0.007195, allocations: 15.44 kB / 490.4 MB, free: 19.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.007247, allocations: 20.48 kB / 490.4 MB, free: 19.33 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002234/0.00747, allocations: 301.1 kB / 490.7 MB, free: 19.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002362/0.007706, allocations: 405.4 kB / 491.1 MB, free: 18.8 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.337e-05/0.0078, allocations: 57.94 kB / 491.2 MB, free: 18.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.32e-05/0.007843, allocations: 111.1 kB / 491.3 MB, free: 18.7 MB / 426.7 MB Notification: Performance of Backend: time 3.21e-07/0.007843, allocations: 1.281 kB / 491.3 MB, free: 18.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000414/0.008257, allocations: 323.9 kB / 491.6 MB, free: 18.42 MB / 426.7 MB Notification: Performance of SimCode: time 0.0004273/0.008685, allocations: 0.6597 MB / 492.3 MB, free: 17.79 MB / 426.7 MB Notification: Performance of Templates: time 0.003339/0.01202, allocations: 2.241 MB / 494.5 MB, free: 17.56 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency.sim & ./ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat. Warning: Get data of variable CPUtime from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat failed! Error: Could not read variable EventCounter in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat. Warning: Get data of variable EventCounter from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat failed! Error: Could not read variable _derdummy in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat. Warning: Get data of variable _derdummy from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat failed! Error: Could not read variable _dummy in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat. Warning: Get data of variable _dummy from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.13286979298573]