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] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 81.69 kB / 19.27 MB, free: 0.582 MB / 13.93 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.001535/0.001535, allocations: 166 kB / 22.58 MB, free: 1.922 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 1.12/1.12, allocations: 177.1 MB / 202.9 MB, free: 5.695 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.7722/0.7722, allocations: 116 MB / 375.4 MB, free: 4.133 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: "" <> buildModelFMU(ThermofluidStream.Idealized.EnergyFlow.Tests.Sum,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_EnergyFlow_Tests_Sum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.EnergyFlow.Tests.Sum,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_EnergyFlow_Tests_Sum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5535 GB, free: 13.23 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.454e-05, allocations: 2.312 kB / 0.5535 GB, free: 13.23 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.Sum): time 0.002759/0.002784, allocations: 1.704 MB / 0.5551 GB, free: 11.51 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009518/0.003735, allocations: 490.7 kB / 0.5556 GB, free: 11.02 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.00393, allocations: 3.938 kB / 0.5556 GB, free: 11.02 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.004155, allocations: 11.86 kB / 0.5556 GB, free: 11.01 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.00427, allocations: 31.72 kB / 0.5557 GB, free: 10.98 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.00457, allocations: 47.88 kB / 0.5557 GB, free: 10.93 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.004728, allocations: 103.6 kB / 0.5558 GB, free: 10.83 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.004864, allocations: 23.84 kB / 0.5558 GB, free: 10.8 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.00502, allocations: 63.81 kB / 0.5559 GB, free: 10.74 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.00515, allocations: 43.81 kB / 0.5559 GB, free: 10.7 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.005171, allocations: 8 kB / 0.5559 GB, free: 10.69 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.707e-05/0.005218, allocations: 12 kB / 0.5559 GB, free: 10.68 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.005256, allocations: 23.91 kB / 0.556 GB, free: 10.66 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.005292, allocations: 27.94 kB / 0.556 GB, free: 10.63 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.005474, allocations: 95.61 kB / 0.5561 GB, free: 10.54 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.005481, allocations: 4 kB / 0.5561 GB, free: 10.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.005483, allocations: 0 / 0.5561 GB, free: 10.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.005495, allocations: 0 / 0.5561 GB, free: 10.53 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000536/0.006031, allocations: 329.8 kB / 0.5564 GB, free: 10.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.006082, allocations: 8.031 kB / 0.5564 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.006124, allocations: 42.73 kB / 0.5565 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.006289, allocations: 20.88 kB / 0.5565 GB, free: 10.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.006555, allocations: 133.7 kB / 0.5566 GB, free: 9.945 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.006565, allocations: 4.375 kB / 0.5566 GB, free: 9.941 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.006576, allocations: 12.31 kB / 0.5566 GB, free: 9.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.006792, allocations: 118.5 kB / 0.5567 GB, free: 9.801 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.006803, allocations: 4.188 kB / 0.5567 GB, free: 9.797 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.006814, allocations: 4.125 kB / 0.5567 GB, free: 9.793 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.006823, allocations: 0 / 0.5567 GB, free: 9.793 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.264e-05/0.006915, allocations: 59.91 kB / 0.5568 GB, free: 9.734 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006493/0.007565, allocations: 491.9 kB / 0.5573 GB, free: 9.203 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.914e-05/0.007664, allocations: 34.56 kB / 0.5573 GB, free: 9.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.007705, allocations: 20.92 kB / 0.5573 GB, free: 9.137 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.007719, allocations: 3.984 kB / 0.5573 GB, free: 9.133 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.007743, allocations: 34.5 kB / 0.5574 GB, free: 9.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.007745, allocations: 0 / 0.5574 GB, free: 9.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002109/0.007955, allocations: 69.56 kB / 0.5574 GB, free: 9.016 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.007989, allocations: 55.41 kB / 0.5575 GB, free: 8.949 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.008127, allocations: 183.3 kB / 0.5576 GB, free: 8.754 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.00814, allocations: 25.7 kB / 0.5577 GB, free: 8.723 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.008213, allocations: 116 kB / 0.5578 GB, free: 8.605 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.749e-06/0.008223, allocations: 3.953 kB / 0.5578 GB, free: 8.602 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.00825, allocations: 17.72 kB / 0.5578 GB, free: 8.578 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.008348, allocations: 322.8 kB / 0.5581 GB, free: 8.254 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.013e-05/0.008378, allocations: 11.98 kB / 0.5581 GB, free: 8.242 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.345e-05/0.008412, allocations: 34.5 kB / 0.5582 GB, free: 8.199 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.588e-05/0.008477, allocations: 46.56 kB / 0.5582 GB, free: 8.145 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.00848, allocations: 3.938 kB / 0.5582 GB, free: 8.141 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.685e-05/0.008577, allocations: 73.58 kB / 0.5583 GB, free: 8.062 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.008594, allocations: 7.984 kB / 0.5583 GB, free: 8.055 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.0086, allocations: 7.938 kB / 0.5583 GB, free: 8.047 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.008614, allocations: 0 / 0.5583 GB, free: 8.047 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.808e-05/0.008692, allocations: 11.94 kB / 0.5583 GB, free: 8.035 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.008707, allocations: 4.094 kB / 0.5583 GB, free: 8.031 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.663e-05/0.008744, allocations: 11.89 kB / 0.5583 GB, free: 8.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.008761, allocations: 3.984 kB / 0.5583 GB, free: 8.016 MB / 490.7 MB 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.000112/0.008873, allocations: 117.8 kB / 0.5584 GB, free: 7.891 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.008892, allocations: 7.953 kB / 0.5584 GB, free: 7.883 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/0.008934, allocations: 16.59 kB / 0.5585 GB, free: 7.871 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.008939, allocations: 3.984 kB / 0.5585 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.008948, allocations: 0 / 0.5585 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.008957, allocations: 0 / 0.5585 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.009122, allocations: 148.7 kB / 0.5586 GB, free: 7.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.009125, allocations: 8 kB / 0.5586 GB, free: 7.672 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.421e-05/0.009149, allocations: 4 kB / 0.5586 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.009151, allocations: 0 / 0.5586 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.009161, allocations: 7.922 kB / 0.5586 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.009161, allocations: 0 / 0.5586 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.009163, allocations: 4 kB / 0.5586 GB, free: 7.656 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.009276, allocations: 155.4 kB / 0.5588 GB, free: 7.488 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.009294, allocations: 15.94 kB / 0.5588 GB, free: 7.473 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.009309, allocations: 3.938 kB / 0.5588 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.447e-05/0.009344, allocations: 4.031 kB / 0.5588 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.009382, allocations: 4 kB / 0.5588 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.009386, allocations: 0 / 0.5588 GB, free: 7.461 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.561e-05/0.009461, allocations: 131.9 kB / 0.5589 GB, free: 7.332 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009461, allocations: 0 / 0.5589 GB, free: 7.332 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00015/0.009611, allocations: 12 kB / 0.5589 GB, free: 7.32 MB / 490.7 MB 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.000282/0.009893, allocations: 0.6851 MB / 0.5596 GB, free: 6.609 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.261e-05/0.009986, allocations: 32.02 kB / 0.5596 GB, free: 6.578 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.009987, allocations: 0 / 0.5596 GB, free: 6.578 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.227e-05/0.01001, allocations: 15.98 kB / 0.5596 GB, free: 6.562 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.01019, allocations: 12 kB / 0.5597 GB, free: 6.551 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.01138, allocations: 1.601 MB / 0.5612 GB, free: 4.852 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.84e-05/0.01144, allocations: 87.27 kB / 0.5613 GB, free: 4.75 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.082e-05/0.01148, allocations: 8.734 kB / 0.5613 GB, free: 4.742 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.151e-05/0.01156, allocations: 28.48 kB / 0.5613 GB, free: 4.711 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01156, allocations: 0 / 0.5613 GB, free: 4.711 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.03135, allocations: 2.83 MB / 0.5641 GB, free: 2.023 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.089, allocations: 10.47 kB / 0.5641 GB, free: 2.016 MB / 490.7 MB " [Timeout remaining time 652] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_EnergyFlow_Tests_Sum_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Idealized_EnergyFlow_Tests_Sum.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe 2>&1) [Timeout 1260.0] 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: 11.299644564278424]