Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.001319/0.001319, allocations: 105.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001515/0.001515, 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.443/1.443, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2464/0.2464, allocations: 46.12 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 77.69 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1197, allocations: 62.45 MB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003888/0.1237, allocations: 1.766 MB / 481.2 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.125, allocations: 0.565 MB / 481.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.93e-05/0.1251, allocations: 0 / 481.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.1255, allocations: 27.86 kB / 481.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.1258, allocations: 63.75 kB / 481.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.1263, allocations: 127.8 kB / 481.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.1265, allocations: 83.7 kB / 482 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1266, allocations: 16 kB / 482 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.797e-05/0.1267, allocations: 31.84 kB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1268, allocations: 47.77 kB / 482.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.1268, allocations: 4 kB / 482.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.1271, allocations: 95.88 kB / 482.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.387e-05/0.1272, allocations: 15.98 kB / 482.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.427e-05/0.1273, allocations: 35.73 kB / 482.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.1276, allocations: 163.8 kB / 482.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1277, allocations: 0 / 482.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1277, allocations: 0 / 482.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1277, allocations: 0 / 482.4 MB, free: 2.578 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.0009206/0.1286, allocations: 462.9 kB / 482.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.1287, allocations: 8.875 kB / 482.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.216e-05/0.1287, allocations: 34.73 kB / 482.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.744e-05/0.1288, allocations: 8.844 kB / 482.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.1291, allocations: 200.2 kB / 483.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1291, allocations: 4.375 kB / 483.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.1292, allocations: 4.375 kB / 483.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003169/0.1295, allocations: 99.23 kB / 483.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1295, allocations: 0 / 483.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1295, allocations: 0 / 483.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1295, allocations: 0 / 483.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.1299, allocations: 71.92 kB / 483.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006345/0.1305, allocations: 320.7 kB / 483.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.1308, allocations: 66.47 kB / 483.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.131, allocations: 48.95 kB / 483.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.131, allocations: 3.984 kB / 483.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.131, allocations: 34.56 kB / 483.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.131, allocations: 0 / 483.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001761/0.1328, allocations: 380.8 kB / 484.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.1329, allocations: 77.11 kB / 484.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.1331, allocations: 173.1 kB / 484.4 MB, free: 424 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.1331, allocations: 29.64 kB / 484.4 MB, free: 388 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.1332, allocations: 104.1 kB / 484.5 MB, free: 280 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.1333, allocations: 31.55 kB / 484.5 MB, free: 248 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.1333, allocations: 17.72 kB / 484.5 MB, free: 224 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.1335, allocations: 326.8 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.1338, allocations: 71.92 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.1342, allocations: 85.62 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005605/0.1347, allocations: 148.8 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1347, allocations: 3.938 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006603/0.1354, allocations: 185.5 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.1354, allocations: 8 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1355, allocations: 3.938 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1355, allocations: 0 / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.1357, allocations: 47.89 kB / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.1357, allocations: 4.312 kB / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.1359, allocations: 23.97 kB / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.1359, allocations: 4 kB / 485.4 MB, free: 15.3 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.0001378/0.1361, allocations: 118.2 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.1361, allocations: 15.91 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007056/0.1369, allocations: 218 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1369, allocations: 0 / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1369, allocations: 3.938 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1369, allocations: 0 / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009722/0.1379, allocations: 498.4 kB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1379, allocations: 0 / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.1381, allocations: 47.83 kB / 486.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.1381, allocations: 4 kB / 486.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1381, allocations: 4 kB / 486.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1381, allocations: 0 / 486.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1381, allocations: 0 / 486.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006721/0.1388, allocations: 287.2 kB / 486.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.1389, allocations: 96.84 kB / 486.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.1389, allocations: 4 kB / 486.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.1391, allocations: 23.95 kB / 486.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/0.1392, allocations: 15.98 kB / 486.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.1392, allocations: 4 kB / 486.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.1393, allocations: 123.1 kB / 486.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1393, allocations: 0 / 486.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003327/0.1397, allocations: 47.98 kB / 486.9 MB, free: 13.71 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.002094/0.1418, allocations: 1.202 MB / 488.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006535/0.1425, allocations: 159.8 kB / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1425, allocations: 0 / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.1428, allocations: 92.03 kB / 488.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.1432, allocations: 16.12 kB / 488.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.1462, allocations: 1.874 MB / 490.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1465, allocations: 0.7004 MB / 491 MB, free: 9.707 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.1466, allocations: 20.48 kB / 491 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.109e-05/0.1467, allocations: 39.41 kB / 491 MB, free: 9.648 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1467, allocations: 0 / 491 MB, free: 9.648 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.1618, allocations: 3.896 MB / 494.9 MB, free: 5.859 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/0.1621, allocations: 250.2 kB / 495.2 MB, free: 5.609 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.223, allocations: 3.938 kB / 495.2 MB, free: 5.605 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches