Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001733/0.001733, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002115/0.002115, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.53/1.53, 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.2196/0.2196, allocations: 44.9 MB / 355.1 MB, free: 12.34 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.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",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.002019/0.002019, allocations: 75.89 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1303, allocations: 65.42 MB / 0.5518 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003316/0.1336, allocations: 1.652 MB / 0.5534 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009769/0.1346, allocations: 0.6919 MB / 0.554 GB, free: 7.777 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.304e-05/0.1346, allocations: 0 / 0.554 GB, free: 7.777 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.1348, allocations: 27.84 kB / 0.5541 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.135, allocations: 47.83 kB / 0.5541 GB, free: 7.703 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.817e-06/0.135, allocations: 0 / 0.5541 GB, free: 7.703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.1352, allocations: 31.83 kB / 0.5541 GB, free: 7.672 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.1352, allocations: 4.281 kB / 0.5541 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.427e-05/0.1352, allocations: 15.86 kB / 0.5542 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.063e-05/0.1353, allocations: 19.92 kB / 0.5542 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.926e-06/0.1353, allocations: 0 / 0.5542 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.01e-05/0.1354, allocations: 8 kB / 0.5542 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.786e-05/0.1354, allocations: 19.92 kB / 0.5542 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.1354, allocations: 23.81 kB / 0.5542 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.1356, allocations: 71.67 kB / 0.5543 GB, free: 7.512 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1356, allocations: 7.875 kB / 0.5543 GB, free: 7.504 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1356, allocations: 0 / 0.5543 GB, free: 7.504 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1356, allocations: 0 / 0.5543 GB, free: 7.504 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005256/0.1361, allocations: 367.1 kB / 0.5547 GB, free: 7.094 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1362, allocations: 12.03 kB / 0.5547 GB, free: 7.082 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/0.1362, allocations: 34.73 kB / 0.5547 GB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.1362, allocations: 8.891 kB / 0.5547 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.1364, allocations: 176.3 kB / 0.5549 GB, free: 6.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1364, allocations: 4.375 kB / 0.5549 GB, free: 6.816 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1364, allocations: 4.375 kB / 0.5549 GB, free: 6.812 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.1366, allocations: 131.3 kB / 0.555 GB, free: 6.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1366, allocations: 3.938 kB / 0.555 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.1367, allocations: 0 / 0.555 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.477e-05/0.1367, allocations: 27.92 kB / 0.555 GB, free: 6.629 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.533e-05/0.1368, allocations: 43.92 kB / 0.5551 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007321/0.1375, allocations: 0.8985 MB / 0.556 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.1376, allocations: 165.1 kB / 0.5561 GB, free: 5.445 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.413e-05/0.1377, allocations: 84.08 kB / 0.5562 GB, free: 5.359 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-05/0.1377, allocations: 79.27 kB / 0.5563 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/0.1377, allocations: 109.8 kB / 0.5564 GB, free: 5.164 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.1377, allocations: 96 / 0.5564 GB, free: 5.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.996e-05/0.1378, allocations: 45.55 kB / 0.5564 GB, free: 5.113 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.1379, allocations: 130.7 kB / 0.5565 GB, free: 4.973 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.1382, allocations: 180.4 kB / 0.5567 GB, free: 4.789 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1382, allocations: 25.7 kB / 0.5567 GB, free: 4.758 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.1383, allocations: 151.5 kB / 0.5569 GB, free: 4.605 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.172e-06/0.1383, allocations: 4 kB / 0.5569 GB, free: 4.602 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.1384, allocations: 49.66 kB / 0.5569 GB, free: 4.547 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1385, allocations: 318.8 kB / 0.5572 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.012e-05/0.1385, allocations: 27.97 kB / 0.5573 GB, free: 4.199 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.1387, allocations: 158.6 kB / 0.5574 GB, free: 3.984 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.1389, allocations: 204.9 kB / 0.5576 GB, free: 3.723 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1389, allocations: 7.938 kB / 0.5576 GB, free: 3.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003693/0.1393, allocations: 197.6 kB / 0.5578 GB, free: 3.516 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1393, allocations: 13.97 kB / 0.5578 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1393, allocations: 8.062 kB / 0.5578 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1393, allocations: 8 kB / 0.5578 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1395, allocations: 43.91 kB / 0.5579 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1395, allocations: 4 kB / 0.5579 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.402e-05/0.1396, allocations: 15.89 kB / 0.5579 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.1396, allocations: 16 kB / 0.5579 GB, free: 3.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001378/0.1397, allocations: 213.9 kB / 0.5581 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.093e-05/0.1398, allocations: 124.9 kB / 0.5582 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.99e-05/0.1399, allocations: 116.6 kB / 0.5584 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.997e-05/0.1399, allocations: 188.2 kB / 0.5585 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.606e-05/0.14, allocations: 176.3 kB / 0.5587 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.437e-05/0.1401, allocations: 176.3 kB / 0.5589 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.1405, allocations: 429.1 kB / 0.5593 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.233e-05/0.1405, allocations: 105 kB / 0.5594 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.095e-05/0.1405, allocations: 108.9 kB / 0.5595 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.395e-05/0.1406, allocations: 176.3 kB / 0.5597 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.405e-05/0.1407, allocations: 180.3 kB / 0.5598 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.84e-05/0.1408, allocations: 184.2 kB / 0.56 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.893e-05/0.1409, allocations: 184.3 kB / 0.5602 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.141, allocations: 319.6 kB / 0.5605 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.556e-05/0.1411, allocations: 190 kB / 0.5607 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.266e-05/0.1412, allocations: 180.2 kB / 0.5608 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.1413, allocations: 101 kB / 0.5609 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.1414, allocations: 188.2 kB / 0.5611 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/0.1415, allocations: 105 kB / 0.5612 GB, free: 15.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.1416, allocations: 135.2 kB / 0.5613 GB, free: 15.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1416, allocations: 0 / 0.5613 GB, free: 15.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.1418, allocations: 12 kB / 0.5613 GB, free: 15.67 MB / 430.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 (0): * Single equations (assignments): 0 * 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.001082/0.1429, allocations: 0.9231 MB / 0.5623 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.1431, allocations: 76.91 kB / 0.5623 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1431, allocations: 0 / 0.5623 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1431, allocations: 0 / 0.5623 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.1435, allocations: 463.8 kB / 0.5628 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.1454, allocations: 1.868 MB / 0.5646 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.1458, allocations: 0.7006 MB / 0.5653 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001833/0.146, allocations: 49.02 kB / 0.5653 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.146, allocations: 27.42 kB / 0.5653 GB, free: 11.37 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.146, allocations: 0 / 0.5653 GB, free: 11.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.1716, allocations: 2.147 MB / 0.5674 GB, free: 9.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.537/8.708, allocations: 7.266 kB / 0.5675 GB, free: 9.266 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_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_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.856065274681896]