Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001013, allocations: 184.7 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.4 MB / 223.1 MB, free: 5.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3496/0.3496, allocations: 43.57 MB / 315 MB, free: 8.699 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004946/0.0004946, allocations: 12 kB / 384.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1114, allocations: 58.85 MB / 443.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.001814/0.1133, allocations: 1.291 MB / 444.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006403/0.114, allocations: 335.6 kB / 445.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.611e-05/0.114, allocations: 0 / 445.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.1143, allocations: 11.92 kB / 445.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.1145, allocations: 39.84 kB / 445.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.1147, allocations: 59.88 kB / 445.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.1149, allocations: 63.81 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.115, allocations: 20.45 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.516e-05/0.1151, allocations: 19.92 kB / 445.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.308e-05/0.1152, allocations: 31.78 kB / 445.4 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.1152, allocations: 0 / 445.4 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.1153, allocations: 43.98 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.1154, allocations: 11.98 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.879e-05/0.1154, allocations: 49.5 kB / 445.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.1156, allocations: 95.7 kB / 445.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1156, allocations: 4 kB / 445.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1156, allocations: 0 / 445.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1157, allocations: 0 / 445.6 MB, free: 10.52 MB / 382.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.0004444/0.1161, allocations: 383.2 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1162, allocations: 8.031 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.1162, allocations: 34.69 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.1162, allocations: 12.84 kB / 446 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.1164, allocations: 192.2 kB / 446.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1165, allocations: 12.38 kB / 446.2 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.1165, allocations: 4.125 kB / 446.2 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.1167, allocations: 71.39 kB / 446.3 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1167, allocations: 3.906 kB / 446.3 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1167, allocations: 7.922 kB / 446.3 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1167, allocations: 4 kB / 446.3 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.1168, allocations: 43.97 kB / 446.4 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.1172, allocations: 288.8 kB / 446.6 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1173, allocations: 58.55 kB / 446.7 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.012e-05/0.1174, allocations: 28.91 kB / 446.7 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.1174, allocations: 4 kB / 446.7 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1174, allocations: 38.56 kB / 446.8 MB, free: 9.168 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1175, allocations: 0 / 446.8 MB, free: 9.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005819/0.118, allocations: 185.3 kB / 446.9 MB, free: 8.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1181, allocations: 85.09 kB / 447 MB, free: 8.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.1182, allocations: 141.5 kB / 447.2 MB, free: 8.734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.1182, allocations: 25.7 kB / 447.2 MB, free: 8.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.1183, allocations: 92.14 kB / 447.3 MB, free: 8.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.1183, allocations: 23.64 kB / 447.3 MB, free: 8.586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.1184, allocations: 17.72 kB / 447.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.1184, allocations: 322.8 kB / 447.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-05/0.1185, allocations: 27.97 kB / 447.7 MB, free: 8.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.889e-05/0.1186, allocations: 37.7 kB / 447.7 MB, free: 8.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.1188, allocations: 68.86 kB / 447.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1188, allocations: 0 / 447.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000198/0.119, allocations: 109.5 kB / 447.9 MB, free: 7.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.119, allocations: 8 kB / 447.9 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.119, allocations: 0 / 447.9 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.119, allocations: 0 / 447.9 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.7e-05/0.1191, allocations: 19.98 kB / 447.9 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1192, allocations: 3.938 kB / 447.9 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.1192, allocations: 11.94 kB / 447.9 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.1192, allocations: 0 / 447.9 MB, free: 7.941 MB / 382.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 (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 prepare postOptimizeDAE: time 8.145e-05/0.1193, allocations: 121.8 kB / 448 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.1193, allocations: 7.906 kB / 448 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.1197, allocations: 118.3 kB / 448.2 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1197, allocations: 4 kB / 448.2 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1197, allocations: 0 / 448.2 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1197, allocations: 3.938 kB / 448.2 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.1203, allocations: 382.5 kB / 448.5 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1203, allocations: 4.312 kB / 448.5 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/0.1204, allocations: 19.98 kB / 448.6 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1204, allocations: 4 kB / 448.6 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1205, allocations: 11.94 kB / 448.6 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1205, allocations: 0 / 448.6 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1205, allocations: 4 kB / 448.6 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1207, allocations: 195.4 kB / 448.8 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.1208, allocations: 85.02 kB / 448.9 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.1208, allocations: 3.938 kB / 448.9 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.1209, allocations: 11.98 kB / 448.9 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.1209, allocations: 4 kB / 448.9 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.1209, allocations: 4 kB / 448.9 MB, free: 6.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.344e-05/0.121, allocations: 111.2 kB / 449 MB, free: 6.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.121, allocations: 0 / 449 MB, free: 6.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1213, allocations: 24 kB / 449 MB, free: 6.742 MB / 382.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.001355/0.1226, allocations: 1.083 MB / 450.1 MB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.1229, allocations: 71.84 kB / 450.2 MB, free: 5.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1229, allocations: 0 / 450.2 MB, free: 5.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.859e-05/0.123, allocations: 43.97 kB / 450.2 MB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.1233, allocations: 15.94 kB / 450.2 MB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.1248, allocations: 1.476 MB / 451.7 MB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.125, allocations: 0.6965 MB / 452.4 MB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.781e-05/0.1251, allocations: 15.98 kB / 452.4 MB, free: 3.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.1252, allocations: 27.42 kB / 452.4 MB, free: 3.211 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1252, allocations: 0 / 452.4 MB, free: 3.211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01203/0.1372, allocations: 2.492 MB / 454.9 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002841/0.1376, allocations: 246.5 kB / 455.2 MB, free: 476 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/1.924, allocations: 0 / 455.2 MB, free: 476 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches