Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001101/0.001101, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2322/0.2322, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 64 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1061, allocations: 60.81 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003015/0.1092, allocations: 1.564 MB / 470.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008616/0.1101, allocations: 443.2 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.53e-05/0.1102, allocations: 0 / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.1104, allocations: 19.8 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.1106, allocations: 39.84 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.1109, allocations: 119.1 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.1111, allocations: 59.84 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.1112, allocations: 8.188 kB / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.996e-05/0.1112, allocations: 27.84 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.1113, allocations: 23.92 kB / 471.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.1113, allocations: 8 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.1115, allocations: 55.95 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.1115, allocations: 7.938 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.1116, allocations: 23.88 kB / 471.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.1118, allocations: 99.97 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1118, allocations: 0 / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1119, allocations: 7.875 kB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1119, allocations: 0 / 471.8 MB, free: 11.76 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.0006059/0.1125, allocations: 378.2 kB / 472.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1125, allocations: 16.03 kB / 472.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.1126, allocations: 30.75 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.1127, allocations: 8.844 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.1129, allocations: 188.2 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1129, allocations: 4.375 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.1129, allocations: 8.125 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.1131, allocations: 63.34 kB / 472.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1131, allocations: 0 / 472.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1132, allocations: 4 kB / 472.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1132, allocations: 0 / 472.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.1133, allocations: 27.97 kB / 472.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.1138, allocations: 284.9 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.1139, allocations: 50.5 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.25e-05/0.114, allocations: 28.94 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.1141, allocations: 4 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.1141, allocations: 30.56 kB / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.1141, allocations: 0 / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006954/0.1148, allocations: 177.2 kB / 473.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.1149, allocations: 81.11 kB / 473.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.115, allocations: 141.8 kB / 473.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1151, allocations: 25.7 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.1151, allocations: 88.14 kB / 473.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.1152, allocations: 31.55 kB / 473.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.1152, allocations: 17.72 kB / 473.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1154, allocations: 326.8 kB / 473.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.1155, allocations: 35.97 kB / 473.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.151e-05/0.1156, allocations: 41.64 kB / 473.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.1158, allocations: 80.73 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1158, allocations: 0 / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002372/0.116, allocations: 97.66 kB / 474.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1161, allocations: 8.031 kB / 474.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1161, allocations: 0 / 474.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1161, allocations: 4 kB / 474.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1162, allocations: 15.98 kB / 474.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1162, allocations: 0 / 474.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.1163, allocations: 11.92 kB / 474.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1163, allocations: 4 kB / 474.1 MB, free: 9.242 MB / 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.72e-05/0.1164, allocations: 117.8 kB / 474.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.1164, allocations: 11.91 kB / 474.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.1167, allocations: 122.2 kB / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1167, allocations: 0 / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1167, allocations: 0 / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.1167, allocations: 8.203 kB / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.1172, allocations: 390.4 kB / 474.7 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1173, allocations: 0 / 474.7 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.591e-05/0.1173, allocations: 15.98 kB / 474.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.1173, allocations: 7.922 kB / 474.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1174, allocations: 4 kB / 474.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1174, allocations: 0 / 474.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1174, allocations: 3.938 kB / 474.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.1176, allocations: 195.4 kB / 475 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.1177, allocations: 89 kB / 475.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.1177, allocations: 3.938 kB / 475.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.1178, allocations: 8 kB / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.1178, allocations: 7.984 kB / 475.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.1178, allocations: 0 / 475.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.007e-05/0.1179, allocations: 103.3 kB / 475.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1179, allocations: 0 / 475.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.1182, allocations: 27.98 kB / 475.2 MB, free: 8.043 MB / 350.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.001602/0.1198, allocations: 1.074 MB / 476.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002623/0.1201, allocations: 67.95 kB / 476.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1201, allocations: 3.938 kB / 476.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.147e-05/0.1202, allocations: 36.12 kB / 476.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1206, allocations: 14.81 kB / 476.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.1223, allocations: 1.496 MB / 477.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.1226, allocations: 0.6942 MB / 478.6 MB, free: 4.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.571e-05/0.1227, allocations: 24.64 kB / 478.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.1228, allocations: 23.42 kB / 478.6 MB, free: 4.656 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1228, allocations: 0 / 478.6 MB, free: 4.656 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.143, allocations: 2.941 MB / 481.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.589/7.732, allocations: 4.062 kB / 481.6 MB, free: 1.789 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches