Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22",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.0007771/0.0007765, allocations: 97.33 kB / 16.02 MB, free: 84 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.0008808/0.0008808, allocations: 180.3 kB / 16.92 MB, free: 6.676 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.555/1.555, allocations: 205.4 MB / 223.1 MB, free: 5.566 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.3716/0.3716, allocations: 43.58 MB / 315 MB, free: 9.117 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.0004649/0.0004649, allocations: 12 kB / 384.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1285, allocations: 58.86 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.00267/0.1312, allocations: 1.652 MB / 445.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.1329, allocations: 0.9367 MB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.1331, allocations: 0 / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.1333, allocations: 35.77 kB / 446.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.1337, allocations: 123.6 kB / 446.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009904/0.1347, allocations: 383.3 kB / 446.7 MB, free: 9.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003693/0.135, allocations: 235.3 kB / 446.9 MB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.1352, allocations: 80.38 kB / 447 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.1355, allocations: 99.48 kB / 447.1 MB, free: 9.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.1357, allocations: 159.4 kB / 447.2 MB, free: 9.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.1358, allocations: 4 kB / 447.2 MB, free: 9.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1359, allocations: 39.97 kB / 447.3 MB, free: 9.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.1361, allocations: 127.6 kB / 447.4 MB, free: 8.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.1362, allocations: 184.3 kB / 447.6 MB, free: 8.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.1366, allocations: 346.6 kB / 447.9 MB, free: 8.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1366, allocations: 0 / 447.9 MB, free: 8.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1366, allocations: 0 / 447.9 MB, free: 8.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1366, allocations: 0 / 447.9 MB, free: 8.422 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.0009782/0.1376, allocations: 0.696 MB / 448.6 MB, free: 7.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.1377, allocations: 16.03 kB / 448.6 MB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.046e-05/0.1378, allocations: 34.75 kB / 448.7 MB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.1379, allocations: 52.28 kB / 448.7 MB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005475/0.1384, allocations: 455.8 kB / 449.1 MB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1384, allocations: 8.375 kB / 449.2 MB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.1385, allocations: 11.94 kB / 449.2 MB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.1387, allocations: 135.3 kB / 449.3 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1388, allocations: 3.906 kB / 449.3 MB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1388, allocations: 0 / 449.3 MB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1388, allocations: 4 kB / 449.3 MB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.139, allocations: 91.88 kB / 449.4 MB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000928/0.14, allocations: 0.6799 MB / 450.1 MB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.1402, allocations: 117.2 kB / 450.2 MB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.686e-05/0.1403, allocations: 41.83 kB / 450.2 MB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.1403, allocations: 7.938 kB / 450.2 MB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.1404, allocations: 34.56 kB / 450.3 MB, free: 5.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1404, allocations: 0 / 450.3 MB, free: 5.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001398/0.1418, allocations: 0.549 MB / 450.8 MB, free: 5.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.1418, allocations: 77.11 kB / 450.9 MB, free: 5.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009561/0.1428, allocations: 0.8779 MB / 451.8 MB, free: 4.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.1428, allocations: 29.7 kB / 451.8 MB, free: 4.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.143, allocations: 252.2 kB / 452.1 MB, free: 4.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/0.1431, allocations: 51.19 kB / 452.1 MB, free: 3.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.1431, allocations: 21.7 kB / 452.1 MB, free: 3.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1433, allocations: 374.7 kB / 452.5 MB, free: 3.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.1435, allocations: 59.97 kB / 452.5 MB, free: 3.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.1436, allocations: 81.67 kB / 452.6 MB, free: 3.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.144, allocations: 153.6 kB / 452.8 MB, free: 3.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.144, allocations: 0 / 452.8 MB, free: 3.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004592/0.1445, allocations: 240.9 kB / 453 MB, free: 3.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1445, allocations: 8 kB / 453 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1445, allocations: 0 / 453 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1445, allocations: 0 / 453 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.1447, allocations: 43.97 kB / 453.1 MB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1447, allocations: 0 / 453.1 MB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.1449, allocations: 19.98 kB / 453.1 MB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.1449, allocations: 8 kB / 453.1 MB, free: 2.949 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 (16): * Single equations (assignments): 16 * 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.0001845/0.1451, allocations: 209.7 kB / 453.3 MB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.984e-05/0.1452, allocations: 55.25 kB / 453.4 MB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005743/0.1458, allocations: 298.5 kB / 453.6 MB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1458, allocations: 0 / 453.6 MB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1458, allocations: 4 kB / 453.6 MB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1458, allocations: 0 / 453.6 MB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.1469, allocations: 0.7825 MB / 454.4 MB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1469, allocations: 0 / 454.4 MB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.147, allocations: 44.47 kB / 454.5 MB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1471, allocations: 4 kB / 454.5 MB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.1471, allocations: 11.98 kB / 454.5 MB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.1471, allocations: 7.938 kB / 454.5 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1471, allocations: 0 / 454.5 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.1476, allocations: 417.7 kB / 454.9 MB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.1478, allocations: 148.4 kB / 455 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.1478, allocations: 4 kB / 455.1 MB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.148, allocations: 27.86 kB / 455.1 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.1481, allocations: 19.97 kB / 455.1 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.1481, allocations: 4 kB / 455.1 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006974/0.1488, allocations: 0.6393 MB / 455.7 MB, free: 192 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1488, allocations: 0 / 455.7 MB, free: 192 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003565/0.1492, allocations: 51.98 kB / 455.8 MB, free: 140 kB / 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 (16): * Single equations (assignments): 16 * 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.2417/0.3909, allocations: 1.241 MB / 457 MB, free: 45.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003938/0.3914, allocations: 164.5 kB / 457.2 MB, free: 45.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3914, allocations: 0 / 457.2 MB, free: 45.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.3916, allocations: 85.03 kB / 457.3 MB, free: 45.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006713/0.3922, allocations: 77.58 kB / 457.4 MB, free: 45.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004966/0.3972, allocations: 5.216 MB / 462.6 MB, free: 43.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.3975, allocations: 0.8549 MB / 463.4 MB, free: 42.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001692/0.3977, allocations: 81.06 kB / 463.5 MB, free: 42.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.3978, allocations: 162.1 kB / 463.7 MB, free: 42.89 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3979, allocations: 4 kB / 463.7 MB, free: 42.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.4163, allocations: 8.749 MB / 472.4 MB, free: 42.08 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.4166, allocations: 239.3 kB / 472.6 MB, free: 41.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.032/2.449, allocations: 3.312 kB / 472.7 MB, free: 41.82 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches