Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001215/0.001215, allocations: 103.3 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 46.11 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 80.31 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1298, allocations: 62.45 MB / 479.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.005772/0.1356, allocations: 1.755 MB / 481.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.1373, allocations: 0.5963 MB / 481.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1375, allocations: 7.938 kB / 481.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.1378, allocations: 15.91 kB / 481.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.1382, allocations: 67.77 kB / 481.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006792/0.1389, allocations: 171.4 kB / 482 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.1391, allocations: 91.7 kB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.1393, allocations: 12 kB / 482.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.1394, allocations: 47.77 kB / 482.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.1395, allocations: 43.78 kB / 482.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.1396, allocations: 4 kB / 482.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.1398, allocations: 99.92 kB / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.537e-05/0.1399, allocations: 19.92 kB / 482.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.241e-05/0.1401, allocations: 39.72 kB / 482.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00042/0.1405, allocations: 163.8 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1405, allocations: 0 / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.1405, allocations: 0 / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.1405, allocations: 3.938 kB / 482.5 MB, free: 2.508 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008929/0.1414, allocations: 451 kB / 483 MB, free: 2.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.1415, allocations: 8.875 kB / 483 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.578e-05/0.1416, allocations: 34.75 kB / 483 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/0.1416, allocations: 8.844 kB / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.142, allocations: 204.1 kB / 483.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.142, allocations: 4.375 kB / 483.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.142, allocations: 8.375 kB / 483.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.1425, allocations: 95.3 kB / 483.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1425, allocations: 0 / 483.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.1426, allocations: 4 kB / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1426, allocations: 4 kB / 483.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/0.1429, allocations: 67.92 kB / 483.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006881/0.1436, allocations: 360.5 kB / 483.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.1439, allocations: 74.53 kB / 483.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.1441, allocations: 52.88 kB / 483.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.1441, allocations: 4 kB / 483.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1441, allocations: 34.56 kB / 483.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1441, allocations: 0 / 483.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.00202/0.1462, allocations: 412.8 kB / 484.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.1462, allocations: 81.09 kB / 484.4 MB, free: 448 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.1465, allocations: 170.1 kB / 484.5 MB, free: 268 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.1465, allocations: 25.7 kB / 484.6 MB, free: 236 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.1466, allocations: 104.1 kB / 484.7 MB, free: 128 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.1466, allocations: 27.56 kB / 484.7 MB, free: 100 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.099e-05/0.1467, allocations: 29.7 kB / 484.7 MB, free: 64 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1469, allocations: 326.8 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/0.1473, allocations: 71.92 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003957/0.1477, allocations: 101.6 kB / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007701/0.1485, allocations: 168.6 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1485, allocations: 0 / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0009505/0.1495, allocations: 213.3 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.1495, allocations: 4 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1495, allocations: 0 / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1496, allocations: 0 / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.1499, allocations: 48.33 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.1499, allocations: 3.938 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.1501, allocations: 19.97 kB / 485.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.1501, allocations: 4 kB / 485.7 MB, free: 15.1 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 (10): * Single equations (assignments): 10 * 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.0001253/0.1502, allocations: 129.8 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.1503, allocations: 7.906 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008576/0.1512, allocations: 222.2 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.1512, allocations: 4 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.1512, allocations: 3.938 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1512, allocations: 4 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.1525, allocations: 0.5217 MB / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1525, allocations: 0 / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.1529, allocations: 44.27 kB / 486.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.1529, allocations: 7.922 kB / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.1529, allocations: 4 kB / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.1529, allocations: 7.984 kB / 486.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1529, allocations: 0 / 486.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008833/0.1538, allocations: 299.2 kB / 486.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.1539, allocations: 92.94 kB / 487 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.154, allocations: 0 / 487 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.1542, allocations: 31.97 kB / 487 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-05/0.1543, allocations: 7.984 kB / 487 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1543, allocations: 3.984 kB / 487 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.1545, allocations: 127.2 kB / 487.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1545, allocations: 0 / 487.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004454/0.1549, allocations: 51.98 kB / 487.2 MB, free: 13.44 MB / 366.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 (9): * Single equations (assignments): 9 * 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.00259/0.1575, allocations: 1.223 MB / 488.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008409/0.1584, allocations: 175.7 kB / 488.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1584, allocations: 0 / 488.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003883/0.1588, allocations: 91.92 kB / 488.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/0.1593, allocations: 15.98 kB / 488.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/0.1637, allocations: 1.952 MB / 490.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/0.1642, allocations: 0.7041 MB / 491.4 MB, free: 9.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001709/0.1643, allocations: 32.52 kB / 491.4 MB, free: 9.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.1645, allocations: 43.41 kB / 491.4 MB, free: 9.246 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1645, allocations: 0 / 491.4 MB, free: 9.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.1854, allocations: 4.014 MB / 495.5 MB, free: 5.336 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002909/0.1857, allocations: 250.1 kB / 495.7 MB, free: 5.086 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/2.195, allocations: 0 / 495.7 MB, free: 5.086 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches