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.001062/0.001062, allocations: 95.72 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001536/0.001536, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2008/0.2008, allocations: 46.18 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000249/0.000249, allocations: 8 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1214, allocations: 63.56 MB / 483.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.001879/0.1233, allocations: 1.326 MB / 484.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009663/0.1243, allocations: 0.534 MB / 485 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.1244, allocations: 0 / 485 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.1246, allocations: 23.92 kB / 485.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.1249, allocations: 55.81 kB / 485.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.1252, allocations: 95.41 kB / 485.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.1253, allocations: 63.89 kB / 485.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.188e-05/0.1254, allocations: 8 kB / 485.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.479e-05/0.1255, allocations: 35.78 kB / 485.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.554e-05/0.1256, allocations: 27.84 kB / 485.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.1256, allocations: 4 kB / 485.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.1258, allocations: 95.88 kB / 485.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.275e-05/0.1258, allocations: 7.938 kB / 485.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.272e-05/0.1259, allocations: 57.55 kB / 485.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.1262, allocations: 139.9 kB / 485.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1262, allocations: 0 / 485.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1262, allocations: 4 kB / 485.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1262, allocations: 0 / 485.6 MB, free: 1.602 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.0004831/0.1267, allocations: 403.2 kB / 486 MB, free: 1.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1267, allocations: 8.875 kB / 486 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.1268, allocations: 38.69 kB / 486.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.1268, allocations: 8.844 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.127, allocations: 196.2 kB / 486.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.127, allocations: 384 / 486.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.1271, allocations: 4.375 kB / 486.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.1272, allocations: 71.34 kB / 486.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1272, allocations: 3.984 kB / 486.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1273, allocations: 0 / 486.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1273, allocations: 4 kB / 486.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.1274, allocations: 35.92 kB / 486.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.1278, allocations: 300.8 kB / 486.7 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.1279, allocations: 58.55 kB / 486.7 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.239e-05/0.128, allocations: 24.97 kB / 486.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.128, allocations: 11.94 kB / 486.8 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1281, allocations: 34.56 kB / 486.8 MB, free: 252 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.1281, allocations: 0 / 486.8 MB, free: 252 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006394/0.1287, allocations: 209.4 kB / 487 MB, free: 36 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.1288, allocations: 81.11 kB / 487.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.129, allocations: 156.7 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.129, allocations: 25.7 kB / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.1291, allocations: 100 kB / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.1291, allocations: 23.66 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.1291, allocations: 17.72 kB / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1292, allocations: 326.8 kB / 487.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.101e-05/0.1293, allocations: 35.91 kB / 487.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.233e-05/0.1294, allocations: 45.7 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.1296, allocations: 92.78 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1296, allocations: 0 / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002349/0.1299, allocations: 113.6 kB / 488 MB, free: 14.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1299, allocations: 8 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1299, allocations: 3.938 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1299, allocations: 7.984 kB / 488 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.1301, allocations: 19.98 kB / 488.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1301, allocations: 0 / 488.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.1301, allocations: 7.984 kB / 488.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.1301, allocations: 11.94 kB / 488.1 MB, free: 14.91 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 (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.591e-05/0.1302, allocations: 118.1 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.1303, allocations: 7.906 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.1306, allocations: 134.2 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1306, allocations: 3.938 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1306, allocations: 4 kB / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1306, allocations: 0 / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.1311, allocations: 406.4 kB / 488.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.1311, allocations: 3.984 kB / 488.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.178e-05/0.1312, allocations: 20 kB / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1312, allocations: 0 / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.1312, allocations: 3.938 kB / 488.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1312, allocations: 3.984 kB / 488.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1312, allocations: 4 kB / 488.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.1315, allocations: 207.4 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.1315, allocations: 85.02 kB / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.1316, allocations: 11.92 kB / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.455e-05/0.1317, allocations: 11.94 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.1317, allocations: 7.984 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1317, allocations: 0 / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.054e-05/0.1318, allocations: 119.3 kB / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1318, allocations: 0 / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.1321, allocations: 43.92 kB / 489.2 MB, free: 13.63 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.001476/0.1336, allocations: 1.125 MB / 490.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.1338, allocations: 79.89 kB / 490.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1338, allocations: 0 / 490.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.941e-05/0.1339, allocations: 43.97 kB / 490.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.1342, allocations: 29.92 kB / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.1359, allocations: 1.596 MB / 492.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.1362, allocations: 0.6971 MB / 492.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.933e-05/0.1363, allocations: 28.55 kB / 492.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.1364, allocations: 27.52 kB / 492.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1364, allocations: 3.938 kB / 492.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01339/0.1498, allocations: 3.109 MB / 496 MB, free: 7.059 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.15, allocations: 255.3 kB / 496.2 MB, free: 6.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/1.963, allocations: 0 / 496.2 MB, free: 6.801 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