Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.001084/0.001089, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2147/0.2147, allocations: 46.11 MB / 344.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 80.61 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.123, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002569/0.1256, allocations: 1.599 MB / 481.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008894/0.1265, allocations: 0.565 MB / 482.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.1266, allocations: 4 kB / 482.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.1267, allocations: 27.8 kB / 482.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.127, allocations: 79.67 kB / 482.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.1272, allocations: 119.1 kB / 482.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.1274, allocations: 63.84 kB / 482.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.168e-05/0.1274, allocations: 12 kB / 482.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.138e-05/0.1275, allocations: 31.84 kB / 482.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.418e-05/0.1276, allocations: 35.84 kB / 482.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.1276, allocations: 4 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.1278, allocations: 95.88 kB / 482.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.1278, allocations: 23.91 kB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.1278, allocations: 15.88 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.1281, allocations: 143.9 kB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.1281, allocations: 4 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1281, allocations: 0 / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1281, allocations: 0 / 482.9 MB, free: 2.379 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003838/0.1285, allocations: 415 kB / 483.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.1285, allocations: 12.03 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.801e-05/0.1285, allocations: 38.69 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.1286, allocations: 8.844 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.1288, allocations: 188.2 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-06/0.1288, allocations: 384 / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.1288, allocations: 4.375 kB / 483.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.1289, allocations: 67.33 kB / 483.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1289, allocations: 7.938 kB / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-06/0.1289, allocations: 0 / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.129, allocations: 7.984 kB / 483.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.074e-05/0.129, allocations: 19.98 kB / 483.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.1294, allocations: 292.9 kB / 484 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.555e-05/0.1295, allocations: 54.5 kB / 484 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.1296, allocations: 28.94 kB / 484.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.1296, allocations: 0 / 484.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.1296, allocations: 30.56 kB / 484.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.1296, allocations: 0 / 484.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005468/0.1302, allocations: 185.2 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.1302, allocations: 81.11 kB / 484.3 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.1304, allocations: 156.2 kB / 484.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.1304, allocations: 25.7 kB / 484.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.1304, allocations: 92.14 kB / 484.6 MB, free: 492 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.1305, allocations: 27.64 kB / 484.6 MB, free: 464 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.1305, allocations: 17.72 kB / 484.7 MB, free: 440 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.1306, allocations: 330.8 kB / 485 MB, free: 100 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.1307, allocations: 27.97 kB / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-05/0.1308, allocations: 41.7 kB / 485.1 MB, free: 24 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.1309, allocations: 72.75 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1309, allocations: 0 / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002174/0.1312, allocations: 113.6 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.1312, allocations: 7.984 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.1312, allocations: 0 / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.1312, allocations: 0 / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.934e-05/0.1313, allocations: 23.98 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.1313, allocations: 0 / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.1314, allocations: 7.938 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1314, allocations: 0 / 485.3 MB, free: 15.79 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 6.919e-05/0.1315, allocations: 121.8 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.1315, allocations: 11.89 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.1317, allocations: 118.6 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1318, allocations: 0 / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1318, allocations: 0 / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1318, allocations: 3.938 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.1322, allocations: 402.3 kB / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1322, allocations: 11.98 kB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/0.1323, allocations: 12 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1323, allocations: 3.938 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.1323, allocations: 0 / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1323, allocations: 0 / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1323, allocations: 3.984 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.1326, allocations: 199.4 kB / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.1326, allocations: 81.02 kB / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.1326, allocations: 11.94 kB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.1327, allocations: 7.984 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.1327, allocations: 0 / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1327, allocations: 4 kB / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.412e-05/0.1328, allocations: 115.2 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1328, allocations: 0 / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1331, allocations: 43.98 kB / 486.4 MB, free: 14.56 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 (7): * Single equations (assignments): 7 * 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.001307/0.1344, allocations: 1.125 MB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.1346, allocations: 75.95 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1346, allocations: 0 / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.559e-05/0.1347, allocations: 35.91 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.135, allocations: 19.94 kB / 487.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.1365, allocations: 1.522 MB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.1367, allocations: 0.6924 MB / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.533e-05/0.1368, allocations: 29.08 kB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.1368, allocations: 31.42 kB / 489.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1368, allocations: 4 kB / 489.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7729/0.9097, allocations: 3.419 MB / 493.4 MB, free: 7.715 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.976, allocations: 5.062 kB / 493.4 MB, free: 7.711 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches