Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001242/0.001242, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001438/0.001438, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.576/1.576, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.2242/0.2242, allocations: 44.94 MB / 359.6 MB, free: 6.043 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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="cs",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.001995/0.001995, allocations: 71.89 kB / 0.4938 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3587, allocations: 65.46 MB / 0.5577 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003594/0.3622, allocations: 1.599 MB / 0.5593 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.3635, allocations: 0.531 MB / 0.5598 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.416e-05/0.3636, allocations: 0 / 0.5598 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.3639, allocations: 31.78 kB / 0.5599 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.3642, allocations: 71.69 kB / 0.5599 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.3645, allocations: 95.69 kB / 0.56 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.3646, allocations: 83.75 kB / 0.5601 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3648, allocations: 9.828 kB / 0.5601 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.166e-05/0.3648, allocations: 35.8 kB / 0.5601 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.79e-05/0.3649, allocations: 31.84 kB / 0.5602 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.3649, allocations: 4 kB / 0.5602 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.3651, allocations: 99.94 kB / 0.5603 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.3652, allocations: 15.92 kB / 0.5603 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.3652, allocations: 23.8 kB / 0.5603 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.3656, allocations: 147.5 kB / 0.5604 GB, free: 4.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3656, allocations: 0 / 0.5604 GB, free: 4.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3656, allocations: 3.938 kB / 0.5604 GB, free: 4.738 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.3656, allocations: 0 / 0.5604 GB, free: 4.738 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.0006004/0.3662, allocations: 337.6 kB / 0.5608 GB, free: 4.379 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3662, allocations: 12.03 kB / 0.5608 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.748e-05/0.3662, allocations: 192 / 0.5608 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.504e-05/0.3663, allocations: 34.75 kB / 0.5608 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.3663, allocations: 12.88 kB / 0.5608 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.3665, allocations: 144.5 kB / 0.561 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.3665, allocations: 384 / 0.561 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.3666, allocations: 12.12 kB / 0.561 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.3668, allocations: 93.09 kB / 0.5611 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3668, allocations: 0 / 0.5611 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3668, allocations: 0 / 0.5611 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3668, allocations: 4 kB / 0.5611 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.3669, allocations: 27.97 kB / 0.5611 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.3674, allocations: 275.8 kB / 0.5614 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.3675, allocations: 54.55 kB / 0.5614 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.99e-05/0.3676, allocations: 20.97 kB / 0.5614 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.3676, allocations: 4 kB / 0.5614 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.3676, allocations: 38.5 kB / 0.5615 GB, free: 3.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.3676, allocations: 0 / 0.5615 GB, free: 3.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006562/0.3683, allocations: 185.4 kB / 0.5616 GB, free: 3.359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.3684, allocations: 85.05 kB / 0.5617 GB, free: 3.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.3685, allocations: 156.2 kB / 0.5619 GB, free: 3.094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.3686, allocations: 25.7 kB / 0.5619 GB, free: 3.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.3686, allocations: 96.09 kB / 0.562 GB, free: 2.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.3687, allocations: 31.77 kB / 0.562 GB, free: 2.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.3687, allocations: 25.66 kB / 0.562 GB, free: 2.902 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3689, allocations: 330.8 kB / 0.5624 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.909e-05/0.369, allocations: 27.98 kB / 0.5624 GB, free: 2.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.3691, allocations: 71.39 kB / 0.5625 GB, free: 2.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.3693, allocations: 76.75 kB / 0.5625 GB, free: 2.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3693, allocations: 0 / 0.5625 GB, free: 2.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002466/0.3695, allocations: 113.6 kB / 0.5626 GB, free: 2.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3695, allocations: 8 kB / 0.5626 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3695, allocations: 4.031 kB / 0.5627 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3696, allocations: 0 / 0.5627 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3697, allocations: 23.92 kB / 0.5627 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3697, allocations: 0 / 0.5627 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.52e-05/0.3697, allocations: 11.92 kB / 0.5627 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3697, allocations: 0 / 0.5627 GB, free: 2.219 MB / 398.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 0.0001093/0.3699, allocations: 117.8 kB / 0.5628 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.3699, allocations: 7.953 kB / 0.5628 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.3702, allocations: 126.4 kB / 0.5629 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.3702, allocations: 0 / 0.5629 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3702, allocations: 384 / 0.5629 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.3702, allocations: 7.922 kB / 0.5629 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005348/0.3707, allocations: 357.8 kB / 0.5633 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3707, allocations: 4 kB / 0.5633 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.351e-05/0.3708, allocations: 19.92 kB / 0.5633 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3708, allocations: 7.875 kB / 0.5633 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.3708, allocations: 0 / 0.5633 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.3708, allocations: 8 kB / 0.5633 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3708, allocations: 0 / 0.5633 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.3711, allocations: 199.5 kB / 0.5635 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.3711, allocations: 11.94 kB / 0.5635 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.3712, allocations: 3.938 kB / 0.5635 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.244e-05/0.3712, allocations: 4 kB / 0.5635 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.3713, allocations: 11.92 kB / 0.5635 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.3713, allocations: 4 kB / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.3714, allocations: 122 kB / 0.5637 GB, free: 1.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3714, allocations: 4 kB / 0.5637 GB, free: 1.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.3717, allocations: 43.86 kB / 0.5637 GB, free: 1.094 MB / 398.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.00234/0.374, allocations: 1.17 MB / 0.5648 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.3743, allocations: 75.88 kB / 0.5649 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3743, allocations: 0 / 0.5649 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.9e-05/0.3744, allocations: 31.98 kB / 0.5649 GB, free: 20 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.3747, allocations: 19.36 kB / 0.565 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.3767, allocations: 1.553 MB / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.836e-05/0.3768, allocations: 91.45 kB / 0.5666 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.666e-05/0.3768, allocations: 24.56 kB / 0.5666 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.092e-05/0.3769, allocations: 31.42 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3769, allocations: 0 / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.3995, allocations: 3.853 MB / 0.5704 GB, free: 10.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.93, allocations: 7.359 kB / 0.5704 GB, free: 10.38 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.180916308076121]