Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.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.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23",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.0008878/0.0008879, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008465/0.0008466, allocations: 184.8 kB / 16.92 MB, free: 6.918 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.446/1.446, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.3439/0.3439, allocations: 43.57 MB / 315 MB, free: 8.809 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.0005573/0.0005574, allocations: 12 kB / 384.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1266, allocations: 58.87 MB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002735/0.1294, allocations: 1.726 MB / 445.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.131, allocations: 1.058 MB / 446.3 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.221e-05/0.1311, allocations: 0 / 446.3 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.1314, allocations: 39.77 kB / 446.4 MB, free: 9.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.1317, allocations: 139.5 kB / 446.5 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1328, allocations: 0.5304 MB / 447 MB, free: 9.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003487/0.1332, allocations: 295 kB / 447.3 MB, free: 8.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.1334, allocations: 76.5 kB / 447.4 MB, free: 8.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.1336, allocations: 111.5 kB / 447.5 MB, free: 8.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.1338, allocations: 183.2 kB / 447.7 MB, free: 8.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.1339, allocations: 12 kB / 447.7 MB, free: 8.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.134, allocations: 32 kB / 447.7 MB, free: 8.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.1341, allocations: 135.6 kB / 447.9 MB, free: 8.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.1343, allocations: 188.3 kB / 448 MB, free: 8.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003893/0.1347, allocations: 382.3 kB / 448.4 MB, free: 7.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1347, allocations: 0 / 448.4 MB, free: 7.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1347, allocations: 4 kB / 448.4 MB, free: 7.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.1347, allocations: 0 / 448.4 MB, free: 7.656 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001013/0.1358, allocations: 0.7311 MB / 449.2 MB, free: 6.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1358, allocations: 8.031 kB / 449.2 MB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.968e-05/0.1359, allocations: 42.69 kB / 449.2 MB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.421e-05/0.136, allocations: 56.19 kB / 449.3 MB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/0.1365, allocations: 471.7 kB / 449.7 MB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1365, allocations: 4.375 kB / 449.7 MB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.1366, allocations: 15.94 kB / 449.7 MB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.1369, allocations: 171.2 kB / 449.9 MB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1369, allocations: 0 / 449.9 MB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.137, allocations: 8 kB / 449.9 MB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.137, allocations: 0 / 449.9 MB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.1373, allocations: 139.9 kB / 450.1 MB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.1383, allocations: 0.7307 MB / 450.8 MB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.1386, allocations: 145.2 kB / 450.9 MB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.1388, allocations: 81.73 kB / 451 MB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.1388, allocations: 4 kB / 451 MB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.1389, allocations: 42.5 kB / 451.1 MB, free: 4.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.1389, allocations: 224 / 451.1 MB, free: 4.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002112/0.141, allocations: 0.8139 MB / 451.9 MB, free: 4.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.1411, allocations: 85.11 kB / 451.9 MB, free: 3.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000917/0.142, allocations: 0.8906 MB / 452.8 MB, free: 3.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.142, allocations: 29.7 kB / 452.9 MB, free: 2.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.1422, allocations: 252.4 kB / 453.1 MB, free: 2.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.834e-05/0.1423, allocations: 70.98 kB / 453.2 MB, free: 2.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.1423, allocations: 21.72 kB / 453.2 MB, free: 2.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1425, allocations: 378.7 kB / 453.6 MB, free: 2.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.1428, allocations: 123.9 kB / 453.7 MB, free: 2.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.1431, allocations: 149.6 kB / 453.8 MB, free: 1.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006103/0.1437, allocations: 285.7 kB / 454.1 MB, free: 1.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1437, allocations: 0 / 454.1 MB, free: 1.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007455/0.1445, allocations: 380.6 kB / 454.5 MB, free: 1.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1445, allocations: 4 kB / 454.5 MB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1445, allocations: 0 / 454.5 MB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1446, allocations: 4.75 kB / 454.5 MB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.1448, allocations: 59.89 kB / 454.6 MB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1449, allocations: 3.984 kB / 454.6 MB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.1451, allocations: 35.98 kB / 454.6 MB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.1451, allocations: 7.984 kB / 454.6 MB, free: 1.195 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0002285/0.1453, allocations: 217.7 kB / 454.8 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.315e-05/0.1454, allocations: 51.34 kB / 454.9 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009245/0.1464, allocations: 442 kB / 455.3 MB, free: 492 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.1464, allocations: 4 kB / 455.3 MB, free: 488 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1464, allocations: 0 / 455.3 MB, free: 488 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.1464, allocations: 3.984 kB / 455.3 MB, free: 484 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2123/0.3587, allocations: 0.9823 MB / 456.3 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.3587, allocations: 0 / 456.3 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.359, allocations: 62.97 kB / 456.4 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.359, allocations: 0 / 456.4 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.3591, allocations: 9.281 kB / 456.4 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.3591, allocations: 5.766 kB / 456.4 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.3591, allocations: 0 / 456.4 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008948/0.36, allocations: 0.5409 MB / 456.9 MB, free: 45.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.3601, allocations: 154.4 kB / 457.1 MB, free: 45.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.3602, allocations: 4.688 kB / 457.1 MB, free: 45.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.3605, allocations: 33.75 kB / 457.1 MB, free: 45.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.3606, allocations: 23.38 kB / 457.1 MB, free: 45.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.3606, allocations: 7.625 kB / 457.1 MB, free: 45.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007512/0.3613, allocations: 0.6532 MB / 457.8 MB, free: 45.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3614, allocations: 0 / 457.8 MB, free: 45.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003877/0.3617, allocations: 58.75 kB / 457.8 MB, free: 45.74 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.001978/0.3637, allocations: 1.388 MB / 459.2 MB, free: 44.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000681/0.3644, allocations: 299.6 kB / 459.5 MB, free: 44.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3644, allocations: 4 kB / 459.5 MB, free: 44.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.3647, allocations: 154.8 kB / 459.7 MB, free: 44.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007185/0.3655, allocations: 83.19 kB / 459.8 MB, free: 44.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006824/0.3723, allocations: 5.721 MB / 465.5 MB, free: 42.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.3726, allocations: 0.8774 MB / 466.4 MB, free: 42.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002381/0.3729, allocations: 107.6 kB / 466.5 MB, free: 42.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.3731, allocations: 173.3 kB / 466.6 MB, free: 42.17 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3731, allocations: 0 / 466.6 MB, free: 42.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03848/0.4116, allocations: 9.427 MB / 476.1 MB, free: 41.3 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/0.4118, allocations: 235.5 kB / 476.3 MB, free: 41.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/2.427, allocations: 0 / 476.3 MB, free: 41.04 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches