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.00146/0.00146, allocations: 116.2 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00168/0.00168, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246.4 MB, free: 9.102 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2068/0.2068, allocations: 46.1 MB / 343.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 75.97 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1178, allocations: 62.45 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.004159/0.122, allocations: 1.755 MB / 481.4 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.1232, allocations: 0.5845 MB / 481.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.019e-05/0.1233, allocations: 3.938 kB / 481.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.1236, allocations: 27.91 kB / 482 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.1239, allocations: 63.77 kB / 482 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.1243, allocations: 174.6 kB / 482.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.1245, allocations: 95.7 kB / 482.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1247, allocations: 23.98 kB / 482.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.722e-05/0.1247, allocations: 39.78 kB / 482.4 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.067e-05/0.1248, allocations: 43.77 kB / 482.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.1248, allocations: 8 kB / 482.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.125, allocations: 99.94 kB / 482.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.1251, allocations: 19.92 kB / 482.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.1251, allocations: 43.72 kB / 482.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.1255, allocations: 175.8 kB / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1255, allocations: 0 / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1255, allocations: 3.938 kB / 482.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1255, allocations: 0 / 482.7 MB, free: 2.344 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.0007061/0.1262, allocations: 443 kB / 483.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1263, allocations: 12.03 kB / 483.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.1263, allocations: 30.75 kB / 483.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.1264, allocations: 12.83 kB / 483.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.1266, allocations: 204.1 kB / 483.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1267, allocations: 4.375 kB / 483.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.1267, allocations: 4.375 kB / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.127, allocations: 91.3 kB / 483.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.127, allocations: 0 / 483.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.127, allocations: 8 kB / 483.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.127, allocations: 0 / 483.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.1274, allocations: 79.84 kB / 483.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006944/0.1281, allocations: 356.5 kB / 484 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.1283, allocations: 78.47 kB / 484 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.1285, allocations: 48.94 kB / 484.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.1285, allocations: 4 kB / 484.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1286, allocations: 42.53 kB / 484.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1286, allocations: 0 / 484.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001587/0.1302, allocations: 404.8 kB / 484.5 MB, free: 384 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.1303, allocations: 77.11 kB / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.1304, allocations: 170.1 kB / 484.8 MB, free: 108 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.1305, allocations: 33.7 kB / 484.8 MB, free: 68 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.461e-05/0.1305, allocations: 100.1 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.1306, allocations: 31.55 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.1306, allocations: 25.72 kB / 485 MB, free: 15.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1308, allocations: 322.8 kB / 485.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.1311, allocations: 75.92 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.1314, allocations: 97.62 kB / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000548/0.1319, allocations: 172.7 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1319, allocations: 0 / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006483/0.1326, allocations: 217.5 kB / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1326, allocations: 4 kB / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1326, allocations: 0 / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1326, allocations: 0 / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.1328, allocations: 43.95 kB / 485.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1329, allocations: 3.938 kB / 485.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.133, allocations: 32.33 kB / 485.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.133, allocations: 0 / 485.9 MB, free: 14.93 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.0002066/0.1332, allocations: 121.8 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.1333, allocations: 7.906 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007394/0.134, allocations: 230.1 kB / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1341, allocations: 0 / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.1341, allocations: 7.938 kB / 486.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1341, allocations: 3.984 kB / 486.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.1351, allocations: 0.5217 MB / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1351, allocations: 0 / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.1353, allocations: 43.83 kB / 486.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1353, allocations: 4 kB / 486.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1354, allocations: 4 kB / 486.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1354, allocations: 0 / 486.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1354, allocations: 0 / 486.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006484/0.136, allocations: 307.2 kB / 487.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.1361, allocations: 85.33 kB / 487.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.1361, allocations: 4 kB / 487.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.1363, allocations: 27.95 kB / 487.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.1364, allocations: 11.98 kB / 487.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.1364, allocations: 7.938 kB / 487.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.1365, allocations: 119.2 kB / 487.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1365, allocations: 4 kB / 487.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003083/0.1368, allocations: 51.98 kB / 487.4 MB, free: 13.28 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.00201/0.1389, allocations: 1.221 MB / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006489/0.1395, allocations: 179.8 kB / 488.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1396, allocations: 0 / 488.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.1399, allocations: 91.91 kB / 488.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.1403, allocations: 27 kB / 489 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/0.1437, allocations: 1.957 MB / 490.9 MB, free: 9.871 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.1441, allocations: 0.7041 MB / 491.6 MB, free: 9.141 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.1442, allocations: 32.47 kB / 491.7 MB, free: 9.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.1443, allocations: 39.42 kB / 491.7 MB, free: 9.07 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1444, allocations: 0 / 491.7 MB, free: 9.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.1614, allocations: 4.111 MB / 495.8 MB, free: 5.074 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.1617, allocations: 256.8 kB / 496.1 MB, free: 4.816 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.121/2.282, allocations: 0 / 496.1 MB, free: 4.816 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