Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001848/0.001848, allocations: 123.4 kB / 17.79 MB, free: 5.359 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.002435/0.002435, allocations: 208.3 kB / 20.75 MB, free: 2.41 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.498/1.498, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2239/0.2239, allocations: 44.9 MB / 355.1 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",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.001989/0.001989, allocations: 67.89 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1342, allocations: 65.42 MB / 0.5518 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003183/0.1374, allocations: 1.671 MB / 0.5534 GB, free: 8.449 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.1391, allocations: 1.214 MB / 0.5546 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.617e-05/0.1392, allocations: 0 / 0.5546 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.1394, allocations: 31.83 kB / 0.5546 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.1397, allocations: 87.61 kB / 0.5547 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.1401, allocations: 174.6 kB / 0.5549 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.1402, allocations: 71.77 kB / 0.5549 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1403, allocations: 24.19 kB / 0.555 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.8e-05/0.1404, allocations: 35.8 kB / 0.555 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.1405, allocations: 43.83 kB / 0.555 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.1406, allocations: 4 kB / 0.555 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.1407, allocations: 107.9 kB / 0.5551 GB, free: 6.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.1408, allocations: 19.92 kB / 0.5552 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.1408, allocations: 27.81 kB / 0.5552 GB, free: 6.613 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.1411, allocations: 155.4 kB / 0.5553 GB, free: 6.461 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1411, allocations: 0 / 0.5553 GB, free: 6.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1411, allocations: 0 / 0.5553 GB, free: 6.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1411, allocations: 0 / 0.5553 GB, free: 6.461 MB / 414.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.0006871/0.1418, allocations: 430.5 kB / 0.5557 GB, free: 5.992 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1418, allocations: 12.03 kB / 0.5558 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.1419, allocations: 34.73 kB / 0.5558 GB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.1419, allocations: 12.89 kB / 0.5558 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.1421, allocations: 202.3 kB / 0.556 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.1422, allocations: 384 / 0.556 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.1422, allocations: 8.375 kB / 0.556 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.1424, allocations: 79.31 kB / 0.5561 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1424, allocations: 0 / 0.5561 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1424, allocations: 0 / 0.5561 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-06/0.1424, allocations: 0 / 0.5561 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.1425, allocations: 47.91 kB / 0.5561 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.143, allocations: 316.7 kB / 0.5564 GB, free: 5.188 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.1431, allocations: 42.55 kB / 0.5565 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.584e-05/0.1432, allocations: 24.94 kB / 0.5565 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.1432, allocations: 7.938 kB / 0.5565 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.1433, allocations: 34.56 kB / 0.5565 GB, free: 5.059 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1433, allocations: 0 / 0.5565 GB, free: 5.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008579/0.1441, allocations: 237.4 kB / 0.5568 GB, free: 4.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/0.1442, allocations: 77.11 kB / 0.5568 GB, free: 4.727 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.1444, allocations: 162.9 kB / 0.557 GB, free: 4.559 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.1444, allocations: 25.7 kB / 0.557 GB, free: 4.527 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.1445, allocations: 100 kB / 0.5571 GB, free: 4.426 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.1445, allocations: 23.84 kB / 0.5571 GB, free: 4.402 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.1445, allocations: 21.72 kB / 0.5572 GB, free: 4.375 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1447, allocations: 318.8 kB / 0.5575 GB, free: 4.055 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.1448, allocations: 43.97 kB / 0.5575 GB, free: 4.012 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.145, allocations: 53.67 kB / 0.5576 GB, free: 3.953 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.1452, allocations: 84.8 kB / 0.5576 GB, free: 3.867 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1452, allocations: 3.938 kB / 0.5576 GB, free: 3.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003287/0.1456, allocations: 133.5 kB / 0.5578 GB, free: 3.727 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1456, allocations: 4 kB / 0.5578 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.1456, allocations: 4 kB / 0.5578 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1456, allocations: 0 / 0.5578 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.1457, allocations: 15.98 kB / 0.5578 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1457, allocations: 4 kB / 0.5578 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.841e-05/0.1458, allocations: 15.92 kB / 0.5578 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.1458, allocations: 8 kB / 0.5578 GB, free: 3.676 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.0001045/0.1459, allocations: 120 kB / 0.5579 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.146, allocations: 11.91 kB / 0.5579 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.1463, allocations: 142.6 kB / 0.5581 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1463, allocations: 4 kB / 0.5581 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1463, allocations: 7.938 kB / 0.5581 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.1463, allocations: 4.219 kB / 0.5581 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006193/0.147, allocations: 422.3 kB / 0.5585 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.147, allocations: 0 / 0.5585 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.514e-05/0.1471, allocations: 19.98 kB / 0.5585 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.1471, allocations: 3.984 kB / 0.5585 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1471, allocations: 7.938 kB / 0.5585 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.1471, allocations: 4 kB / 0.5585 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1471, allocations: 0 / 0.5585 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.1474, allocations: 215.4 kB / 0.5587 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.1475, allocations: 89.05 kB / 0.5588 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.1475, allocations: 7.938 kB / 0.5588 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1476, allocations: 11.98 kB / 0.5588 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.1477, allocations: 4 kB / 0.5588 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.1477, allocations: 4 kB / 0.5588 GB, free: 2.512 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.1478, allocations: 124.4 kB / 0.559 GB, free: 2.391 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1478, allocations: 0 / 0.559 GB, free: 2.391 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002958/0.1481, allocations: 43.86 kB / 0.559 GB, free: 2.348 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.002292/0.1504, allocations: 1.152 MB / 0.5601 GB, free: 1.363 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003338/0.1507, allocations: 91.86 kB / 0.5602 GB, free: 1.273 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1507, allocations: 0 / 0.5602 GB, free: 1.273 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.1509, allocations: 51.95 kB / 0.5603 GB, free: 1.223 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.1512, allocations: 11.98 kB / 0.5603 GB, free: 1.211 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.1536, allocations: 1.655 MB / 0.5619 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.154, allocations: 0.7039 MB / 0.5626 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.1541, allocations: 24.72 kB / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.041e-05/0.1541, allocations: 31.42 kB / 0.5626 GB, free: 14.69 MB / 430.1 MB Notification: Performance of SimCode: time 1.292e-06/0.1541, allocations: 4 kB / 0.5626 GB, free: 14.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.1832, allocations: 3.617 MB / 0.5662 GB, free: 11.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.479/8.662, allocations: 8.047 kB / 0.5662 GB, free: 11.07 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_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_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.823383959941566]