Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001284/0.001284, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001481/0.001481, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2277/0.2277, allocations: 46.93 MB / 360.9 MB, free: 4.258 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.Test24,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.89 kB / 0.4962 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3083, allocations: 66.04 MB / 0.5607 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003045/0.3113, allocations: 1.703 MB / 0.5623 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.3124, allocations: 0.5737 MB / 0.5629 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.883e-05/0.3124, allocations: 0 / 0.5629 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.3127, allocations: 39.83 kB / 0.5629 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.313, allocations: 95.59 kB / 0.563 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.3133, allocations: 131.4 kB / 0.5631 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.3135, allocations: 87.75 kB / 0.5632 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3136, allocations: 18.05 kB / 0.5632 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.803e-05/0.3136, allocations: 43.84 kB / 0.5633 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.3137, allocations: 43.83 kB / 0.5633 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.3138, allocations: 4 kB / 0.5633 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.3139, allocations: 55.91 kB / 0.5634 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.791e-05/0.3139, allocations: 19.92 kB / 0.5634 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.314, allocations: 35.75 kB / 0.5634 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.3142, allocations: 111.5 kB / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3142, allocations: 7.938 kB / 0.5636 GB, free: 1.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3142, allocations: 0 / 0.5636 GB, free: 1.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.3142, allocations: 0 / 0.5636 GB, free: 1.48 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.0005805/0.3148, allocations: 349.6 kB / 0.5639 GB, free: 1.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3149, allocations: 8.031 kB / 0.5639 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.3149, allocations: 38.75 kB / 0.5639 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.3149, allocations: 8.891 kB / 0.5639 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.3151, allocations: 142.3 kB / 0.5641 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3151, allocations: 4.375 kB / 0.5641 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.3152, allocations: 8.328 kB / 0.5641 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.3154, allocations: 65.55 kB / 0.5642 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.3154, allocations: 7.984 kB / 0.5642 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3154, allocations: 4 kB / 0.5642 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3154, allocations: 0 / 0.5642 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.3155, allocations: 39.97 kB / 0.5642 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.3159, allocations: 271.8 kB / 0.5645 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.3162, allocations: 58.55 kB / 0.5645 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.68e-05/0.3163, allocations: 20.97 kB / 0.5645 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.3163, allocations: 7.938 kB / 0.5645 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.3163, allocations: 30.56 kB / 0.5646 GB, free: 312 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3163, allocations: 0 / 0.5646 GB, free: 312 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00147/0.3178, allocations: 413.3 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.3179, allocations: 51.41 kB / 0.565 GB, free: 15.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.3181, allocations: 190.1 kB / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3181, allocations: 29.7 kB / 0.5652 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.357e-05/0.3182, allocations: 96.14 kB / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.585e-05/0.3182, allocations: 43.62 kB / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.3183, allocations: 29.7 kB / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3184, allocations: 322.8 kB / 0.5657 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.3185, allocations: 43.97 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.3186, allocations: 39.97 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.3189, allocations: 105.1 kB / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3189, allocations: 0 / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003883/0.3193, allocations: 149.4 kB / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3193, allocations: 4 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3193, allocations: 0 / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.3193, allocations: 3.938 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3194, allocations: 23.98 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.3195, allocations: 11.98 kB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.551e-05/0.3195, allocations: 8 kB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.3195, allocations: 4 kB / 0.5661 GB, free: 14.7 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.0001136/0.3196, allocations: 125.8 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.3197, allocations: 11.91 kB / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004147/0.3201, allocations: 174.2 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3201, allocations: 3.938 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3201, allocations: 4 kB / 0.5664 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3201, allocations: 0 / 0.5664 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007181/0.3208, allocations: 447.1 kB / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3208, allocations: 4.062 kB / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.3209, allocations: 23.98 kB / 0.5668 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3209, allocations: 0 / 0.5668 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.321, allocations: 7.984 kB / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.321, allocations: 192 / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.321, allocations: 4 kB / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.3214, allocations: 265 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.323e-05/0.3214, allocations: 11.94 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.3214, allocations: 4 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3215, allocations: 11.98 kB / 0.5671 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.3215, allocations: 11.98 kB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.3216, allocations: 4 kB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.3217, allocations: 144.1 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3217, allocations: 0 / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.322, allocations: 23.94 kB / 0.5673 GB, free: 13.35 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.0023/0.3243, allocations: 1.135 MB / 0.5684 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000337/0.3246, allocations: 107.9 kB / 0.5685 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3246, allocations: 0 / 0.5685 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.3247, allocations: 51.91 kB / 0.5686 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.3251, allocations: 25.14 kB / 0.5686 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.3275, allocations: 1.806 MB / 0.5703 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.3279, allocations: 0.7041 MB / 0.571 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.772e-05/0.3279, allocations: 24.33 kB / 0.5711 GB, free: 9.547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.771e-05/0.328, allocations: 43.42 kB / 0.5711 GB, free: 9.504 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.328, allocations: 0 / 0.5711 GB, free: 9.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.3568, allocations: 3.51 MB / 0.5745 GB, free: 6.047 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.46, allocations: 4 kB / 0.5745 GB, free: 6.043 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24_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_Test24.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.559351508003601]