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.0009918/0.0009919, allocations: 94.05 kB / 17.35 MB, free: 6.344 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.001133/0.001133, allocations: 168.9 kB / 18.25 MB, free: 5.508 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.323/1.323, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1973/0.1973, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003085, allocations: 10.03 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1036, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002108/0.1058, allocations: 1.282 MB / 473.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000751/0.1066, allocations: 415.3 kB / 474.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.1066, allocations: 0 / 474.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.1068, allocations: 23.92 kB / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.107, allocations: 35.84 kB / 474.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.1073, allocations: 98.19 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.1075, allocations: 51.84 kB / 474.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.1076, allocations: 12.19 kB / 474.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.285e-05/0.1076, allocations: 27.84 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.1077, allocations: 27.86 kB / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1077, allocations: 0 / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.1078, allocations: 47.97 kB / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.1079, allocations: 15.92 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.108, allocations: 41.58 kB / 474.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.1081, allocations: 95.97 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1082, allocations: 0 / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1082, allocations: 0 / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1082, allocations: 0 / 474.5 MB, free: 11.07 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.000416/0.1086, allocations: 379.3 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1086, allocations: 8.031 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.1087, allocations: 38.75 kB / 474.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.1087, allocations: 0.9375 kB / 474.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.1089, allocations: 192.1 kB / 475.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.1089, allocations: 4.375 kB / 475.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.1089, allocations: 4.125 kB / 475.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.1091, allocations: 67.41 kB / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1091, allocations: 7.938 kB / 475.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1091, allocations: 3.984 kB / 475.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1091, allocations: 0 / 475.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.618e-05/0.1092, allocations: 31.97 kB / 475.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.1096, allocations: 296.9 kB / 475.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.1098, allocations: 50.5 kB / 475.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.945e-05/0.1098, allocations: 24.94 kB / 475.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.1099, allocations: 0 / 475.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.1099, allocations: 34.56 kB / 475.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1099, allocations: 4 kB / 475.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000621/0.1105, allocations: 197.2 kB / 475.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.1106, allocations: 85.05 kB / 475.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1107, allocations: 133.8 kB / 476 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.1107, allocations: 29.7 kB / 476.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.1108, allocations: 92.12 kB / 476.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.1108, allocations: 19.66 kB / 476.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.1108, allocations: 17.72 kB / 476.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.1109, allocations: 322.8 kB / 476.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.592e-05/0.111, allocations: 31.98 kB / 476.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.774e-05/0.1111, allocations: 49.69 kB / 476.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.1113, allocations: 88.77 kB / 476.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1113, allocations: 0 / 476.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002182/0.1115, allocations: 109.6 kB / 476.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1116, allocations: 7.938 kB / 476.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1116, allocations: 4 kB / 476.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1116, allocations: 0 / 476.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.803e-05/0.1117, allocations: 27.98 kB / 476.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1117, allocations: 0 / 476.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.1118, allocations: 11.92 kB / 476.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1118, allocations: 4 kB / 476.8 MB, free: 8.492 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.923e-05/0.1119, allocations: 117.8 kB / 477 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.1119, allocations: 7.906 kB / 477 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.1122, allocations: 118 kB / 477.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1122, allocations: 0 / 477.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.1122, allocations: 0 / 477.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1122, allocations: 3.938 kB / 477.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.1127, allocations: 398.8 kB / 477.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1127, allocations: 0 / 477.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.362e-05/0.1128, allocations: 15.98 kB / 477.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.1128, allocations: 7.938 kB / 477.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1128, allocations: 4 kB / 477.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1128, allocations: 80 / 477.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1128, allocations: 7.984 kB / 477.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.113, allocations: 203.3 kB / 477.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.1131, allocations: 89 kB / 477.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.1131, allocations: 3.938 kB / 477.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.1132, allocations: 16 kB / 477.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.1133, allocations: 3.984 kB / 477.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.1133, allocations: 4 kB / 477.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.396e-05/0.1133, allocations: 106.6 kB / 477.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1134, allocations: 0 / 477.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1136, allocations: 27.98 kB / 478 MB, free: 7.277 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.001351/0.115, allocations: 1.082 MB / 479 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.1152, allocations: 75.95 kB / 479.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1152, allocations: 0 / 479.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.296e-05/0.1153, allocations: 47.91 kB / 479.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.1156, allocations: 18.22 kB / 479.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.1172, allocations: 1.534 MB / 480.7 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.1175, allocations: 0.6887 MB / 481.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.496e-05/0.1175, allocations: 24.64 kB / 481.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.735e-05/0.1176, allocations: 23.44 kB / 481.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1176, allocations: 0 / 481.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01188/0.1295, allocations: 2.582 MB / 484 MB, free: 1.375 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/0.1298, allocations: 250.2 kB / 484.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/1.951, allocations: 3.938 kB / 484.3 MB, free: 1.113 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