Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001837/0.001837, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001862/0.001862, allocations: 211.3 kB / 23.73 MB, free: 4.523 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.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2357/0.2357, allocations: 46.96 MB / 360.9 MB, free: 4.027 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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 59.91 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3652, allocations: 66.04 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003469/0.3687, allocations: 1.648 MB / 0.5622 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.37, allocations: 0.5621 MB / 0.5628 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.3701, allocations: 4 kB / 0.5628 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007114/0.3708, allocations: 455.1 kB / 0.5632 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005827/0.3714, allocations: 299.3 kB / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005524/0.3719, allocations: 171.2 kB / 0.5637 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.3722, allocations: 179.6 kB / 0.5638 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3723, allocations: 21.81 kB / 0.5638 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.3724, allocations: 115.7 kB / 0.564 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.3727, allocations: 247.5 kB / 0.5642 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.3727, allocations: 4 kB / 0.5642 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3728, allocations: 39.98 kB / 0.5642 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.373, allocations: 87.67 kB / 0.5643 GB, free: 436 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.432e-05/0.373, allocations: 75.19 kB / 0.5644 GB, free: 360 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003725/0.3734, allocations: 278.6 kB / 0.5647 GB, free: 80 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3734, allocations: 0 / 0.5647 GB, free: 80 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3734, allocations: 0 / 0.5647 GB, free: 80 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3734, allocations: 0 / 0.5647 GB, free: 80 kB / 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.0008635/0.3743, allocations: 0.601 MB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3743, allocations: 8.031 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.632e-05/0.3744, allocations: 34.75 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.097e-05/0.3744, allocations: 44.66 kB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.3747, allocations: 250.8 kB / 0.5656 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3748, allocations: 12.31 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.3748, allocations: 384 / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.375, allocations: 73.58 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.375, allocations: 0 / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.375, allocations: 0 / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.375, allocations: 3.984 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.3751, allocations: 39.97 kB / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.3758, allocations: 379.7 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.3759, allocations: 46.56 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.13e-05/0.376, allocations: 28.92 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.376, allocations: 0 / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.3761, allocations: 34.5 kB / 0.5662 GB, free: 14.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.3761, allocations: 0 / 0.5662 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009471/0.377, allocations: 320.5 kB / 0.5665 GB, free: 14.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.3771, allocations: 55.41 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009563/0.378, allocations: 0.8776 MB / 0.5674 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.378, allocations: 25.7 kB / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.3782, allocations: 216 kB / 0.5676 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.3783, allocations: 27.78 kB / 0.5676 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.3783, allocations: 21.72 kB / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.3785, allocations: 362.8 kB / 0.568 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.3787, allocations: 35.97 kB / 0.568 GB, free: 12.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.3788, allocations: 43.91 kB / 0.5681 GB, free: 12.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.379, allocations: 92.86 kB / 0.5682 GB, free: 12.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.379, allocations: 0 / 0.5682 GB, free: 12.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000367/0.3794, allocations: 165.2 kB / 0.5683 GB, free: 12.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3794, allocations: 4 kB / 0.5683 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3794, allocations: 4 kB / 0.5683 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.3794, allocations: 0 / 0.5683 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.3796, allocations: 19.97 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.3796, allocations: 4 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.678e-05/0.3797, allocations: 7.938 kB / 0.5684 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.3797, allocations: 11.94 kB / 0.5684 GB, free: 12.07 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 (7): * Single equations (assignments): 7 * 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.0002251/0.3799, allocations: 217.8 kB / 0.5686 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.38, allocations: 43.72 kB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004285/0.3804, allocations: 181.8 kB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3804, allocations: 0 / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3804, allocations: 0 / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.3804, allocations: 3.938 kB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000805/0.3812, allocations: 489.5 kB / 0.5693 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3812, allocations: 3.984 kB / 0.5693 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.272e-05/0.3813, allocations: 19.98 kB / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3813, allocations: 0 / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.3813, allocations: 3.938 kB / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/0.3813, allocations: 8 kB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3813, allocations: 0 / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.3817, allocations: 263.1 kB / 0.5695 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.99e-05/0.3818, allocations: 35.7 kB / 0.5696 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.3818, allocations: 11.94 kB / 0.5696 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3819, allocations: 4 kB / 0.5696 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.382, allocations: 7.984 kB / 0.5696 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.382, allocations: 0 / 0.5696 GB, free: 10.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007202/0.3827, allocations: 0.6589 MB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3827, allocations: 3.938 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.383, allocations: 28 kB / 0.5703 GB, free: 10.02 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 (7): * Single equations (assignments): 7 * 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.002339/0.3853, allocations: 1.126 MB / 0.5714 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003851/0.3857, allocations: 91.91 kB / 0.5715 GB, free: 8.969 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3857, allocations: 0 / 0.5715 GB, free: 8.969 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.3859, allocations: 55.89 kB / 0.5715 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.3864, allocations: 25.12 kB / 0.5715 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004579/0.391, allocations: 3.386 MB / 0.5748 GB, free: 5.414 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.3912, allocations: 220.1 kB / 0.5751 GB, free: 5.176 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.87e-05/0.3913, allocations: 28.95 kB / 0.5751 GB, free: 5.148 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.3915, allocations: 119.4 kB / 0.5752 GB, free: 5.031 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3915, allocations: 0 / 0.5752 GB, free: 5.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03481/0.4263, allocations: 6.819 MB / 0.5819 GB, free: 14.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.58, allocations: 0 / 0.5819 GB, free: 14.27 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.841290409996873]