Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001364/0.001364, 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.001924/0.001924, allocations: 201.2 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.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2232/0.2232, allocations: 46.95 MB / 360.9 MB, free: 4.02 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.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 67.89 kB / 0.4961 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3025, allocations: 66.03 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003342/0.3058, allocations: 1.668 MB / 0.5622 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3068, allocations: 0.5348 MB / 0.5628 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.373e-05/0.3069, allocations: 0 / 0.5628 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.3072, allocations: 71.77 kB / 0.5628 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.3075, allocations: 103.6 kB / 0.5629 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.3078, allocations: 143.3 kB / 0.5631 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.308, allocations: 91.73 kB / 0.5632 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3081, allocations: 18.05 kB / 0.5632 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.628e-05/0.3081, allocations: 43.78 kB / 0.5632 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.3082, allocations: 59.75 kB / 0.5633 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.3083, allocations: 4 kB / 0.5633 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.3084, allocations: 51.98 kB / 0.5633 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.676e-05/0.3084, allocations: 35.89 kB / 0.5634 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.3085, allocations: 27.75 kB / 0.5634 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.3087, allocations: 123.5 kB / 0.5635 GB, free: 1.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3087, allocations: 3.938 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3087, allocations: 0 / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.3087, allocations: 0 / 0.5635 GB, free: 1.227 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005376/0.3092, allocations: 357.5 kB / 0.5638 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3093, allocations: 8.031 kB / 0.5639 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.31e-05/0.3093, allocations: 42.73 kB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.3094, allocations: 12.84 kB / 0.5639 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.3096, allocations: 146.3 kB / 0.564 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.3096, allocations: 4.375 kB / 0.5641 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.3096, allocations: 8.375 kB / 0.5641 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.3098, allocations: 65.55 kB / 0.5641 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3098, allocations: 0 / 0.5641 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.3098, allocations: 0 / 0.5641 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.3098, allocations: 4 kB / 0.5641 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.31, allocations: 31.97 kB / 0.5642 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.3104, allocations: 283.8 kB / 0.5644 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.3106, allocations: 54.55 kB / 0.5645 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.297e-05/0.3107, allocations: 24.97 kB / 0.5645 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.3107, allocations: 0 / 0.5645 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.3107, allocations: 34.56 kB / 0.5645 GB, free: 40 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.3107, allocations: 0 / 0.5645 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001445/0.3122, allocations: 413.3 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.3122, allocations: 55.34 kB / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.3124, allocations: 230.6 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.3125, allocations: 29.7 kB / 0.5652 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.3125, allocations: 112.1 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.3126, allocations: 35.69 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.3126, allocations: 25.72 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3128, allocations: 326.8 kB / 0.5657 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.3129, allocations: 43.97 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.313, allocations: 47.91 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.3132, allocations: 96.81 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3132, allocations: 0 / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003162/0.3136, allocations: 153.4 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3136, allocations: 8 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3136, allocations: 0 / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3136, allocations: 3.938 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.3137, allocations: 23.98 kB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3137, allocations: 0 / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.715e-05/0.3138, allocations: 11.98 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3138, allocations: 4 kB / 0.5661 GB, free: 14.39 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 (11): * Single equations (assignments): 11 * 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.0001108/0.3139, allocations: 137.8 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.3139, allocations: 15.91 kB / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/0.3143, allocations: 166.9 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.3143, allocations: 7.938 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3143, allocations: 0 / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.3143, allocations: 3.984 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006576/0.315, allocations: 435.1 kB / 0.5668 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.315, allocations: 4 kB / 0.5668 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.3151, allocations: 27.98 kB / 0.5668 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3151, allocations: 0 / 0.5668 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.3151, allocations: 8.172 kB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.3151, allocations: 7.938 kB / 0.5669 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3151, allocations: 0 / 0.5669 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.3155, allocations: 257.7 kB / 0.5671 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.3155, allocations: 19.84 kB / 0.5671 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.3155, allocations: 0 / 0.5671 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3156, allocations: 15.98 kB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.3157, allocations: 7.984 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.3157, allocations: 7.938 kB / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.3158, allocations: 167.2 kB / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3158, allocations: 0 / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.3161, allocations: 27.94 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002335/0.3184, allocations: 1.178 MB / 0.5685 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003132/0.3187, allocations: 95.94 kB / 0.5686 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3187, allocations: 3.938 kB / 0.5686 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.3189, allocations: 63.89 kB / 0.5687 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.3193, allocations: 26.42 kB / 0.5687 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.3216, allocations: 1.881 MB / 0.5705 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.3217, allocations: 105.8 kB / 0.5706 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.232e-05/0.3218, allocations: 16.47 kB / 0.5706 GB, free: 9.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.3219, allocations: 39.42 kB / 0.5707 GB, free: 9.668 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3219, allocations: 4 kB / 0.5707 GB, free: 9.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.3509, allocations: 4.106 MB / 0.5747 GB, free: 5.602 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.41, allocations: 4.062 kB / 0.5747 GB, free: 5.602 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.496782403002726]