Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7",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.001504/0.001505, allocations: 104.8 kB / 16.27 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 188.1 kB / 17.19 MB, free: 5.613 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.509/1.509, allocations: 205.1 MB / 223.1 MB, free: 12.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2271/0.2271, allocations: 43.52 MB / 313.9 MB, free: 0.5078 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.001771/0.001771, allocations: 65.2 kB / 382.8 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1272, allocations: 57.8 MB / 440.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.003508/0.1307, allocations: 1.542 MB / 442.2 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006293/0.1314, allocations: 315.5 kB / 442.5 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.1315, allocations: 0 / 442.5 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004788/0.132, allocations: 451.2 kB / 442.9 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.1323, allocations: 255.4 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.1326, allocations: 111.4 kB / 443.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.1328, allocations: 143.7 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1329, allocations: 20.25 kB / 443.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.361e-05/0.133, allocations: 103.7 kB / 443.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.1332, allocations: 199.7 kB / 443.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.1332, allocations: 8 kB / 443.7 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.888e-05/0.1333, allocations: 23.97 kB / 443.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.041e-05/0.1334, allocations: 79.64 kB / 443.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.107e-05/0.1335, allocations: 103 kB / 443.9 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.1337, allocations: 243 kB / 444.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1337, allocations: 0 / 444.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1337, allocations: 0 / 444.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1337, allocations: 0 / 444.2 MB, free: 3.203 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006074/0.1344, allocations: 0.6297 MB / 444.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1344, allocations: 11.89 kB / 444.8 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.1344, allocations: 34.75 kB / 444.9 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.1345, allocations: 44.38 kB / 444.9 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.1347, allocations: 292.2 kB / 445.2 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.1347, allocations: 384 / 445.2 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.1347, allocations: 8.375 kB / 445.2 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.1349, allocations: 53.55 kB / 445.2 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.1349, allocations: 0 / 445.2 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1349, allocations: 4 kB / 445.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1349, allocations: 0 / 445.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.559e-05/0.135, allocations: 27.98 kB / 445.3 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.1354, allocations: 368.8 kB / 445.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.841e-05/0.1355, allocations: 34.5 kB / 445.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.1355, allocations: 16.91 kB / 445.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.1355, allocations: 0 / 445.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.1356, allocations: 34.56 kB / 445.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1356, allocations: 3.938 kB / 445.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002502/0.1358, allocations: 93.12 kB / 445.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.1359, allocations: 59.34 kB / 445.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006185/0.1365, allocations: 0.8613 MB / 446.7 MB, free: 456 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.1365, allocations: 29.64 kB / 446.8 MB, free: 420 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.1366, allocations: 232.1 kB / 447 MB, free: 184 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.1367, allocations: 3.906 kB / 447 MB, free: 180 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.1367, allocations: 13.72 kB / 447 MB, free: 160 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.1369, allocations: 362.7 kB / 447.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.662e-05/0.137, allocations: 11.98 kB / 447.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.175e-05/0.137, allocations: 4 kB / 447.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.024e-05/0.1371, allocations: 24.91 kB / 447.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1371, allocations: 4 kB / 447.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000159/0.1373, allocations: 89.16 kB / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.1373, allocations: 4 kB / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1373, allocations: 3.984 kB / 447.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.1374, allocations: 0 / 447.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.987e-05/0.1375, allocations: 4 kB / 447.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.1375, allocations: 0 / 447.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.1375, allocations: 7.906 kB / 447.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1376, allocations: 0 / 447.5 MB, free: 15.63 MB / 334.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 (2): * Single equations (assignments): 2 * 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.0002404/0.1378, allocations: 225.7 kB / 447.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/0.1379, allocations: 43.52 kB / 447.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.1381, allocations: 100.6 kB / 447.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1381, allocations: 0 / 447.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.1381, allocations: 0 / 447.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1381, allocations: 0 / 447.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.1385, allocations: 293.5 kB / 448.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1385, allocations: 4.031 kB / 448.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-05/0.1386, allocations: 7.938 kB / 448.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1386, allocations: 3.984 kB / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1386, allocations: 0 / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1386, allocations: 0 / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1386, allocations: 0 / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.1389, allocations: 186.9 kB / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.139, allocations: 116.7 kB / 448.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.139, allocations: 0 / 448.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.861e-05/0.1391, allocations: 8 kB / 448.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.1392, allocations: 0 / 448.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.1392, allocations: 0 / 448.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008664/0.1401, allocations: 0.6589 MB / 449.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1401, allocations: 0 / 449.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.1404, allocations: 19.88 kB / 449.2 MB, free: 13.89 MB / 334.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 (2): * Single equations (assignments): 2 * 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.001641/0.142, allocations: 0.9639 MB / 450.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.1422, allocations: 19.98 kB / 450.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1422, allocations: 0 / 450.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.517e-05/0.1423, allocations: 15.92 kB / 450.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005502/0.1428, allocations: 24 kB / 450.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004644/0.1475, allocations: 3.145 MB / 453.3 MB, free: 9.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005804/0.1481, allocations: 0.818 MB / 454.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.365e-05/0.1482, allocations: 7.984 kB / 454.2 MB, free: 8.828 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.1483, allocations: 107.4 kB / 454.3 MB, free: 8.723 MB / 334.1 MB Notification: Performance of SimCode: time 2.294e-06/0.1483, allocations: 0 / 454.3 MB, free: 8.723 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.1742, allocations: 5.576 MB / 459.8 MB, free: 3.121 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.204/8.378, allocations: 7.219 kB / 459.8 MB, free: 3.117 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches