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.0009655/0.0009654, allocations: 96.94 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.0009066/0.0009066, allocations: 179.3 kB / 16.91 MB, free: 6.648 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.4 MB / 223.1 MB, free: 5.191 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.3785/0.3785, allocations: 43.57 MB / 315 MB, free: 8.957 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.0005249/0.0005249, allocations: 18.66 kB / 384.7 MB, free: 7.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1293, allocations: 58.86 MB / 443.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.002007/0.1314, allocations: 1.347 MB / 444.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008381/0.1322, allocations: 0.6566 MB / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.466e-05/0.1323, allocations: 0 / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.1325, allocations: 23.91 kB / 445.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.1327, allocations: 39.89 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.777e-06/0.1327, allocations: 0 / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.1328, allocations: 47.88 kB / 445.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.1329, allocations: 0 / 445.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.776e-05/0.1329, allocations: 15.88 kB / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.503e-05/0.133, allocations: 27.91 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.133, allocations: 0 / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.461e-05/0.1331, allocations: 8 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.141e-05/0.1331, allocations: 23.92 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.769e-05/0.1332, allocations: 49.5 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.1333, allocations: 60.02 kB / 445.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1334, allocations: 0 / 445.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1334, allocations: 0 / 445.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1334, allocations: 4 kB / 445.8 MB, free: 10.24 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.000391/0.1338, allocations: 355.3 kB / 446.2 MB, free: 9.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.1338, allocations: 8.031 kB / 446.2 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.865e-05/0.1339, allocations: 42.73 kB / 446.2 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.1339, allocations: 8.844 kB / 446.2 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.1341, allocations: 168.3 kB / 446.4 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.1341, allocations: 12.34 kB / 446.4 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.1341, allocations: 4.375 kB / 446.4 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.1343, allocations: 123.3 kB / 446.5 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1343, allocations: 3.938 kB / 446.6 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1343, allocations: 7.938 kB / 446.6 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.743e-05/0.1344, allocations: 23.97 kB / 446.6 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.607e-05/0.1345, allocations: 47.8 kB / 446.6 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006162/0.1351, allocations: 0.8983 MB / 447.5 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.396e-05/0.1352, allocations: 169.2 kB / 447.7 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/0.1352, allocations: 96.11 kB / 447.8 MB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.1353, allocations: 75.28 kB / 447.9 MB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.886e-05/0.1353, allocations: 109.8 kB / 448 MB, free: 7.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.1353, allocations: 0 / 448 MB, free: 7.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.068e-05/0.1354, allocations: 33.61 kB / 448 MB, free: 7.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.1355, allocations: 130.6 kB / 448.1 MB, free: 7.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.1357, allocations: 186.1 kB / 448.3 MB, free: 7.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.1357, allocations: 25.7 kB / 448.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.647e-05/0.1358, allocations: 147.1 kB / 448.5 MB, free: 7.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.429e-06/0.1358, allocations: 3.984 kB / 448.5 MB, free: 7.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.1358, allocations: 25.72 kB / 448.5 MB, free: 7.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1359, allocations: 322.8 kB / 448.8 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.384e-05/0.136, allocations: 27.98 kB / 448.9 MB, free: 6.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.1361, allocations: 153.1 kB / 449 MB, free: 6.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.1363, allocations: 208.8 kB / 449.2 MB, free: 6.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1363, allocations: 0 / 449.2 MB, free: 6.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002786/0.1366, allocations: 201.2 kB / 449.4 MB, free: 6.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1366, allocations: 8 kB / 449.4 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1366, allocations: 4 kB / 449.4 MB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1367, allocations: 8 kB / 449.4 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.1368, allocations: 35.92 kB / 449.5 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.1368, allocations: 7.938 kB / 449.5 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.45e-05/0.1369, allocations: 20.33 kB / 449.5 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.1369, allocations: 20 kB / 449.5 MB, free: 6.176 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.0001158/0.137, allocations: 209 kB / 449.7 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.1371, allocations: 116.8 kB / 449.8 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.617e-05/0.1372, allocations: 116.8 kB / 449.9 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.847e-05/0.1372, allocations: 180.3 kB / 450.1 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.809e-05/0.1373, allocations: 184.2 kB / 450.3 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.98e-05/0.1374, allocations: 180.2 kB / 450.5 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.1376, allocations: 425.2 kB / 450.9 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.854e-05/0.1377, allocations: 112.8 kB / 451 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.003e-05/0.1377, allocations: 105 kB / 451.1 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.038e-05/0.1378, allocations: 184.2 kB / 451.3 MB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/0.1378, allocations: 180.3 kB / 451.5 MB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.265e-05/0.1379, allocations: 176.3 kB / 451.6 MB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.707e-05/0.1379, allocations: 184.2 kB / 451.8 MB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.1381, allocations: 315.6 kB / 452.1 MB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.1381, allocations: 193.9 kB / 452.3 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.329e-05/0.1382, allocations: 180.2 kB / 452.5 MB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/0.1383, allocations: 108.9 kB / 452.6 MB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.1384, allocations: 176.3 kB / 452.8 MB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.1384, allocations: 108.9 kB / 452.9 MB, free: 2.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.767e-05/0.1385, allocations: 132 kB / 453 MB, free: 2.461 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1385, allocations: 0 / 453 MB, free: 2.461 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1388, allocations: 20 kB / 453 MB, free: 2.441 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.0007335/0.1395, allocations: 0.9116 MB / 453.9 MB, free: 1.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.1397, allocations: 84.17 kB / 454 MB, free: 1.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1397, allocations: 0 / 454 MB, free: 1.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.1397, allocations: 0 / 454 MB, free: 1.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.1401, allocations: 0.5388 MB / 454.5 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2218/0.3619, allocations: 1.877 MB / 456.4 MB, free: 45.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.3621, allocations: 0.6975 MB / 457.1 MB, free: 44.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002187/0.3623, allocations: 54.89 kB / 457.2 MB, free: 44.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.3624, allocations: 24.91 kB / 457.2 MB, free: 44.96 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3624, allocations: 3.812 kB / 457.2 MB, free: 44.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.3878, allocations: 1.719 MB / 458.9 MB, free: 44.81 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.388, allocations: 236.1 kB / 459.1 MB, free: 44.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.171, allocations: 0 / 459.1 MB, free: 44.55 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