Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 104.6 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 194.6 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.1 MB / 222.8 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3926/0.3926, allocations: 43.5 MB / 313.6 MB, free: 8.504 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 63.91 kB / 382.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1266, allocations: 57.78 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.00327/0.1299, allocations: 1.686 MB / 441.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008627/0.1308, allocations: 0.6683 MB / 442.5 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.763e-05/0.1309, allocations: 0 / 442.5 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.1311, allocations: 19.92 kB / 442.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.1313, allocations: 39.89 kB / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.309e-06/0.1314, allocations: 0 / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1315, allocations: 31.91 kB / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.1316, allocations: 3.984 kB / 442.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.655e-05/0.1316, allocations: 15.92 kB / 442.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.422e-05/0.1317, allocations: 19.88 kB / 442.6 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.1317, allocations: 0 / 442.6 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.665e-05/0.1317, allocations: 11.98 kB / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.1318, allocations: 23.91 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.1318, allocations: 23.81 kB / 442.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.132, allocations: 72.02 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.132, allocations: 0 / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.132, allocations: 0 / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.132, allocations: 0 / 442.7 MB, free: 12 MB / 382.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.0003988/0.1324, allocations: 359.3 kB / 443.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1324, allocations: 11.89 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.1325, allocations: 46.67 kB / 443.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.1325, allocations: 4.844 kB / 443.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.1327, allocations: 176.2 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1327, allocations: 12.31 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.1327, allocations: 8.359 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.1329, allocations: 115.4 kB / 443.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1329, allocations: 7.875 kB / 443.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1329, allocations: 4 kB / 443.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.182e-05/0.133, allocations: 23.98 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.896e-05/0.1331, allocations: 39.92 kB / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006188/0.1337, allocations: 0.8984 MB / 444.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.313e-05/0.1338, allocations: 169.1 kB / 444.6 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.1338, allocations: 88.11 kB / 444.7 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.1339, allocations: 79.27 kB / 444.7 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.153e-05/0.1339, allocations: 109.8 kB / 444.8 MB, free: 9.656 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.635e-06/0.1339, allocations: 7.984 kB / 444.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.148e-05/0.134, allocations: 33.61 kB / 444.9 MB, free: 9.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.1341, allocations: 130.7 kB / 445 MB, free: 9.469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.1343, allocations: 178.1 kB / 445.2 MB, free: 9.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.1343, allocations: 25.7 kB / 445.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.733e-05/0.1344, allocations: 151.1 kB / 445.4 MB, free: 9.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.479e-06/0.1344, allocations: 4 kB / 445.4 MB, free: 9.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-05/0.1345, allocations: 41.61 kB / 445.4 MB, free: 9.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1346, allocations: 322.8 kB / 445.7 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.557e-05/0.1347, allocations: 39.86 kB / 445.8 MB, free: 8.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.1348, allocations: 157.2 kB / 445.9 MB, free: 8.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.135, allocations: 196.9 kB / 446.1 MB, free: 8.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.135, allocations: 0 / 446.1 MB, free: 8.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002987/0.1353, allocations: 197.7 kB / 446.3 MB, free: 8.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1354, allocations: 8 kB / 446.3 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.1354, allocations: 8 kB / 446.3 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1354, allocations: 8 kB / 446.3 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1355, allocations: 43.91 kB / 446.4 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.1355, allocations: 11.94 kB / 446.4 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.498e-05/0.1356, allocations: 15.84 kB / 446.4 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.1357, allocations: 12 kB / 446.4 MB, free: 7.91 MB / 382.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.0001243/0.1358, allocations: 213 kB / 446.6 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/0.1358, allocations: 112.8 kB / 446.7 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.1359, allocations: 120.9 kB / 446.8 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.429e-05/0.136, allocations: 192.1 kB / 447 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.104e-05/0.136, allocations: 176.3 kB / 447.2 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.419e-05/0.1361, allocations: 184.2 kB / 447.4 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.1363, allocations: 429.1 kB / 447.8 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-05/0.1364, allocations: 112.9 kB / 447.9 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.881e-05/0.1364, allocations: 101 kB / 448 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.281e-05/0.1365, allocations: 176.3 kB / 448.2 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/0.1365, allocations: 180.2 kB / 448.4 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.081e-05/0.1366, allocations: 188.2 kB / 448.5 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.512e-05/0.1366, allocations: 180.2 kB / 448.7 MB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.1368, allocations: 311.7 kB / 449 MB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/0.1369, allocations: 193.9 kB / 449.2 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.1369, allocations: 176.3 kB / 449.4 MB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.137, allocations: 108.9 kB / 449.5 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.1371, allocations: 180.3 kB / 449.7 MB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.1371, allocations: 101 kB / 449.8 MB, free: 4.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.388e-05/0.1372, allocations: 140 kB / 449.9 MB, free: 4.188 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1372, allocations: 0 / 449.9 MB, free: 4.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.1375, allocations: 12 kB / 449.9 MB, free: 4.176 MB / 382.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.0006825/0.1382, allocations: 0.9305 MB / 450.8 MB, free: 3.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001484/0.1384, allocations: 75.78 kB / 450.9 MB, free: 3.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1384, allocations: 1.25 kB / 450.9 MB, free: 3.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.1384, allocations: 0 / 450.9 MB, free: 3.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.1387, allocations: 463.7 kB / 451.4 MB, free: 2.707 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.1406, allocations: 1.89 MB / 453.3 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.183/0.3237, allocations: 0.6909 MB / 453.9 MB, free: 49.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002223/0.3239, allocations: 49.66 kB / 454 MB, free: 49.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.324, allocations: 29.47 kB / 454 MB, free: 49.18 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.324, allocations: 2.312 kB / 454 MB, free: 49.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01179/0.3358, allocations: 1.939 MB / 456 MB, free: 48.84 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/0.336, allocations: 234.8 kB / 456.2 MB, free: 48.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/2.788, allocations: 0 / 456.2 MB, free: 48.58 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches