Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00036/0.00036, allocations: 0 / 0, free: 0 / 0 " [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.000506/0.000506, allocations: 0 / 0, free: 0 / 0 " [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.4201/0.4201, allocations: 0 / 0, free: 0 / 0 " [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.2666/0.2666, allocations: 0 / 0, free: 0 / 0 " [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: simulate(ThermofluidStream.Idealized.EnergyFlow.Tests.Sum,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=100,outputFormat="mat",variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|const.k|const.y|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|energyFlowSource4.E_flow|energyFlowSource4.E_flow_out|energyFlowSource5.E_flow|energyFlowSource5.E_flow_out|sine.amplitude|sine.continuous|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|sum1.E_flow_in.1.|sum1.E_flow_in.2.|sum1.E_flow_out|sum2.E_flow_in.1.|sum2.E_flow_in.2.|sum2.E_flow_out|sum3.E_flow_in.1.|sum3.E_flow_in.2.|sum3.E_flow_out",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum",simflags="-alarm=1200 -emit_protected -lv LOG_STATS") simulate(ThermofluidStream.Idealized.EnergyFlow.Tests.Sum,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=100,outputFormat="mat",variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|const.k|const.y|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|energyFlowSource4.E_flow|energyFlowSource4.E_flow_out|energyFlowSource5.E_flow|energyFlowSource5.E_flow_out|sine.amplitude|sine.continuous|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|sum1.E_flow_in.1.|sum1.E_flow_in.2.|sum1.E_flow_out|sum2.E_flow_in.1.|sum2.E_flow_in.2.|sum2.E_flow_out|sum3.E_flow_in.1.|sum3.E_flow_in.2.|sum3.E_flow_out",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum",simflags="-alarm=1200 -emit_protected -lv LOG_STATS") [Timeout 1860] "Notification: Performance of FrontEnd - loaded program: time 8.72e-07/8.72e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 4.039e-05/4.126e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.Sum): time 0.004975/0.005017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.00162/0.006636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.00676, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.006939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.007144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.007452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0002387/0.007691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.007847, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0002893/0.008137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.008301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.008331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 6.947e-05/0.008401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.008468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.008569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.000313/0.008882, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 2.592e-05/0.008908, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.124e-06/0.00891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 9.277e-06/0.00892, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001044/0.009964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.842e-05/0.01004, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004124/0.01045, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.01088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.0109, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.01094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/0.01149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.0115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.01154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.01154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.01188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.01342, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.01357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.01367, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.01369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.01372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=2): time 4.43e-05/0.01377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2): time 0.0004988/0.01426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.01431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.01459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.01461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.01471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.01474, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.01487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003457/0.01521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 8.803e-05/0.0153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.01541, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.01561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004477/0.01606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.01609, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.01609, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.01611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.01621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.01622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.02e-05/0.01631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.01633, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0002075/0.01654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.01668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.612e-05/0.01674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.01674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.01675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.01675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007808/0.01754, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.01754, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.859e-05/0.01762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.01762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.01764, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.01765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.01765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.01811, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 8.852e-05/0.0182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.585e-05/0.01829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.01844, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.0185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.01851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001718/0.01868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 5.741e-06/0.01869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001037/0.01973, allocations: 0 / 0, free: 0 / 0 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.0001638/0.01989, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0002565/0.02015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.02015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 8.562e-05/0.02024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.02159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007328/0.02233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.02251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 6.811e-05/0.02258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.02268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0002744/0.02296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001079/0.02404, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1860] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.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.Sum_res.mat. Warning: Get data of variable CPUtime from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat failed! Error: Could not read variable EventCounter in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat. Warning: Get data of variable EventCounter from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat failed! Error: Could not read variable _derdummy in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat. Warning: Get data of variable _derdummy from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat failed! Error: Could not read variable _dummy in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat. Warning: Get data of variable _dummy from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 1.687983947000248]