Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",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.001386/0.001386, allocations: 96.14 kB / 15.87 MB, free: 16 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.001426/0.001426, allocations: 203.2 kB / 16.79 MB, free: 6.84 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.332/1.332, allocations: 205.1 MB / 222.6 MB, free: 4.766 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.3609/0.3609, allocations: 43.5 MB / 313.5 MB, free: 8.543 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.001351/0.001351, allocations: 74.55 kB / 382.1 MB, free: 8.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1264, allocations: 57.79 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.003438/0.1299, allocations: 2.002 MB / 441.9 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1311, allocations: 0.6628 MB / 442.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.214e-05/0.1312, allocations: 4 kB / 442.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004869/0.1317, allocations: 243.5 kB / 442.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.1321, allocations: 179.5 kB / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009398/0.133, allocations: 415.3 kB / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003581/0.1334, allocations: 263.3 kB / 443.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.1336, allocations: 72.91 kB / 443.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.1338, allocations: 119.5 kB / 443.9 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.1341, allocations: 191.3 kB / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.1341, allocations: 8 kB / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.1343, allocations: 63.95 kB / 444.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.1344, allocations: 83.69 kB / 444.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1345, allocations: 119 kB / 444.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.1349, allocations: 302.9 kB / 444.6 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1349, allocations: 0 / 444.6 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1349, allocations: 0 / 444.6 MB, free: 10.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1349, allocations: 0 / 444.6 MB, free: 10.05 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008515/0.1358, allocations: 0.6379 MB / 445.2 MB, free: 9.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1358, allocations: 12.03 kB / 445.3 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.464e-05/0.1359, allocations: 46.73 kB / 445.3 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.136, allocations: 36.47 kB / 445.3 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.1363, allocations: 318.1 kB / 445.6 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1363, allocations: 12.38 kB / 445.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.1364, allocations: 12.38 kB / 445.7 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.1366, allocations: 109.5 kB / 445.8 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.1366, allocations: 3.938 kB / 445.8 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.1367, allocations: 8 kB / 445.8 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1367, allocations: 0 / 445.8 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.1368, allocations: 67.95 kB / 445.9 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.1375, allocations: 0.4886 MB / 446.3 MB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.1376, allocations: 90.53 kB / 446.4 MB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.714e-05/0.1377, allocations: 32.84 kB / 446.5 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.1378, allocations: 4 kB / 446.5 MB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.1378, allocations: 38.5 kB / 446.5 MB, free: 7.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.515e-06/0.1378, allocations: 0 / 446.5 MB, free: 7.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008688/0.1387, allocations: 380 kB / 446.9 MB, free: 7.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.1387, allocations: 55.41 kB / 446.9 MB, free: 7.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005532/0.1393, allocations: 0.5486 MB / 447.5 MB, free: 6.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1393, allocations: 25.7 kB / 447.5 MB, free: 6.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.1395, allocations: 204.4 kB / 447.7 MB, free: 6.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.449e-05/0.1395, allocations: 67.08 kB / 447.8 MB, free: 6.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.1396, allocations: 29.72 kB / 447.8 MB, free: 6.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1398, allocations: 350.8 kB / 448.1 MB, free: 6.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1399, allocations: 51.97 kB / 448.2 MB, free: 6.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.14, allocations: 43.97 kB / 448.2 MB, free: 6.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.1403, allocations: 136.2 kB / 448.4 MB, free: 6.043 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1403, allocations: 0 / 448.4 MB, free: 6.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00035/0.1406, allocations: 197 kB / 448.6 MB, free: 5.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1406, allocations: 4 kB / 448.6 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1407, allocations: 7.938 kB / 448.6 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1407, allocations: 0 / 448.6 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.1408, allocations: 35.97 kB / 448.6 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1408, allocations: 0 / 448.6 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.255e-05/0.1409, allocations: 12 kB / 448.6 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1409, allocations: 4 kB / 448.6 MB, free: 5.781 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 (17): * Single equations (assignments): 17 * 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.0001742/0.1411, allocations: 181.6 kB / 448.8 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/0.1412, allocations: 43.44 kB / 448.8 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004304/0.1416, allocations: 233.4 kB / 449.1 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1416, allocations: 4 kB / 449.1 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1417, allocations: 0 / 449.1 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1417, allocations: 0 / 449.1 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007527/0.1424, allocations: 0.6266 MB / 449.7 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1424, allocations: 0 / 449.7 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.1425, allocations: 35.92 kB / 449.7 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1426, allocations: 8 kB / 449.7 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1426, allocations: 0 / 449.7 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.1426, allocations: 7.938 kB / 449.7 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1426, allocations: 0 / 449.7 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.143, allocations: 298.9 kB / 450 MB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.791e-05/0.1431, allocations: 116.6 kB / 450.2 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.1431, allocations: 4 kB / 450.2 MB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.1432, allocations: 19.88 kB / 450.2 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.1433, allocations: 11.98 kB / 450.2 MB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.1433, allocations: 7.984 kB / 450.2 MB, free: 4.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004291/0.1437, allocations: 407.1 kB / 450.6 MB, free: 3.703 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1437, allocations: 0 / 450.6 MB, free: 3.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.144, allocations: 47.98 kB / 450.6 MB, free: 3.656 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 (17): * Single equations (assignments): 17 * 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.002208/0.1462, allocations: 1.424 MB / 452.1 MB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003016/0.1466, allocations: 127.8 kB / 452.2 MB, free: 2.117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1466, allocations: 4 kB / 452.2 MB, free: 2.113 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.1467, allocations: 79.89 kB / 452.3 MB, free: 2.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005443/0.1473, allocations: 73.3 kB / 452.3 MB, free: 1.965 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1932/0.3404, allocations: 3.142 MB / 455.5 MB, free: 47.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.3407, allocations: 0.804 MB / 456.3 MB, free: 47.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001468/0.3408, allocations: 44.5 kB / 456.3 MB, free: 47.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.341, allocations: 124.2 kB / 456.5 MB, free: 47.23 MB / 382.1 MB Notification: Performance of SimCode: time 1.643e-06/0.341, allocations: 0 / 456.5 MB, free: 47.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.3703, allocations: 6.893 MB / 463.3 MB, free: 46.54 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/0.3706, allocations: 235.2 kB / 463.6 MB, free: 46.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.209, allocations: 0 / 463.6 MB, free: 46.29 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches