Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.001354/0.001354, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001417/0.001417, allocations: 216.6 kB / 23.75 MB, free: 4.668 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.546/1.546, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2346/0.2346, allocations: 44.92 MB / 358.8 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",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.002082/0.002082, allocations: 67.89 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3703, allocations: 65.47 MB / 0.557 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003439/0.3737, allocations: 1.673 MB / 0.5587 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.3759, allocations: 1.306 MB / 0.5599 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.359e-05/0.376, allocations: 7.938 kB / 0.56 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.3763, allocations: 27.84 kB / 0.56 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.3766, allocations: 79.62 kB / 0.5601 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.3771, allocations: 179.3 kB / 0.5602 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.3773, allocations: 79.77 kB / 0.5603 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3775, allocations: 17.77 kB / 0.5603 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.411e-05/0.3775, allocations: 39.78 kB / 0.5604 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.3777, allocations: 39.84 kB / 0.5604 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.3777, allocations: 7.984 kB / 0.5604 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.378, allocations: 95.89 kB / 0.5605 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.287e-05/0.378, allocations: 27.91 kB / 0.5605 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.392e-05/0.3781, allocations: 27.8 kB / 0.5605 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.3784, allocations: 155.5 kB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3784, allocations: 0 / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3784, allocations: 0 / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.3784, allocations: 3.984 kB / 0.5607 GB, free: 4.023 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.0006296/0.379, allocations: 353.5 kB / 0.561 GB, free: 3.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3791, allocations: 8.031 kB / 0.561 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.3791, allocations: 38.69 kB / 0.5611 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.3792, allocations: 8.891 kB / 0.5611 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.3794, allocations: 142.4 kB / 0.5612 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3794, allocations: 4.375 kB / 0.5612 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.3794, allocations: 4.375 kB / 0.5612 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.3796, allocations: 87.3 kB / 0.5613 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3796, allocations: 0 / 0.5613 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3797, allocations: 0 / 0.5613 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3797, allocations: 4 kB / 0.5613 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.3798, allocations: 39.91 kB / 0.5614 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.3803, allocations: 283.8 kB / 0.5616 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.3804, allocations: 50.53 kB / 0.5617 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.3805, allocations: 24.94 kB / 0.5617 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.3805, allocations: 0 / 0.5617 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.3805, allocations: 38.5 kB / 0.5617 GB, free: 2.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.3805, allocations: 0 / 0.5617 GB, free: 2.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009068/0.3815, allocations: 237.3 kB / 0.562 GB, free: 2.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/0.3815, allocations: 77.11 kB / 0.562 GB, free: 2.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.3817, allocations: 163.6 kB / 0.5622 GB, free: 2.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.3817, allocations: 29.7 kB / 0.5622 GB, free: 2.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.3818, allocations: 100.1 kB / 0.5623 GB, free: 2.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.3818, allocations: 23.78 kB / 0.5623 GB, free: 2.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.3819, allocations: 21.72 kB / 0.5624 GB, free: 2.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3821, allocations: 322.8 kB / 0.5627 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.3822, allocations: 35.97 kB / 0.5627 GB, free: 1.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.3823, allocations: 57.67 kB / 0.5628 GB, free: 1.711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.3825, allocations: 88.8 kB / 0.5628 GB, free: 1.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3825, allocations: 0 / 0.5628 GB, free: 1.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003121/0.3829, allocations: 125.5 kB / 0.563 GB, free: 1.492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.3829, allocations: 11.94 kB / 0.563 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3829, allocations: 4.031 kB / 0.563 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3829, allocations: 0 / 0.563 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.383, allocations: 19.98 kB / 0.563 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.383, allocations: 0 / 0.563 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.343e-05/0.3831, allocations: 11.92 kB / 0.563 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.3831, allocations: 8 kB / 0.563 GB, free: 1.438 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 (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.0001218/0.3832, allocations: 117.8 kB / 0.5631 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.3833, allocations: 19.91 kB / 0.5631 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003657/0.3836, allocations: 146.5 kB / 0.5633 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3836, allocations: 0 / 0.5633 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3836, allocations: 0 / 0.5633 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3837, allocations: 3.938 kB / 0.5633 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006014/0.3843, allocations: 385.6 kB / 0.5637 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3843, allocations: 4 kB / 0.5637 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-05/0.3844, allocations: 23.91 kB / 0.5637 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.3844, allocations: 0 / 0.5637 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.3844, allocations: 7.938 kB / 0.5637 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.3844, allocations: 4 kB / 0.5637 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3844, allocations: 0 / 0.5637 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.3848, allocations: 223.5 kB / 0.5639 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.3848, allocations: 15.94 kB / 0.5639 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.3848, allocations: 3.938 kB / 0.5639 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.747e-05/0.3849, allocations: 11.98 kB / 0.5639 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.385, allocations: 0 / 0.5639 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.385, allocations: 4 kB / 0.5639 GB, free: 408 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.3851, allocations: 123.2 kB / 0.5641 GB, free: 284 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3851, allocations: 0 / 0.5641 GB, free: 284 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.3854, allocations: 51.73 kB / 0.5641 GB, free: 232 kB / 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 (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.002434/0.3878, allocations: 1.146 MB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003523/0.3882, allocations: 95.86 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3882, allocations: 0 / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.3883, allocations: 43.97 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.3887, allocations: 15.98 kB / 0.5654 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.3911, allocations: 1.663 MB / 0.567 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.3914, allocations: 0.7044 MB / 0.5677 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.957e-05/0.3915, allocations: 24.73 kB / 0.5677 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.619e-05/0.3916, allocations: 31.42 kB / 0.5677 GB, free: 12.57 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3916, allocations: 0 / 0.5677 GB, free: 12.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03236/0.424, allocations: 3.781 MB / 0.5714 GB, free: 8.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.33, allocations: 0 / 0.5714 GB, free: 8.809 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_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_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.576141282006574]