Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001423/0.001423, allocations: 116.9 kB / 17.33 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00163/0.001631, allocations: 209.8 kB / 18.27 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.242/0.242, allocations: 46.11 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 78.19 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1255, allocations: 62.45 MB / 479.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003961/0.1295, allocations: 1.735 MB / 481.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009769/0.1306, allocations: 0.5494 MB / 481.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.1306, allocations: 0 / 481.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000572/0.1312, allocations: 451.2 kB / 482.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005008/0.1318, allocations: 279.5 kB / 482.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.1322, allocations: 126.9 kB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.1325, allocations: 167.7 kB / 482.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.1327, allocations: 23.97 kB / 482.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.1329, allocations: 111.7 kB / 483 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.1332, allocations: 227.6 kB / 483.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.1332, allocations: 4 kB / 483.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.1333, allocations: 47.92 kB / 483.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.1335, allocations: 83.69 kB / 483.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.155e-05/0.1336, allocations: 107 kB / 483.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.1339, allocations: 279.1 kB / 483.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.134, allocations: 0 / 483.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.134, allocations: 0 / 483.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.134, allocations: 0 / 483.8 MB, free: 1.328 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.0008287/0.1348, allocations: 0.6492 MB / 484.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.1349, allocations: 16.03 kB / 484.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.1349, allocations: 34.75 kB / 484.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.896e-05/0.135, allocations: 48.31 kB / 484.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.1353, allocations: 304.1 kB / 484.8 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1354, allocations: 4.375 kB / 484.8 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.1354, allocations: 4.375 kB / 484.8 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.1356, allocations: 57.61 kB / 484.9 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1356, allocations: 4 kB / 484.9 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1356, allocations: 0 / 484.9 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1356, allocations: 0 / 484.9 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1357, allocations: 39.86 kB / 484.9 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.1363, allocations: 404.6 kB / 485.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.1364, allocations: 46.59 kB / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.464e-05/0.1365, allocations: 12.86 kB / 485.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.1366, allocations: 8.078 kB / 485.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1366, allocations: 30.56 kB / 485.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.1366, allocations: 7.938 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009762/0.1376, allocations: 307.8 kB / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.1376, allocations: 55.34 kB / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008602/0.1385, allocations: 0.8699 MB / 486.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.1385, allocations: 25.7 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.1387, allocations: 228.1 kB / 486.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.1388, allocations: 27.55 kB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.1388, allocations: 25.7 kB / 486.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.1391, allocations: 358.8 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.814e-05/0.1392, allocations: 35.92 kB / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.947e-05/0.1392, allocations: 23.97 kB / 487.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.1394, allocations: 60.84 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1394, allocations: 0 / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002853/0.1397, allocations: 137.1 kB / 487.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.1397, allocations: 6.656 kB / 487.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1398, allocations: 4.312 kB / 487.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.1398, allocations: 0 / 487.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1399, allocations: 27.86 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.1399, allocations: 0 / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.14, allocations: 7.984 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.14, allocations: 3.984 kB / 487.6 MB, free: 13.27 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 (8): * Single equations (assignments): 8 * 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.0002249/0.1403, allocations: 209.8 kB / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.619e-05/0.1403, allocations: 47.44 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003645/0.1407, allocations: 161.5 kB / 488 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.1407, allocations: 7.922 kB / 488 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1408, allocations: 0 / 488 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1408, allocations: 4 kB / 488 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006904/0.1415, allocations: 0.5069 MB / 488.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.1415, allocations: 0 / 488.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.783e-05/0.1416, allocations: 15.94 kB / 488.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.1416, allocations: 7.984 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1416, allocations: 0 / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1416, allocations: 0 / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1416, allocations: 4 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.1419, allocations: 239.8 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/0.142, allocations: 120.5 kB / 488.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.142, allocations: 0 / 488.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.326e-05/0.1421, allocations: 7.984 kB / 488.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.1422, allocations: 8 kB / 488.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.1422, allocations: 4 kB / 488.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005874/0.1428, allocations: 0.6589 MB / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1428, allocations: 4 kB / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.143, allocations: 31.92 kB / 489.6 MB, free: 11.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001529/0.1446, allocations: 1.115 MB / 490.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.1448, allocations: 71.89 kB / 490.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1449, allocations: 0 / 490.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.381e-05/0.145, allocations: 47.89 kB / 490.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.1454, allocations: 31.19 kB / 490.9 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/0.1492, allocations: 3.429 MB / 494.3 MB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.1496, allocations: 0.8265 MB / 495.1 MB, free: 5.617 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.498e-05/0.1497, allocations: 12.73 kB / 495.1 MB, free: 5.605 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.1498, allocations: 111.4 kB / 495.2 MB, free: 5.496 MB / 366.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1498, allocations: 4 kB / 495.2 MB, free: 5.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.1672, allocations: 6.124 MB / 0.4896 GB, free: 15.45 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.1674, allocations: 230.7 kB / 0.4898 GB, free: 15.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.147, allocations: 0 / 0.4898 GB, free: 15.19 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches