Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",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.001705/0.001705, allocations: 106.8 kB / 17.33 MB, free: 5.996 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.001866/0.001866, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 222.9 MB / 241.9 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3275/0.3275, allocations: 44.18 MB / 336.2 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 68.02 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1303, allocations: 60.82 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.004185/0.1345, allocations: 1.692 MB / 470.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008975/0.1354, allocations: 427.2 kB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.841e-05/0.1355, allocations: 0 / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.1359, allocations: 55.84 kB / 471 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.1362, allocations: 55.77 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.1367, allocations: 123.5 kB / 471.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.1369, allocations: 75.77 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1371, allocations: 19.98 kB / 471.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.725e-05/0.1372, allocations: 31.91 kB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1373, allocations: 51.77 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.1373, allocations: 4 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.1375, allocations: 51.97 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.1376, allocations: 19.92 kB / 471.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.1376, allocations: 27.81 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.1379, allocations: 111.9 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1379, allocations: 0 / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1379, allocations: 3.938 kB / 471.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1379, allocations: 0 / 471.6 MB, free: 11.88 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005771/0.1385, allocations: 407.1 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.1386, allocations: 19.95 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.1386, allocations: 30.75 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.1386, allocations: 8.844 kB / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.1388, allocations: 209.7 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.1389, allocations: 4.375 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.1389, allocations: 4.375 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.1391, allocations: 65.55 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1391, allocations: 0 / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1391, allocations: 8 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1391, allocations: 0 / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.1393, allocations: 35.97 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.1397, allocations: 312.6 kB / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.14, allocations: 54.55 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.591e-05/0.14, allocations: 24.97 kB / 472.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1401, allocations: 8 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.1401, allocations: 30.56 kB / 472.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1401, allocations: 0 / 472.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001439/0.1416, allocations: 384.9 kB / 473.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.1416, allocations: 59.41 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.1419, allocations: 189.8 kB / 473.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1419, allocations: 25.7 kB / 473.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.142, allocations: 104.1 kB / 473.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.833e-05/0.142, allocations: 43.44 kB / 473.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.1421, allocations: 25.66 kB / 473.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1422, allocations: 322.8 kB / 473.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.1423, allocations: 47.97 kB / 473.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.1424, allocations: 39.97 kB / 474 MB, free: 9.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.1427, allocations: 96.8 kB / 474.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1427, allocations: 0 / 474.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003043/0.1431, allocations: 145.4 kB / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1431, allocations: 8 kB / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1431, allocations: 0.5625 kB / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1431, allocations: 3.938 kB / 474.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1432, allocations: 27.97 kB / 474.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.1433, allocations: 0 / 474.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.644e-05/0.1433, allocations: 12 kB / 474.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1433, allocations: 4 kB / 474.3 MB, free: 8.945 MB / 350.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 (11): * Single equations (assignments): 11 * 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 9.601e-05/0.1434, allocations: 137.8 kB / 474.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.1435, allocations: 11.81 kB / 474.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/0.1439, allocations: 154.3 kB / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1439, allocations: 3.938 kB / 474.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1439, allocations: 0 / 474.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1439, allocations: 0 / 474.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006199/0.1445, allocations: 479.9 kB / 475 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1445, allocations: 0 / 475 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.494e-05/0.1446, allocations: 27.97 kB / 475 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/0.1446, allocations: 8.062 kB / 475.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1447, allocations: 0 / 475.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1447, allocations: 3.938 kB / 475.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1447, allocations: 4 kB / 475.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.145, allocations: 253.5 kB / 475.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.1451, allocations: 85.02 kB / 475.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1451, allocations: 4 kB / 475.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.599e-05/0.1452, allocations: 11.98 kB / 475.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.1453, allocations: 15.92 kB / 475.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.1453, allocations: 4.094 kB / 475.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1454, allocations: 147.2 kB / 475.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1454, allocations: 3.938 kB / 475.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.1457, allocations: 28 kB / 475.6 MB, free: 7.473 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001618/0.1474, allocations: 1.136 MB / 476.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.1477, allocations: 107.9 kB / 476.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1477, allocations: 0 / 476.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.1479, allocations: 63.89 kB / 476.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.1482, allocations: 24.02 kB / 476.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.1504, allocations: 1.813 MB / 478.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.1507, allocations: 0.7119 MB / 479.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.97e-05/0.1507, allocations: 16.56 kB / 479.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.1508, allocations: 39.61 kB / 479.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1508, allocations: 0 / 479.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.165, allocations: 3.084 MB / 482.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.1652, allocations: 236.6 kB / 482.8 MB, free: 364 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/2.017, allocations: 3.938 kB / 482.8 MB, free: 360 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches