Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001852/0.001852, allocations: 117.2 kB / 20.44 MB, free: 1.297 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.002403/0.002403, allocations: 215.7 kB / 23.74 MB, free: 4.527 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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2348/0.2348, allocations: 46.93 MB / 360.9 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003202/0.003202, allocations: 59.91 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3697, allocations: 66.04 MB / 0.5607 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003002/0.3727, allocations: 1.625 MB / 0.5623 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.3738, allocations: 0.562 MB / 0.5628 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.3739, allocations: 4 kB / 0.5628 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.3741, allocations: 35.78 kB / 0.5628 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.3744, allocations: 75.67 kB / 0.5629 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.3746, allocations: 95.64 kB / 0.563 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.3748, allocations: 79.75 kB / 0.5631 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.503e-05/0.3749, allocations: 9.828 kB / 0.5631 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.405e-05/0.375, allocations: 23.92 kB / 0.5631 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.602e-05/0.375, allocations: 39.77 kB / 0.5631 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.3751, allocations: 8 kB / 0.5632 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.3752, allocations: 99.94 kB / 0.5632 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.3753, allocations: 15.92 kB / 0.5633 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.3753, allocations: 27.81 kB / 0.5633 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.3756, allocations: 155.4 kB / 0.5634 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3756, allocations: 0 / 0.5634 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3756, allocations: 0 / 0.5634 GB, free: 1.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3756, allocations: 0 / 0.5634 GB, free: 1.625 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.0005565/0.3762, allocations: 337.6 kB / 0.5638 GB, free: 1.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3762, allocations: 12.03 kB / 0.5638 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.3763, allocations: 30.75 kB / 0.5638 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.3763, allocations: 16.83 kB / 0.5638 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.3765, allocations: 146.3 kB / 0.564 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.3765, allocations: 384 / 0.564 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.3766, allocations: 4.375 kB / 0.564 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.3767, allocations: 67.33 kB / 0.564 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3767, allocations: 0 / 0.564 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3768, allocations: 4 kB / 0.564 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.3768, allocations: 4 kB / 0.564 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.999e-05/0.3769, allocations: 31.97 kB / 0.5641 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.3773, allocations: 271.8 kB / 0.5643 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.3775, allocations: 50.56 kB / 0.5644 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.73e-05/0.3775, allocations: 24.97 kB / 0.5644 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.3776, allocations: 8 kB / 0.5644 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.3776, allocations: 30.56 kB / 0.5644 GB, free: 480 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3776, allocations: 0 / 0.5644 GB, free: 480 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006854/0.3783, allocations: 197.3 kB / 0.5646 GB, free: 276 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.3783, allocations: 81.05 kB / 0.5647 GB, free: 176 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.3785, allocations: 156.4 kB / 0.5648 GB, free: 8 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.3786, allocations: 29.7 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.3786, allocations: 96.09 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.3787, allocations: 31.72 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.3787, allocations: 25.72 kB / 0.565 GB, free: 15.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3788, allocations: 322.8 kB / 0.5653 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.835e-05/0.3789, allocations: 27.98 kB / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.877e-05/0.379, allocations: 49.69 kB / 0.5654 GB, free: 15.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.3792, allocations: 68.81 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3792, allocations: 0 / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002342/0.3794, allocations: 121.5 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3795, allocations: 4 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3795, allocations: 0 / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3795, allocations: 4 kB / 0.5656 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.3796, allocations: 23.95 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.3796, allocations: 4 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.3796, allocations: 3.984 kB / 0.5656 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3796, allocations: 7.938 kB / 0.5656 GB, free: 15.16 MB / 414.1 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 (9): * Single equations (assignments): 9 * 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 9.836e-05/0.3797, allocations: 117.8 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.3798, allocations: 15.94 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.3801, allocations: 110.4 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.3801, allocations: 8 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3801, allocations: 3.938 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3801, allocations: 288 / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/0.3806, allocations: 369.5 kB / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3806, allocations: 0 / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.432e-05/0.3807, allocations: 27.86 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3807, allocations: 0 / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3807, allocations: 3.938 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3807, allocations: 4 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3807, allocations: 0 / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.381, allocations: 195.5 kB / 0.5664 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.381, allocations: 19.94 kB / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.381, allocations: 3.938 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.3811, allocations: 4.375 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.3811, allocations: 11.98 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.3811, allocations: 4 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.3812, allocations: 125.8 kB / 0.5666 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3812, allocations: 0 / 0.5666 GB, free: 14.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.3815, allocations: 39.88 kB / 0.5666 GB, free: 14.04 MB / 414.1 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 (8): * Single equations (assignments): 8 * 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.00242/0.384, allocations: 1.138 MB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000301/0.3843, allocations: 71.88 kB / 0.5678 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3843, allocations: 4 kB / 0.5678 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.565e-05/0.3844, allocations: 31.98 kB / 0.5679 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.3848, allocations: 19.08 kB / 0.5679 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.3869, allocations: 1.557 MB / 0.5694 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.3873, allocations: 0.7005 MB / 0.5701 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.499e-05/0.3874, allocations: 20.56 kB / 0.5701 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.3875, allocations: 35.42 kB / 0.5701 GB, free: 10.53 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3875, allocations: 0 / 0.5701 GB, free: 10.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.4167, allocations: 3.732 MB / 0.5738 GB, free: 6.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.48, allocations: 11.03 kB / 0.5738 GB, free: 6.812 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.697282697001356]