Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",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.001124/0.001124, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001185/0.001185, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2124/0.2124, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 60.67 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.122, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003068/0.1251, allocations: 1.619 MB / 471 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.1266, allocations: 1.031 MB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.027e-05/0.1266, allocations: 0 / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.1268, allocations: 27.84 kB / 472 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.1271, allocations: 43.78 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.1274, allocations: 123.6 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.1275, allocations: 67.83 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.388e-05/0.1276, allocations: 16.16 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.855e-05/0.1277, allocations: 27.92 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.1278, allocations: 35.78 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.1279, allocations: 4 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.128, allocations: 47.98 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.605e-05/0.128, allocations: 27.91 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.1281, allocations: 23.86 kB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.1283, allocations: 103.9 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1283, allocations: 0 / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1283, allocations: 0 / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1283, allocations: 0 / 472.5 MB, free: 11.05 MB / 350.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.0004835/0.1288, allocations: 397.5 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1288, allocations: 15.97 kB / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.1289, allocations: 34.73 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.1289, allocations: 8.875 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.1291, allocations: 192.1 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1291, allocations: 4.375 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.1291, allocations: 8.125 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1293, allocations: 71.39 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1293, allocations: 0 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1293, allocations: 0 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1293, allocations: 4 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.1295, allocations: 39.91 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.1298, allocations: 284.8 kB / 473.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.1299, allocations: 46.56 kB / 473.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.705e-05/0.13, allocations: 20.94 kB / 473.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.13, allocations: 0 / 473.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.1301, allocations: 42.48 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1301, allocations: 0 / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007286/0.1308, allocations: 193.3 kB / 473.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.1309, allocations: 85.05 kB / 474 MB, free: 9.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.131, allocations: 146 kB / 474.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.131, allocations: 29.7 kB / 474.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.1311, allocations: 99.98 kB / 474.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.1311, allocations: 23.7 kB / 474.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.1312, allocations: 17.72 kB / 474.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.1313, allocations: 322.8 kB / 474.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.1314, allocations: 23.98 kB / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.1315, allocations: 57.67 kB / 474.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.1317, allocations: 72.88 kB / 474.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1317, allocations: 0 / 474.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002753/0.132, allocations: 109.5 kB / 474.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.132, allocations: 8 kB / 474.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1321, allocations: 4.031 kB / 474.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1321, allocations: 0 / 474.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1322, allocations: 19.98 kB / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1322, allocations: 8.25 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.042e-05/0.1323, allocations: 11.92 kB / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.1323, allocations: 8 kB / 474.9 MB, free: 8.441 MB / 350.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 7.692e-05/0.1324, allocations: 113.8 kB / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.1324, allocations: 7.906 kB / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.1327, allocations: 130.3 kB / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1328, allocations: 0 / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1328, allocations: 7.938 kB / 475.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1328, allocations: 7.922 kB / 475.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.1333, allocations: 386.5 kB / 475.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1333, allocations: 0 / 475.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.156e-05/0.1334, allocations: 19.92 kB / 475.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1334, allocations: 8.219 kB / 475.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.1334, allocations: 0 / 475.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1334, allocations: 0 / 475.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1334, allocations: 0 / 475.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.1337, allocations: 219.4 kB / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.1338, allocations: 85.02 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.1338, allocations: 3.938 kB / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.439e-05/0.1339, allocations: 11.98 kB / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.1339, allocations: 7.984 kB / 475.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.1339, allocations: 0 / 475.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.801e-05/0.134, allocations: 116 kB / 476 MB, free: 7.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.134, allocations: 0 / 476 MB, free: 7.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1343, allocations: 31.98 kB / 476 MB, free: 7.203 MB / 350.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.001391/0.1357, allocations: 1.074 MB / 477.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002944/0.136, allocations: 83.88 kB / 477.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.136, allocations: 4 kB / 477.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.1362, allocations: 35.97 kB / 477.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.1365, allocations: 24.17 kB / 477.3 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.1382, allocations: 1.54 MB / 478.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.1385, allocations: 0.6923 MB / 479.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.11e-05/0.1386, allocations: 17.12 kB / 479.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.1386, allocations: 31.36 kB / 479.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1386, allocations: 0 / 479.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.1708, allocations: 2.959 MB / 482.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/7.847, allocations: 15.02 kB / 482.5 MB, free: 0.8438 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches