Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6",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.0007578/0.0007578, 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.001042/0.001042, allocations: 183 kB / 16.92 MB, free: 6.688 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.498/1.498, allocations: 205.4 MB / 223.1 MB, free: 5.473 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.42/0.42, allocations: 43.58 MB / 315 MB, free: 8.855 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.0005239/0.000524, allocations: 16 kB / 384.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1255, allocations: 58.86 MB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.002026/0.1275, allocations: 1.341 MB / 444.9 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006375/0.1282, allocations: 315.7 kB / 445.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.1282, allocations: 0 / 445.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005405/0.1288, allocations: 447.2 kB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.1291, allocations: 243.5 kB / 445.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.1294, allocations: 107.8 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.1296, allocations: 159.7 kB / 446.1 MB, free: 9.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.224e-05/0.1297, allocations: 12.47 kB / 446.1 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.1298, allocations: 103.8 kB / 446.2 MB, free: 9.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.1301, allocations: 207.5 kB / 446.4 MB, free: 9.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.1301, allocations: 0 / 446.4 MB, free: 9.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.775e-05/0.1302, allocations: 28 kB / 446.5 MB, free: 9.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1303, allocations: 87.61 kB / 446.6 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.1304, allocations: 128.7 kB / 446.7 MB, free: 9.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.1307, allocations: 242.9 kB / 446.9 MB, free: 9.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1307, allocations: 0 / 446.9 MB, free: 9.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1307, allocations: 0 / 446.9 MB, free: 9.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.1307, allocations: 4 kB / 446.9 MB, free: 9.164 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.0007946/0.1315, allocations: 0.6067 MB / 447.5 MB, free: 8.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1316, allocations: 8.031 kB / 447.5 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.557e-05/0.1316, allocations: 34.73 kB / 447.6 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.1316, allocations: 44.38 kB / 447.6 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.1319, allocations: 296.2 kB / 447.9 MB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.132, allocations: 8.375 kB / 447.9 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.132, allocations: 8.031 kB / 447.9 MB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.1322, allocations: 65.67 kB / 448 MB, free: 8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1322, allocations: 0 / 448 MB, free: 8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1322, allocations: 0 / 448 MB, free: 8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1322, allocations: 3.938 kB / 448 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.1323, allocations: 39.97 kB / 448 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.1328, allocations: 400.6 kB / 448.4 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.133, allocations: 46.55 kB / 448.5 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.846e-05/0.1331, allocations: 28.94 kB / 448.5 MB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.1331, allocations: 7.984 kB / 448.5 MB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.1331, allocations: 30.56 kB / 448.5 MB, free: 7.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1331, allocations: 0 / 448.5 MB, free: 7.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008071/0.1339, allocations: 319.9 kB / 448.8 MB, free: 7.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.134, allocations: 55.41 kB / 448.9 MB, free: 6.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008212/0.1348, allocations: 0.8574 MB / 449.8 MB, free: 6.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1348, allocations: 29.7 kB / 449.8 MB, free: 6.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.135, allocations: 216 kB / 450 MB, free: 5.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.135, allocations: 19.66 kB / 450 MB, free: 5.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.1351, allocations: 13.72 kB / 450 MB, free: 5.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1353, allocations: 362.8 kB / 450.4 MB, free: 5.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.1354, allocations: 48.03 kB / 450.4 MB, free: 5.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.1355, allocations: 43.91 kB / 450.5 MB, free: 5.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.1357, allocations: 89.05 kB / 450.6 MB, free: 5.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1357, allocations: 0 / 450.6 MB, free: 5.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003145/0.1361, allocations: 165.1 kB / 450.7 MB, free: 5.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1361, allocations: 8 kB / 450.7 MB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.1361, allocations: 0 / 450.7 MB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1361, allocations: 4 kB / 450.7 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1362, allocations: 19.98 kB / 450.7 MB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.1363, allocations: 11.88 kB / 450.8 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.723e-05/0.1363, allocations: 15.92 kB / 450.8 MB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1364, allocations: 4 kB / 450.8 MB, free: 5.066 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 (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 0.0001958/0.1366, allocations: 217.8 kB / 451 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.1366, allocations: 35.53 kB / 451 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.137, allocations: 185.3 kB / 451.2 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.137, allocations: 0 / 451.2 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.137, allocations: 3.938 kB / 451.2 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.137, allocations: 0 / 451.2 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006436/0.1377, allocations: 0.5062 MB / 451.7 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1377, allocations: 0 / 451.7 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.177e-05/0.1378, allocations: 19.98 kB / 451.7 MB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1378, allocations: 7.938 kB / 451.7 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.1378, allocations: 0 / 451.7 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1378, allocations: 0 / 451.7 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1378, allocations: 4 kB / 451.7 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.1382, allocations: 263 kB / 452 MB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.1383, allocations: 120.5 kB / 452.1 MB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.1383, allocations: 3.938 kB / 452.1 MB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.1384, allocations: 15.98 kB / 452.1 MB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.1385, allocations: 11.98 kB / 452.2 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.1385, allocations: 0 / 452.2 MB, free: 3.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006256/0.1391, allocations: 0.6472 MB / 452.8 MB, free: 2.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1391, allocations: 4 kB / 452.8 MB, free: 2.934 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000244/0.1394, allocations: 24 kB / 452.8 MB, free: 2.91 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 (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.001403/0.1408, allocations: 1.101 MB / 453.9 MB, free: 1.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002827/0.1411, allocations: 95.94 kB / 454 MB, free: 1.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1411, allocations: 3.938 kB / 454 MB, free: 1.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.1413, allocations: 55.91 kB / 454.1 MB, free: 1.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.1417, allocations: 26.27 kB / 454.1 MB, free: 1.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.219/0.3607, allocations: 3.408 MB / 457.5 MB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.361, allocations: 0.8232 MB / 458.3 MB, free: 44.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.484e-05/0.3611, allocations: 7.453 kB / 458.3 MB, free: 44.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.3612, allocations: 107.9 kB / 458.5 MB, free: 44.37 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3612, allocations: 3.281 kB / 458.5 MB, free: 44.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.3906, allocations: 5.468 MB / 463.9 MB, free: 43.99 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/0.3908, allocations: 248.9 kB / 464.2 MB, free: 43.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.299, allocations: 1.531 kB / 464.2 MB, free: 43.72 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches