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.001052/0.001052, 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.0008451/0.0008451, 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.8656/0.8656, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.631/0.631, allocations: 118.6 MB / 379 MB, free: 1.469 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.002e-06/1.002e-06, allocations: 0 / 483.7 MB, free: 8.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.318e-05/1.418e-05, allocations: 2.312 kB / 483.7 MB, free: 8.309 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource): time 0.001564/0.001578, allocations: 1.608 MB / 485.3 MB, free: 7.203 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005058/0.002084, allocations: 467.6 kB / 485.7 MB, free: 6.895 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.871e-05/0.002132, allocations: 1.469 kB / 485.7 MB, free: 6.895 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.002156, allocations: 7.875 kB / 485.7 MB, free: 6.887 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.761e-05/0.002194, allocations: 7.766 kB / 485.7 MB, free: 6.883 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.002356, allocations: 32.27 kB / 485.8 MB, free: 6.863 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.472e-05/0.00244, allocations: 52.92 kB / 485.8 MB, free: 6.836 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.036e-05/0.002511, allocations: 4.375 kB / 485.8 MB, free: 6.836 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.002614, allocations: 32.92 kB / 485.9 MB, free: 6.824 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.782e-05/0.002652, allocations: 16.95 kB / 485.9 MB, free: 6.816 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.002665, allocations: 6.625 kB / 485.9 MB, free: 6.812 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.484e-05/0.002699, allocations: 9.906 kB / 485.9 MB, free: 6.809 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.908e-06/0.002709, allocations: 8.703 kB / 485.9 MB, free: 6.805 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.926e-05/0.002729, allocations: 10.84 kB / 485.9 MB, free: 6.801 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.52e-05/0.002814, allocations: 54.56 kB / 486 MB, free: 6.773 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.002816, allocations: 0 / 486 MB, free: 6.773 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002816, allocations: 0.9375 kB / 486 MB, free: 6.773 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.975e-06/0.002819, allocations: 0 / 486 MB, free: 6.773 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.0002295/0.003049, allocations: 280.3 kB / 486.2 MB, free: 6.496 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.00308, allocations: 10.19 kB / 486.2 MB, free: 6.496 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.564e-05/0.003165, allocations: 21.53 kB / 486.3 MB, free: 6.488 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.921e-05/0.003264, allocations: 120 kB / 486.4 MB, free: 6.355 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-06/0.003272, allocations: 5.75 kB / 486.4 MB, free: 6.352 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.003279, allocations: 2.438 kB / 486.4 MB, free: 6.352 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.655e-05/0.003375, allocations: 91.48 kB / 486.5 MB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.003381, allocations: 1.438 kB / 486.5 MB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.003388, allocations: 384 / 486.5 MB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.003393, allocations: 5.125 kB / 486.5 MB, free: 6.266 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.542e-05/0.003448, allocations: 31.84 kB / 486.5 MB, free: 6.254 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.003773, allocations: 466.2 kB / 487 MB, free: 21.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.463e-05/0.003817, allocations: 35.19 kB / 487 MB, free: 21.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.003847, allocations: 14.27 kB / 487 MB, free: 21.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.003859, allocations: 1.562 kB / 487 MB, free: 21.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.014e-05/0.003869, allocations: 35.81 kB / 487.1 MB, free: 21.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.00387, allocations: 0 / 487.1 MB, free: 21.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001281/0.003998, allocations: 64.06 kB / 487.1 MB, free: 21.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-06/0.004006, allocations: 55.53 kB / 487.2 MB, free: 21.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.363e-05/0.00406, allocations: 117.3 kB / 487.3 MB, free: 21.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.489e-06/0.004064, allocations: 27.02 kB / 487.3 MB, free: 21.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.036e-05/0.004095, allocations: 93.39 kB / 487.4 MB, free: 21.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.051e-05/0.004105, allocations: 8.984 kB / 487.4 MB, free: 21.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/0.004123, allocations: 16.44 kB / 487.4 MB, free: 21.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.886e-05/0.004192, allocations: 315.5 kB / 487.7 MB, free: 21.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.004212, allocations: 9.781 kB / 487.8 MB, free: 21.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.707e-05/0.004229, allocations: 13.36 kB / 487.8 MB, free: 21.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.908e-05/0.004268, allocations: 26.91 kB / 487.8 MB, free: 21.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.004269, allocations: 5.406 kB / 487.8 MB, free: 21 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.428e-05/0.004324, allocations: 51.44 kB / 487.8 MB, free: 20.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.004333, allocations: 5.969 kB / 487.9 MB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.004337, allocations: 0 / 487.9 MB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.725e-06/0.004344, allocations: 0 / 487.9 MB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.756e-05/0.004382, allocations: 5 kB / 487.9 MB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.004385, allocations: 3.234 kB / 487.9 MB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.553e-05/0.004401, allocations: 5.594 kB / 487.9 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.004405, allocations: 1.531 kB / 487.9 MB, free: 20.96 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 4.029e-05/0.004445, allocations: 120.8 kB / 488 MB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.004459, allocations: 5.516 kB / 488 MB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.311e-05/0.004472, allocations: 13.38 kB / 488 MB, free: 20.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.004474, allocations: 3.984 kB / 488 MB, free: 20.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.004475, allocations: 0 / 488 MB, free: 20.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-06/0.00448, allocations: 2.531 kB / 488 MB, free: 20.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-06/0.004488, allocations: 0 / 488 MB, free: 20.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.161e-05/0.004519, allocations: 5.719 kB / 488 MB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/0.004537, allocations: 12.44 kB / 488 MB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.224e-05/0.004609, allocations: 127.2 kB / 488.2 MB, free: 20.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.1e-05/0.0047, allocations: 229.2 kB / 488.4 MB, free: 20.49 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.63e-05/0.004727, allocations: 8.719 kB / 488.4 MB, free: 20.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.394e-05/0.004761, allocations: 91.08 kB / 488.5 MB, free: 20.41 MB / 426.7 MB Notification: Performance of Backend: time 2.2e-07/0.004761, allocations: 0 / 488.5 MB, free: 20.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002524/0.005013, allocations: 93.08 kB / 488.6 MB, free: 20.34 MB / 426.7 MB Notification: Performance of SimCode: time 0.0003064/0.00532, allocations: 0.5872 MB / 489.2 MB, free: 19.73 MB / 426.7 MB Notification: Performance of Templates: time 0.002034/0.007353, allocations: 496.1 kB / 489.6 MB, free: 19.66 MB / 426.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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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_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.140913295035716]