Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2121/0.2121, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 82.39 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1252, allocations: 62.44 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003178/0.1284, allocations: 1.684 MB / 481.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009749/0.1294, allocations: 0.5532 MB / 482.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.1295, allocations: 4 kB / 482.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.1298, allocations: 67.78 kB / 482.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.1301, allocations: 99.58 kB / 482.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.1305, allocations: 135.1 kB / 482.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1307, allocations: 91.75 kB / 482.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1308, allocations: 16.23 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.495e-05/0.1309, allocations: 43.83 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.131, allocations: 55.75 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.131, allocations: 4 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.1311, allocations: 51.98 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.79e-05/0.1312, allocations: 23.92 kB / 482.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.803e-05/0.1313, allocations: 43.67 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1315, allocations: 119.9 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1315, allocations: 0 / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1315, allocations: 0 / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1315, allocations: 0 / 483.1 MB, free: 2.188 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.0005272/0.132, allocations: 434.9 kB / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.1321, allocations: 12.03 kB / 483.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.1321, allocations: 30.75 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.1322, allocations: 16.75 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.1324, allocations: 205.3 kB / 483.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.1324, allocations: 4.375 kB / 483.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.1324, allocations: 8.359 kB / 483.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1326, allocations: 65.59 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1326, allocations: 0 / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1326, allocations: 8 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1326, allocations: 0 / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.1328, allocations: 39.91 kB / 483.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.1332, allocations: 324.6 kB / 484.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.1334, allocations: 58.58 kB / 484.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.497e-05/0.1335, allocations: 28.97 kB / 484.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.1335, allocations: 4 kB / 484.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.1335, allocations: 30.56 kB / 484.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1335, allocations: 0 / 484.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001468/0.135, allocations: 401 kB / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.135, allocations: 59.41 kB / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.1353, allocations: 214.3 kB / 485 MB, free: 88 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1353, allocations: 29.7 kB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.119e-05/0.1354, allocations: 119.8 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.1354, allocations: 31.47 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.1355, allocations: 29.7 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1356, allocations: 322.8 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.1357, allocations: 47.97 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.1359, allocations: 39.97 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.1361, allocations: 100.8 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1361, allocations: 0 / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003174/0.1365, allocations: 141.5 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1365, allocations: 8 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1365, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1365, allocations: 3.938 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1366, allocations: 31.91 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1367, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.1367, allocations: 15.98 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.1367, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.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 0.0001048/0.1369, allocations: 125.8 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.1369, allocations: 19.8 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003812/0.1373, allocations: 162.9 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.1373, allocations: 7.938 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1373, allocations: 3.938 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1373, allocations: 4 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006211/0.138, allocations: 479.9 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.138, allocations: 4 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.1381, allocations: 27.98 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1381, allocations: 8.047 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1381, allocations: 4.094 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1381, allocations: 3.938 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1381, allocations: 0 / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.1385, allocations: 260.9 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.1386, allocations: 85.2 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.1386, allocations: 4 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1387, allocations: 15.98 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.1388, allocations: 7.984 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.1388, allocations: 7.938 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.1389, allocations: 168.3 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1389, allocations: 4 kB / 487.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.1392, allocations: 27.98 kB / 487.3 MB, free: 13.62 MB / 366.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.00153/0.1407, allocations: 1.132 MB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003148/0.1411, allocations: 111.9 kB / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1411, allocations: 0 / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.1412, allocations: 59.89 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.1416, allocations: 23.55 kB / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.1438, allocations: 1.872 MB / 490.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.1441, allocations: 0.7119 MB / 491.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.566e-05/0.1442, allocations: 16.55 kB / 491.2 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.033e-05/0.1443, allocations: 47.41 kB / 491.3 MB, free: 9.672 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1443, allocations: 0 / 491.3 MB, free: 9.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.1675, allocations: 3.403 MB / 494.7 MB, free: 6.328 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.563/7.731, allocations: 15.2 kB / 494.7 MB, free: 6.32 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches