Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_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.001485/0.001485, allocations: 104.8 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.001841/0.001841, 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.409/1.409, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 46.1 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 78.88 kB / 416.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1247, allocations: 62.45 MB / 479.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.00332/0.1281, allocations: 1.657 MB / 481 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1292, allocations: 0.5494 MB / 481.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.753e-05/0.1292, allocations: 0 / 481.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.1295, allocations: 23.91 kB / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.1298, allocations: 59.78 kB / 481.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1301, allocations: 87.08 kB / 481.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.1302, allocations: 71.83 kB / 481.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1303, allocations: 15.98 kB / 481.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.276e-05/0.1304, allocations: 23.86 kB / 481.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.119e-05/0.1305, allocations: 31.84 kB / 481.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1305, allocations: 4 kB / 481.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.1307, allocations: 95.88 kB / 482 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.869e-05/0.1308, allocations: 15.92 kB / 482 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.623e-05/0.1308, allocations: 23.8 kB / 482 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.1311, allocations: 148 kB / 482.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1311, allocations: 0 / 482.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1311, allocations: 0 / 482.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1312, allocations: 0 / 482.2 MB, free: 2.852 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005311/0.1317, allocations: 419 kB / 482.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1317, allocations: 8.875 kB / 482.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.689e-05/0.1318, allocations: 34.75 kB / 482.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.1318, allocations: 8.844 kB / 482.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.1321, allocations: 188.3 kB / 482.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-06/0.1321, allocations: 4.375 kB / 482.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.1321, allocations: 8.375 kB / 482.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1323, allocations: 71.33 kB / 482.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1323, allocations: 7.844 kB / 482.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1323, allocations: 4 kB / 482.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1323, allocations: 0 / 482.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.1324, allocations: 27.97 kB / 482.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.1329, allocations: 308.7 kB / 483.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.1331, allocations: 58.5 kB / 483.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.538e-05/0.1331, allocations: 24.97 kB / 483.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.1332, allocations: 4 kB / 483.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1332, allocations: 34.56 kB / 483.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.1332, allocations: 0 / 483.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006869/0.1339, allocations: 185.2 kB / 483.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.134, allocations: 81.11 kB / 483.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.1341, allocations: 146.2 kB / 483.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.1342, allocations: 29.7 kB / 483.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.1342, allocations: 100.1 kB / 483.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.1343, allocations: 31.53 kB / 483.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.1343, allocations: 25.72 kB / 484 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1345, allocations: 326.7 kB / 484.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.1346, allocations: 27.98 kB / 484.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.1347, allocations: 49.62 kB / 484.3 MB, free: 452 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.1349, allocations: 76.84 kB / 484.4 MB, free: 372 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1349, allocations: 0 / 484.4 MB, free: 372 kB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002435/0.1351, allocations: 113.5 kB / 484.5 MB, free: 252 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1352, allocations: 4 kB / 484.5 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1352, allocations: 288 / 484.5 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1352, allocations: 3.984 kB / 484.5 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1353, allocations: 19.98 kB / 484.6 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1353, allocations: 7.938 kB / 484.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.1354, allocations: 4 kB / 484.6 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.1354, allocations: 11.92 kB / 484.6 MB, free: 200 kB / 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 (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 prepare postOptimizeDAE: time 9.114e-05/0.1355, allocations: 117.8 kB / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.1355, allocations: 7.906 kB / 484.7 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003078/0.1358, allocations: 118.4 kB / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1359, allocations: 4 kB / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1359, allocations: 0 / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1359, allocations: 0 / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.1364, allocations: 406.3 kB / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1364, allocations: 384 / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.1365, allocations: 15.98 kB / 485.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1365, allocations: 0 / 485.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1365, allocations: 15.94 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1365, allocations: 0 / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1365, allocations: 0 / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.1368, allocations: 199.4 kB / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.1369, allocations: 89 kB / 485.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.1369, allocations: 3.938 kB / 485.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.632e-05/0.137, allocations: 8 kB / 485.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.137, allocations: 11.98 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.137, allocations: 0 / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.847e-05/0.1371, allocations: 121.5 kB / 485.7 MB, free: 15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1372, allocations: 0 / 485.7 MB, free: 15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003001/0.1375, allocations: 43.92 kB / 485.7 MB, free: 14.95 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 (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.001591/0.1391, allocations: 1.126 MB / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002436/0.1393, allocations: 71.95 kB / 486.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1393, allocations: 0 / 486.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.979e-05/0.1394, allocations: 35.92 kB / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.1398, allocations: 27.86 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.1416, allocations: 1.559 MB / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.1419, allocations: 0.7049 MB / 489.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.276e-05/0.142, allocations: 20.56 kB / 489.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.1421, allocations: 31.42 kB / 489.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1421, allocations: 0 / 489.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.1565, allocations: 3.325 MB / 492.6 MB, free: 8.191 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.1567, allocations: 254.5 kB / 492.9 MB, free: 7.934 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/2.131, allocations: 0 / 492.9 MB, free: 7.934 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches