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.001945/0.001945, allocations: 92.7 kB / 19.43 MB, free: 336 kB / 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.002433/0.002433, allocations: 161.3 kB / 22.75 MB, free: 1.66 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.503/1.503, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.061/1.061, allocations: 118.6 MB / 378.2 MB, free: 1.488 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 2.094e-06/2.094e-06, allocations: 1.406 kB / 482.9 MB, free: 8.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.868e-05, allocations: 5.406 kB / 482.9 MB, free: 8.309 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource): time 0.002328/0.002357, allocations: 1.607 MB / 484.5 MB, free: 7.199 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007691/0.003126, allocations: 459.8 kB / 484.9 MB, free: 6.895 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.246e-05/0.003198, allocations: 1.281 kB / 484.9 MB, free: 6.895 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.003229, allocations: 6.891 kB / 484.9 MB, free: 6.891 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.792e-05/0.003297, allocations: 13.94 kB / 485 MB, free: 6.879 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.003565, allocations: 35.52 kB / 485 MB, free: 6.859 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.003695, allocations: 41.98 kB / 485 MB, free: 6.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.0038, allocations: 9.844 kB / 485 MB, free: 6.836 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.003962, allocations: 40.44 kB / 485.1 MB, free: 6.816 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.345e-05/0.004015, allocations: 12.47 kB / 485.1 MB, free: 6.816 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.004032, allocations: 2.344 kB / 485.1 MB, free: 6.816 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.289e-05/0.004075, allocations: 9.531 kB / 485.1 MB, free: 6.812 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.004087, allocations: 6 kB / 485.1 MB, free: 6.809 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.004111, allocations: 12.92 kB / 485.1 MB, free: 6.805 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.004231, allocations: 59.16 kB / 485.2 MB, free: 6.773 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.004234, allocations: 0.9375 kB / 485.2 MB, free: 6.773 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004235, allocations: 0 / 485.2 MB, free: 6.773 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.00424, allocations: 0 / 485.2 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.0003808/0.00462, allocations: 276.6 kB / 485.4 MB, free: 6.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.004656, allocations: 9.531 kB / 485.5 MB, free: 6.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.004807, allocations: 22.67 kB / 485.5 MB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.004984, allocations: 120.5 kB / 485.6 MB, free: 6.355 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.004999, allocations: 16.22 kB / 485.6 MB, free: 6.344 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.005014, allocations: 3.156 kB / 485.6 MB, free: 6.344 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.005169, allocations: 84.48 kB / 485.7 MB, free: 6.266 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.005179, allocations: 192 / 485.7 MB, free: 6.266 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.00519, allocations: 5.531 kB / 485.7 MB, free: 6.262 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.005196, allocations: 5.25 kB / 485.7 MB, free: 6.258 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.0053, allocations: 30.02 kB / 485.7 MB, free: 6.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006329/0.005933, allocations: 461.2 kB / 486.2 MB, free: 21.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.245e-05/0.006026, allocations: 38.44 kB / 486.2 MB, free: 21.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.662e-05/0.006072, allocations: 18.64 kB / 486.2 MB, free: 21.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.006091, allocations: 1.312 kB / 486.2 MB, free: 21.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.006107, allocations: 31.88 kB / 486.3 MB, free: 21.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.006108, allocations: 0 / 486.3 MB, free: 21.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002479/0.006356, allocations: 61.39 kB / 486.3 MB, free: 21.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.006385, allocations: 54.73 kB / 486.4 MB, free: 21.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.006491, allocations: 118.1 kB / 486.5 MB, free: 21.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.0065, allocations: 25.7 kB / 486.5 MB, free: 21.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.006563, allocations: 95.22 kB / 486.6 MB, free: 21.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.006577, allocations: 12.02 kB / 486.6 MB, free: 21.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.006605, allocations: 16.34 kB / 486.7 MB, free: 21.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.006776, allocations: 315.8 kB / 487 MB, free: 21.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.945e-05/0.006816, allocations: 10 kB / 487 MB, free: 21.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.026e-05/0.006846, allocations: 8.906 kB / 487 MB, free: 21.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.953e-05/0.006915, allocations: 28.05 kB / 487 MB, free: 21.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.006917, allocations: 0 / 487 MB, free: 21.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000102/0.007019, allocations: 59.95 kB / 487.1 MB, free: 20.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.007033, allocations: 5.469 kB / 487.1 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.007037, allocations: 0 / 487.1 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.00705, allocations: 0 / 487.1 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.00712, allocations: 6.625 kB / 487.1 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.007126, allocations: 1.438 kB / 487.1 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.279e-05/0.007159, allocations: 1.469 kB / 487.1 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.007173, allocations: 4 kB / 487.1 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 8.121e-05/0.007254, allocations: 117.8 kB / 487.2 MB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.007281, allocations: 9.141 kB / 487.2 MB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.761e-05/0.007299, allocations: 12.97 kB / 487.2 MB, free: 20.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.0073, allocations: 3.984 kB / 487.2 MB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.007305, allocations: 1.344 kB / 487.2 MB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.007307, allocations: 0 / 487.2 MB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.007417, allocations: 116.4 kB / 487.3 MB, free: 20.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007419, allocations: 3.234 kB / 487.3 MB, free: 20.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.007461, allocations: 3.938 kB / 487.3 MB, free: 20.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.007462, allocations: 1.344 kB / 487.3 MB, free: 20.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.007468, allocations: 0 / 487.3 MB, free: 20.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.00747, allocations: 1.562 kB / 487.4 MB, free: 20.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.00747, allocations: 0 / 487.4 MB, free: 20.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.007645, allocations: 156.1 kB / 487.5 MB, free: 20.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.007655, allocations: 9.609 kB / 487.5 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.007668, allocations: 1.562 kB / 487.5 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.386e-05/0.007731, allocations: 4.766 kB / 487.5 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.007761, allocations: 0 / 487.5 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.007764, allocations: 1.594 kB / 487.5 MB, free: 20.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.325e-05/0.007827, allocations: 90.95 kB / 487.6 MB, free: 20.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.007827, allocations: 0 / 487.6 MB, free: 20.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002254/0.008052, allocations: 6.781 kB / 487.6 MB, free: 20.46 MB / 426.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.0001104/0.008163, allocations: 99.16 kB / 487.7 MB, free: 20.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.008291, allocations: 28.7 kB / 487.7 MB, free: 20.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.008292, allocations: 0 / 487.7 MB, free: 20.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.901e-05/0.008331, allocations: 6.969 kB / 487.7 MB, free: 20.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.008556, allocations: 16.28 kB / 487.8 MB, free: 20.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.008837, allocations: 134.9 kB / 487.9 MB, free: 20.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.563e-05/0.008893, allocations: 72.31 kB / 488 MB, free: 20.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.598e-05/0.008919, allocations: 1.531 kB / 488 MB, free: 20.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.008943, allocations: 9.875 kB / 488 MB, free: 20.14 MB / 426.7 MB Notification: Performance of SimCode: time 2.81e-07/0.008943, allocations: 0 / 488 MB, free: 20.14 MB / 426.7 MB Notification: Performance of Templates: time 0.002504/0.01145, allocations: 334.3 kB / 488.3 MB, free: 20.09 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: 5.5587563589797355]