Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5",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.0009003/0.0009007, allocations: 102.2 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.001011/0.001011, allocations: 186 kB / 16.92 MB, free: 6.914 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.635/1.635, allocations: 205.4 MB / 223.1 MB, free: 5.5 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.3654/0.3654, allocations: 43.58 MB / 315 MB, free: 9.039 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.0005447/0.0005446, allocations: 16 kB / 384.7 MB, free: 7.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1221, allocations: 58.86 MB / 443.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.001922/0.1241, allocations: 1.321 MB / 444.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006149/0.1247, allocations: 323.6 kB / 445.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.807e-05/0.1248, allocations: 0 / 445.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005171/0.1253, allocations: 447.2 kB / 445.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.1256, allocations: 251.5 kB / 445.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.1259, allocations: 95.81 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.1261, allocations: 155.7 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1262, allocations: 16.45 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.1263, allocations: 103.7 kB / 446.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.1266, allocations: 191.6 kB / 446.4 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.1266, allocations: 0 / 446.4 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.237e-05/0.1267, allocations: 43.92 kB / 446.5 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.1268, allocations: 83.67 kB / 446.5 MB, free: 9.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.403e-05/0.1269, allocations: 120.7 kB / 446.7 MB, free: 9.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.1272, allocations: 246.9 kB / 446.9 MB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1272, allocations: 4 kB / 446.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1272, allocations: 0 / 446.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1272, allocations: 0 / 446.9 MB, free: 9.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000692/0.1279, allocations: 0.5911 MB / 447.5 MB, free: 8.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1279, allocations: 16.03 kB / 447.5 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.128, allocations: 30.75 kB / 447.5 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.1281, allocations: 40.47 kB / 447.6 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.1283, allocations: 296.1 kB / 447.9 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1283, allocations: 384 / 447.9 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.1284, allocations: 12.12 kB / 447.9 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.1285, allocations: 53.66 kB / 447.9 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1285, allocations: 4 kB / 447.9 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1286, allocations: 4 kB / 447.9 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1286, allocations: 11.92 kB / 447.9 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.667e-05/0.1287, allocations: 27.92 kB / 448 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.1291, allocations: 392.6 kB / 448.4 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.1294, allocations: 46.56 kB / 448.4 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/0.1294, allocations: 16.86 kB / 448.4 MB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1295, allocations: 4.031 kB / 448.4 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.1295, allocations: 38.48 kB / 448.5 MB, free: 7.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1295, allocations: 0 / 448.5 MB, free: 7.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006405/0.1301, allocations: 240 kB / 448.7 MB, free: 7.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.1302, allocations: 55.41 kB / 448.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008299/0.131, allocations: 0.8652 MB / 449.6 MB, free: 6.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1311, allocations: 25.7 kB / 449.6 MB, free: 6.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.1312, allocations: 224.1 kB / 449.9 MB, free: 6.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.1313, allocations: 19.66 kB / 449.9 MB, free: 6.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.1313, allocations: 13.72 kB / 449.9 MB, free: 6.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1315, allocations: 358.8 kB / 450.2 MB, free: 5.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.208e-05/0.1316, allocations: 23.98 kB / 450.3 MB, free: 5.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.41e-05/0.1316, allocations: 23.98 kB / 450.3 MB, free: 5.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.1318, allocations: 52.83 kB / 450.3 MB, free: 5.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1318, allocations: 0 / 450.3 MB, free: 5.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002106/0.132, allocations: 129.1 kB / 450.5 MB, free: 5.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.132, allocations: 4 kB / 450.5 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.132, allocations: 0 / 450.5 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1321, allocations: 0 / 450.5 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.5e-05/0.1321, allocations: 15.98 kB / 450.5 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.1322, allocations: 3.938 kB / 450.5 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.749e-05/0.1322, allocations: 8 kB / 450.5 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1322, allocations: 0 / 450.5 MB, free: 5.59 MB / 382.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 (5): * Single equations (assignments): 5 * 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.0001843/0.1324, allocations: 217.8 kB / 450.7 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.1325, allocations: 43.44 kB / 450.8 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002814/0.1328, allocations: 141.2 kB / 450.9 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1328, allocations: 0 / 450.9 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.1328, allocations: 11.92 kB / 450.9 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1328, allocations: 0 / 450.9 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000551/0.1334, allocations: 466.5 kB / 451.4 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1334, allocations: 0 / 451.4 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.1334, allocations: 15.98 kB / 451.4 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1335, allocations: 7.938 kB / 451.4 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.1335, allocations: 3.938 kB / 451.4 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1335, allocations: 4 kB / 451.4 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1335, allocations: 0 / 451.4 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.1337, allocations: 218.9 kB / 451.6 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.569e-05/0.1338, allocations: 124.5 kB / 451.7 MB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.1339, allocations: 3.938 kB / 451.7 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.212e-05/0.1339, allocations: 4 kB / 451.7 MB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.134, allocations: 7.984 kB / 451.7 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-06/0.134, allocations: 0 / 451.7 MB, free: 4.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006052/0.1346, allocations: 0.6511 MB / 452.4 MB, free: 3.586 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1346, allocations: 0 / 452.4 MB, free: 3.586 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.1349, allocations: 23.98 kB / 452.4 MB, free: 3.562 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 (5): * Single equations (assignments): 5 * 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.001401/0.1363, allocations: 1.066 MB / 453.5 MB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.1365, allocations: 51.97 kB / 453.5 MB, free: 2.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1365, allocations: 3.938 kB / 453.5 MB, free: 2.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.972e-05/0.1366, allocations: 31.92 kB / 453.6 MB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.137, allocations: 33.89 kB / 453.6 MB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2054/0.3424, allocations: 3.308 MB / 456.9 MB, free: 45.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.3429, allocations: 0.8243 MB / 457.7 MB, free: 44.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.49e-05/0.343, allocations: 9.5 kB / 457.7 MB, free: 44.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.3431, allocations: 99.45 kB / 457.8 MB, free: 44.65 MB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.3431, allocations: 0 / 457.8 MB, free: 44.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.3652, allocations: 5.388 MB / 463.2 MB, free: 44.27 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/0.3654, allocations: 238 kB / 463.5 MB, free: 44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.28, allocations: 0 / 463.5 MB, free: 44 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches