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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003171/0.0003171, 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.0002383/0.0002383, 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.1594/0.1594, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.07502/0.07502, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/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.EnergyFlowSource,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=100,outputFormat="mat",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",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=100,outputFormat="mat",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",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 5.81e-07/5.81e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.631e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource): time 0.001237/0.001253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0005994/0.001853, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.001885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 2.203e-05/0.001907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 3.207e-05/0.001939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 8.613e-05/0.002025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 5.457e-05/0.00208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 3.584e-05/0.002115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 8.458e-05/0.0022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 2.124e-05/0.002221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 9.288e-06/0.002231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 2.354e-05/0.002254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.002265, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 1.172e-05/0.002277, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 5.33e-05/0.00233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.002337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 5.71e-07/0.002338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 4.719e-06/0.002342, 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002542/0.002596, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.002638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 8.958e-05/0.002728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.002829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.002839, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.00285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 9.447e-05/0.002944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.002951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.002965, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-06/0.002966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 2.46e-05/0.002991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.003184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 3.282e-05/0.003217, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 1.192e-05/0.003229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.003238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.517e-06/0.003247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=2): time 1.914e-06/0.003249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2): time 7.235e-05/0.003321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 1.535e-05/0.003337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.418e-05/0.003361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.003373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 1.024e-05/0.003383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 9.799e-06/0.003393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/0.003411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.014e-05/0.003421, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-06/0.003426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-06/0.00343, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 1.359e-05/0.003444, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.003445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2) (initialization): time 2.667e-05/0.003471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.003479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.003482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.003495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.926e-05/0.003534, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.003536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.405e-05/0.00355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.003558, allocations: 0 / 0, free: 0 / 0 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 2.935e-05/0.003587, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.003601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.683e-05/0.003618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.003619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.003623, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.003625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.003757, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.003758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.592e-05/0.003774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.003775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.003782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.003783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.003784, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 4.385e-05/0.003828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.003837, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.003862, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.527e-05/0.003887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/0.003908, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.003911, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 1.039e-05/0.003921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.222e-06/0.003922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0001355/0.004058, 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 5.741e-05/0.004115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 6.13e-05/0.004176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.004179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 9.929e-06/0.004189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.004385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002428/0.004628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 2.108e-05/0.004649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 1.479e-05/0.004664, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.004697, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 9.287e-06/0.004706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0005957/0.005302, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_ref.mat","",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: 0.7877325061708689]