Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001753/0.001753, allocations: 111.1 kB / 20.44 MB, free: 1.199 MB / 14.72 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.002049/0.002049, allocations: 208.2 kB / 23.72 MB, free: 4.41 MB / 14.72 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.568/1.568, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2403/0.2403, allocations: 44.94 MB / 358.8 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 67.91 kB / 0.4931 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3545, allocations: 65.48 MB / 0.557 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.004192/0.3587, allocations: 1.706 MB / 0.5587 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.3608, allocations: 0.9666 MB / 0.5597 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.3609, allocations: 3.938 kB / 0.5597 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.3612, allocations: 43.83 kB / 0.5597 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003992/0.3616, allocations: 103.5 kB / 0.5598 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.3619, allocations: 79.67 kB / 0.5599 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.3621, allocations: 103.7 kB / 0.56 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3622, allocations: 9.828 kB / 0.56 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.314e-05/0.3623, allocations: 39.8 kB / 0.56 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.3624, allocations: 35.83 kB / 0.5601 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.3624, allocations: 7.938 kB / 0.5601 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.3626, allocations: 43.98 kB / 0.5601 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.2e-05/0.3626, allocations: 19.92 kB / 0.5601 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.294e-05/0.3627, allocations: 31.73 kB / 0.5602 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.3629, allocations: 127.5 kB / 0.5603 GB, free: 4.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3629, allocations: 0 / 0.5603 GB, free: 4.199 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3629, allocations: 0 / 0.5603 GB, free: 4.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3629, allocations: 4 kB / 0.5603 GB, free: 4.195 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006207/0.3636, allocations: 355.9 kB / 0.5606 GB, free: 3.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.3636, allocations: 8.031 kB / 0.5606 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.3636, allocations: 34.69 kB / 0.5607 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.3637, allocations: 16.89 kB / 0.5607 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.364, allocations: 158.2 kB / 0.5608 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.364, allocations: 384 / 0.5608 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.3641, allocations: 3.938 kB / 0.5608 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.3642, allocations: 57.67 kB / 0.5609 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3643, allocations: 0 / 0.5609 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.3643, allocations: 0 / 0.5609 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3643, allocations: 3.984 kB / 0.5609 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.238e-05/0.3644, allocations: 31.92 kB / 0.5609 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.3648, allocations: 259.9 kB / 0.5612 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.365, allocations: 58.67 kB / 0.5612 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.3651, allocations: 16.86 kB / 0.5612 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.3651, allocations: 4 kB / 0.5612 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.3653, allocations: 71.31 kB / 0.5613 GB, free: 3.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.3653, allocations: 0 / 0.5613 GB, free: 3.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006068/0.3659, allocations: 185.3 kB / 0.5615 GB, free: 2.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.3659, allocations: 55.41 kB / 0.5615 GB, free: 2.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.3662, allocations: 222.6 kB / 0.5617 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.3662, allocations: 29.7 kB / 0.5618 GB, free: 2.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.01e-05/0.3663, allocations: 112.1 kB / 0.5619 GB, free: 2.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.3663, allocations: 23.84 kB / 0.5619 GB, free: 2.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.3663, allocations: 17.72 kB / 0.5619 GB, free: 2.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3665, allocations: 326.8 kB / 0.5622 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-05/0.3666, allocations: 19.98 kB / 0.5623 GB, free: 1.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-05/0.3666, allocations: 37.7 kB / 0.5623 GB, free: 1.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.3668, allocations: 69.7 kB / 0.5624 GB, free: 1.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3668, allocations: 0 / 0.5624 GB, free: 1.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000219/0.367, allocations: 113.6 kB / 0.5625 GB, free: 1.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.367, allocations: 4 kB / 0.5625 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.367, allocations: 0 / 0.5625 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.367, allocations: 7.938 kB / 0.5625 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.084e-05/0.3671, allocations: 12 kB / 0.5625 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.3671, allocations: 3.984 kB / 0.5625 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.282e-05/0.3672, allocations: 11.88 kB / 0.5625 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3672, allocations: 0 / 0.5625 GB, free: 1.703 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001373/0.3673, allocations: 134 kB / 0.5626 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.3674, allocations: 19.88 kB / 0.5627 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.3676, allocations: 126.9 kB / 0.5628 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3676, allocations: 0 / 0.5628 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3676, allocations: 0 / 0.5628 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3676, allocations: 3.938 kB / 0.5628 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004902/0.3681, allocations: 370.4 kB / 0.5631 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3681, allocations: 4.375 kB / 0.5631 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.3682, allocations: 11.98 kB / 0.5631 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3682, allocations: 7.875 kB / 0.5632 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3682, allocations: 4 kB / 0.5632 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.3682, allocations: 8.031 kB / 0.5632 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3682, allocations: 0 / 0.5632 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.3685, allocations: 216.2 kB / 0.5634 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.17e-05/0.3685, allocations: 7.953 kB / 0.5634 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.3685, allocations: 7.922 kB / 0.5634 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.3686, allocations: 8 kB / 0.5634 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.3686, allocations: 7.984 kB / 0.5634 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.3686, allocations: 0 / 0.5634 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001484/0.3688, allocations: 159.2 kB / 0.5636 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3688, allocations: 4 kB / 0.5636 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.3691, allocations: 24 kB / 0.5636 GB, free: 0.5078 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002292/0.3713, allocations: 1.136 MB / 0.5647 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.3715, allocations: 63.91 kB / 0.5647 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3715, allocations: 0 / 0.5647 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.07e-05/0.3716, allocations: 32.08 kB / 0.5648 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.372, allocations: 25.75 kB / 0.5648 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.3742, allocations: 1.705 MB / 0.5665 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.3743, allocations: 96.73 kB / 0.5666 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.877e-05/0.3743, allocations: 20.58 kB / 0.5666 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.3744, allocations: 39.42 kB / 0.5666 GB, free: 13.48 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3744, allocations: 0 / 0.5666 GB, free: 13.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.4067, allocations: 4.189 MB / 0.5707 GB, free: 9.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.72, allocations: 6.75 kB / 0.5707 GB, free: 9.336 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.917023375164717]