Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001326/0.001326, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001431/0.001431, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.408/1.408, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2186/0.2186, allocations: 46.96 MB / 360.9 MB, free: 4.039 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.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 71.89 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3152, allocations: 66.04 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003478/0.3187, allocations: 1.616 MB / 0.5622 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3199, allocations: 0.5192 MB / 0.5627 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.32, allocations: 0 / 0.5627 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.3203, allocations: 83.7 kB / 0.5628 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003572/0.3206, allocations: 103.6 kB / 0.5629 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.3209, allocations: 95.56 kB / 0.563 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.3211, allocations: 91.75 kB / 0.5631 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3212, allocations: 9.828 kB / 0.5631 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.124e-05/0.3213, allocations: 35.89 kB / 0.5631 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.3214, allocations: 63.8 kB / 0.5632 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.3214, allocations: 0 / 0.5632 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.3215, allocations: 47.98 kB / 0.5632 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.3216, allocations: 27.81 kB / 0.5632 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.3216, allocations: 23.78 kB / 0.5633 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.3218, allocations: 107.5 kB / 0.5634 GB, free: 1.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3218, allocations: 0 / 0.5634 GB, free: 1.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3218, allocations: 4 kB / 0.5634 GB, free: 1.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3218, allocations: 0 / 0.5634 GB, free: 1.395 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005003/0.3223, allocations: 341.6 kB / 0.5637 GB, free: 1.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3224, allocations: 8.031 kB / 0.5637 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.42e-05/0.3224, allocations: 38.69 kB / 0.5637 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.3225, allocations: 16.84 kB / 0.5637 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.3227, allocations: 147 kB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.3227, allocations: 384 / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.3227, allocations: 4.375 kB / 0.5639 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.3229, allocations: 61.59 kB / 0.564 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3229, allocations: 4 kB / 0.564 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.3229, allocations: 0 / 0.564 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3229, allocations: 0 / 0.564 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.319e-05/0.323, allocations: 23.98 kB / 0.564 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.3234, allocations: 259.9 kB / 0.5642 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.3235, allocations: 42.56 kB / 0.5643 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.3235, allocations: 16.94 kB / 0.5643 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3235, allocations: 4 kB / 0.5643 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.3236, allocations: 34.56 kB / 0.5643 GB, free: 284 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.3236, allocations: 0 / 0.5643 GB, free: 284 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009111/0.3245, allocations: 225.1 kB / 0.5645 GB, free: 52 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.3245, allocations: 55.41 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.3248, allocations: 214.2 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3248, allocations: 29.7 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/0.3249, allocations: 112 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.809e-05/0.3249, allocations: 31.81 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.325, allocations: 29.7 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.3252, allocations: 322.8 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.495e-05/0.3253, allocations: 19.98 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.012e-05/0.3253, allocations: 27.98 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3255, allocations: 65.05 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3255, allocations: 4 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002122/0.3257, allocations: 102 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3257, allocations: 8 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3257, allocations: 0 / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3257, allocations: 3.938 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3258, allocations: 15.98 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3259, allocations: 7.938 kB / 0.5655 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.953e-05/0.3259, allocations: 0 / 0.5655 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.3259, allocations: 4 kB / 0.5655 GB, free: 14.96 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 (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 prepare postOptimizeDAE: time 0.0001074/0.326, allocations: 133.8 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3261, allocations: 15.89 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.3263, allocations: 123 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3263, allocations: 4 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3263, allocations: 3.938 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3264, allocations: 0 / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005305/0.3269, allocations: 366.4 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3269, allocations: 0 / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.455e-05/0.327, allocations: 19.92 kB / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.327, allocations: 4 kB / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.327, allocations: 0 / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.327, allocations: 0 / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.327, allocations: 0 / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.3272, allocations: 212.2 kB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/0.3273, allocations: 19.83 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.3273, allocations: 4.031 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.3274, allocations: 4 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.3274, allocations: 11.98 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.3274, allocations: 0 / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.3276, allocations: 164.2 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3276, allocations: 0 / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.3278, allocations: 23.94 kB / 0.5666 GB, free: 13.78 MB / 414.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: 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.002281/0.3301, allocations: 1.127 MB / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.3303, allocations: 63.91 kB / 0.5678 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3303, allocations: 0 / 0.5678 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.81e-05/0.3304, allocations: 32.05 kB / 0.5678 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.3308, allocations: 27.83 kB / 0.5678 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.3329, allocations: 1.673 MB / 0.5695 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.333, allocations: 104.7 kB / 0.5696 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.134e-05/0.333, allocations: 8.969 kB / 0.5696 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/0.3331, allocations: 35.42 kB / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3331, allocations: 0 / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.3633, allocations: 3.711 MB / 0.5732 GB, free: 7.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.29, allocations: 6.234 kB / 0.5732 GB, free: 7.133 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.25987887600786]