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.001732/0.001732, allocations: 115.6 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002127/0.002127, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1948/0.1948, allocations: 46.11 MB / 343.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 71.41 kB / 417.2 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.101, allocations: 62.44 MB / 479.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002798/0.1038, allocations: 1.669 MB / 481.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008697/0.1047, allocations: 0.5534 MB / 481.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.459e-05/0.1048, allocations: 4 kB / 481.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.105, allocations: 19.86 kB / 481.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.1053, allocations: 67.81 kB / 481.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.1056, allocations: 98.94 kB / 482 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.1057, allocations: 63.84 kB / 482.1 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.565e-05/0.1058, allocations: 23.97 kB / 482.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.876e-05/0.1059, allocations: 31.84 kB / 482.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.756e-05/0.106, allocations: 27.86 kB / 482.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.106, allocations: 4 kB / 482.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.1061, allocations: 95.88 kB / 482.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.553e-05/0.1062, allocations: 23.91 kB / 482.3 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.1062, allocations: 15.88 kB / 482.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.1065, allocations: 155.9 kB / 482.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1065, allocations: 0 / 482.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1065, allocations: 0 / 482.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1065, allocations: 0 / 482.4 MB, free: 2.691 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.0004158/0.1069, allocations: 407.1 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.1069, allocations: 12.03 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.107, allocations: 34.75 kB / 482.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.107, allocations: 8.844 kB / 482.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.1072, allocations: 186.9 kB / 483.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1072, allocations: 12.31 kB / 483.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.1073, allocations: 4.312 kB / 483.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1074, allocations: 75.27 kB / 483.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1074, allocations: 0 / 483.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1074, allocations: 0 / 483.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.1074, allocations: 0 / 483.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.515e-05/0.1075, allocations: 23.97 kB / 483.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.1079, allocations: 292.9 kB / 483.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.108, allocations: 54.48 kB / 483.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.1081, allocations: 28.94 kB / 483.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.1081, allocations: 0 / 483.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1082, allocations: 34.56 kB / 483.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1082, allocations: 4 kB / 483.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005673/0.1087, allocations: 181.2 kB / 483.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.1088, allocations: 77.11 kB / 483.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.1089, allocations: 149.7 kB / 484 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1089, allocations: 25.7 kB / 484 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.109, allocations: 100.1 kB / 484.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.109, allocations: 23.66 kB / 484.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.1091, allocations: 25.7 kB / 484.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.191e-05/0.1092, allocations: 318.8 kB / 484.5 MB, free: 432 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.669e-05/0.1092, allocations: 27.97 kB / 484.5 MB, free: 404 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.588e-05/0.1093, allocations: 49.62 kB / 484.5 MB, free: 348 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.1095, allocations: 73.08 kB / 484.6 MB, free: 272 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1095, allocations: 3.984 kB / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002066/0.1097, allocations: 109.5 kB / 484.7 MB, free: 152 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1097, allocations: 4 kB / 484.7 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1097, allocations: 0 / 484.7 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1098, allocations: 0 / 484.7 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.985e-05/0.1099, allocations: 27.92 kB / 484.8 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1099, allocations: 0 / 484.8 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.1099, allocations: 11.94 kB / 484.8 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.1099, allocations: 0 / 484.8 MB, free: 108 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 (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 9.183e-05/0.11, allocations: 121.8 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.1101, allocations: 7.906 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.1103, allocations: 106.4 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1103, allocations: 7.938 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1104, allocations: 8 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1104, allocations: 3.938 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.1108, allocations: 398.3 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1108, allocations: 0 / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.363e-05/0.1109, allocations: 20.2 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1109, allocations: 3.938 kB / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.1109, allocations: 7.938 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1109, allocations: 0 / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1109, allocations: 0 / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.1112, allocations: 195.4 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.1112, allocations: 93 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.1112, allocations: 3.938 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/0.1113, allocations: 4 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.1114, allocations: 11.98 kB / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.1114, allocations: 0 / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.391e-05/0.1115, allocations: 113.8 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1115, allocations: 0 / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.1117, allocations: 47.98 kB / 485.9 MB, free: 14.87 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.001359/0.1131, allocations: 1.118 MB / 487 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1133, allocations: 75.88 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1133, allocations: 0 / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.1134, allocations: 35.97 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.1137, allocations: 23.11 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.1153, allocations: 1.54 MB / 488.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.1155, allocations: 0.7002 MB / 489.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.583e-05/0.1156, allocations: 20.64 kB / 489.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.1157, allocations: 35.41 kB / 489.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1157, allocations: 3.938 kB / 489.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8951/1.011, allocations: 3.332 MB / 492.8 MB, free: 8.133 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/1.011, allocations: 253.4 kB / 493 MB, free: 7.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.44/4.451, allocations: 0 / 493 MB, free: 7.875 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