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.001244/0.001245, allocations: 116.1 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2051/0.2051, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 76.66 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1063, allocations: 62.44 MB / 479.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002942/0.1092, allocations: 1.665 MB / 481.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009021/0.1102, allocations: 0.5378 MB / 481.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.096e-05/0.1103, allocations: 0 / 481.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.1105, allocations: 27.84 kB / 481.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.1108, allocations: 59.83 kB / 481.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.1111, allocations: 87.33 kB / 482 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.1112, allocations: 71.83 kB / 482 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.916e-05/0.1113, allocations: 19.98 kB / 482.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.859e-05/0.1114, allocations: 23.88 kB / 482.1 MB, free: 3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.108e-05/0.1114, allocations: 35.83 kB / 482.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1115, allocations: 4 kB / 482.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.1116, allocations: 103.9 kB / 482.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.29e-05/0.1117, allocations: 15.92 kB / 482.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.1117, allocations: 23.88 kB / 482.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.112, allocations: 151.8 kB / 482.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.112, allocations: 4 kB / 482.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.112, allocations: 0 / 482.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.112, allocations: 4 kB / 482.4 MB, free: 2.664 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.0004648/0.1125, allocations: 403.1 kB / 482.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1125, allocations: 12.03 kB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.505e-05/0.1126, allocations: 38.73 kB / 482.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.1126, allocations: 8.844 kB / 482.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.1128, allocations: 199.2 kB / 483.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.1128, allocations: 384 / 483.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.1128, allocations: 8.375 kB / 483.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.113, allocations: 75.2 kB / 483.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.113, allocations: 3.906 kB / 483.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.113, allocations: 4 kB / 483.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.113, allocations: 4 kB / 483.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.976e-05/0.1131, allocations: 23.98 kB / 483.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.1135, allocations: 304.8 kB / 483.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.1137, allocations: 54.55 kB / 483.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.987e-05/0.1137, allocations: 28.97 kB / 483.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.1138, allocations: 0 / 483.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.1138, allocations: 34.56 kB / 483.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.1138, allocations: 4 kB / 483.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005982/0.1144, allocations: 185.2 kB / 483.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.1145, allocations: 85.09 kB / 483.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.1146, allocations: 146.2 kB / 484 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1146, allocations: 29.7 kB / 484 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.1147, allocations: 104.1 kB / 484.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.1147, allocations: 19.56 kB / 484.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.1148, allocations: 29.7 kB / 484.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.1149, allocations: 330.7 kB / 484.5 MB, free: 348 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.973e-05/0.1149, allocations: 27.92 kB / 484.5 MB, free: 320 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.532e-05/0.115, allocations: 45.69 kB / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.1152, allocations: 76.86 kB / 484.6 MB, free: 188 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1152, allocations: 0 / 484.6 MB, free: 188 kB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002157/0.1154, allocations: 117.6 kB / 484.8 MB, free: 64 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1154, allocations: 8 kB / 484.8 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1155, allocations: 0 / 484.8 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1155, allocations: 0 / 484.8 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.773e-05/0.1156, allocations: 19.98 kB / 484.8 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1156, allocations: 0 / 484.8 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.1156, allocations: 8 kB / 484.8 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.1157, allocations: 3.938 kB / 484.8 MB, free: 24 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 8.994e-05/0.1158, allocations: 129.8 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.1158, allocations: 7.906 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.116, allocations: 114.4 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1161, allocations: 0 / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1161, allocations: 0 / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1161, allocations: 4 kB / 485.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.1165, allocations: 406.3 kB / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1166, allocations: 0 / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-05/0.1166, allocations: 15.98 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1166, allocations: 0 / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1167, allocations: 3.938 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1167, allocations: 11.94 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1167, allocations: 0 / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.1169, allocations: 195.4 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.1169, allocations: 85 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.117, allocations: 7.938 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.117, allocations: 384 / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.1171, allocations: 19.97 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.1171, allocations: 4 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.211e-05/0.1172, allocations: 113.5 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1172, allocations: 0 / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.1175, allocations: 51.92 kB / 485.9 MB, free: 14.77 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.001386/0.1189, allocations: 1.126 MB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.1191, allocations: 79.89 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1191, allocations: 4 kB / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.685e-05/0.1192, allocations: 35.97 kB / 487.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.1195, allocations: 19.92 kB / 487.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.121, allocations: 1.569 MB / 488.8 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.1213, allocations: 0.6968 MB / 489.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.146e-05/0.1213, allocations: 24.56 kB / 489.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.048e-05/0.1214, allocations: 31.42 kB / 489.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1214, allocations: 0 / 489.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/0.2236, allocations: 3.391 MB / 492.9 MB, free: 7.941 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003191/0.2239, allocations: 248.5 kB / 493.2 MB, free: 7.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.125, allocations: 0 / 493.2 MB, free: 7.691 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