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.001114/0.001115, allocations: 100.5 kB / 16.26 MB, free: 5.93 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.001222/0.001222, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.417/1.417, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2025/0.2025, allocations: 43.53 MB / 313.9 MB, free: 0.5234 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.001663/0.001663, allocations: 69.86 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1047, allocations: 57.8 MB / 440.6 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002744/0.1075, allocations: 1.562 MB / 442.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005895/0.1081, allocations: 343.4 kB / 442.5 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.103e-05/0.1082, allocations: 0 / 442.5 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.1085, allocations: 23.84 kB / 442.5 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.1087, allocations: 35.84 kB / 442.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.1089, allocations: 79.77 kB / 442.7 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.109, allocations: 55.91 kB / 442.7 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1092, allocations: 8.188 kB / 442.7 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.099e-05/0.1092, allocations: 31.8 kB / 442.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.943e-05/0.1093, allocations: 27.91 kB / 442.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.1093, allocations: 4 kB / 442.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.1094, allocations: 47.97 kB / 442.8 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.1095, allocations: 15.92 kB / 442.8 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/0.1095, allocations: 31.8 kB / 442.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.1098, allocations: 91.77 kB / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1098, allocations: 0 / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1098, allocations: 0 / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1098, allocations: 0 / 443 MB, free: 4.406 MB / 318.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.0004461/0.1102, allocations: 395.1 kB / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1103, allocations: 11.89 kB / 443.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.857e-05/0.1103, allocations: 30.75 kB / 443.4 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.1104, allocations: 8.844 kB / 443.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.1105, allocations: 188.1 kB / 443.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1105, allocations: 8.375 kB / 443.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.1106, allocations: 4.125 kB / 443.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.1107, allocations: 71.39 kB / 443.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1108, allocations: 15.81 kB / 443.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1108, allocations: 0 / 443.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.1108, allocations: 0 / 443.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.1109, allocations: 39.97 kB / 443.7 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.1112, allocations: 296.7 kB / 444 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.1114, allocations: 66.48 kB / 444.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.079e-05/0.1114, allocations: 24.97 kB / 444.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.1115, allocations: 0 / 444.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.1115, allocations: 34.56 kB / 444.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.1115, allocations: 0 / 444.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005527/0.112, allocations: 165.4 kB / 444.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.1121, allocations: 77.11 kB / 444.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.1122, allocations: 141.8 kB / 444.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.1122, allocations: 25.7 kB / 444.5 MB, free: 2.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.1123, allocations: 96.05 kB / 444.6 MB, free: 2.523 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.1123, allocations: 19.64 kB / 444.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.1123, allocations: 21.72 kB / 444.7 MB, free: 2.477 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.449e-05/0.1124, allocations: 322.8 kB / 445 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.924e-05/0.1124, allocations: 27.98 kB / 445 MB, free: 2.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.1e-05/0.1125, allocations: 41.77 kB / 445.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.1127, allocations: 56.81 kB / 445.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1127, allocations: 0 / 445.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001723/0.1128, allocations: 97.73 kB / 445.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.1129, allocations: 8.031 kB / 445.2 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1129, allocations: 0 / 445.2 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1129, allocations: 4 kB / 445.2 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.113, allocations: 19.98 kB / 445.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.113, allocations: 0 / 445.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.172e-05/0.1131, allocations: 11.92 kB / 445.2 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1131, allocations: 0 / 445.2 MB, free: 1.875 MB / 318.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 5.579e-05/0.1131, allocations: 118.9 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.1132, allocations: 4 kB / 445.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.1134, allocations: 126.2 kB / 445.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1134, allocations: 0 / 445.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1134, allocations: 0 / 445.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1135, allocations: 7.875 kB / 445.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/0.1138, allocations: 370.5 kB / 445.9 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1138, allocations: 4 kB / 445.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.1139, allocations: 15.98 kB / 445.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1139, allocations: 3.984 kB / 445.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1139, allocations: 3.938 kB / 445.9 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1139, allocations: 0 / 445.9 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1139, allocations: 7.938 kB / 445.9 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.1141, allocations: 191.4 kB / 446.1 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/0.1141, allocations: 81.11 kB / 446.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.1141, allocations: 3.938 kB / 446.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-05/0.1142, allocations: 11.98 kB / 446.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.1143, allocations: 4 kB / 446.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.1143, allocations: 0 / 446.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.477e-05/0.1143, allocations: 118.6 kB / 446.3 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1143, allocations: 0 / 446.3 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1146, allocations: 27.91 kB / 446.3 MB, free: 0.6914 MB / 318.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.001264/0.1159, allocations: 1.063 MB / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002352/0.1161, allocations: 67.83 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1161, allocations: 0 / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.586e-05/0.1162, allocations: 35.97 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.1166, allocations: 17.41 kB / 447.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.1182, allocations: 1.443 MB / 448.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.1185, allocations: 0.6924 MB / 449.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.007e-05/0.1186, allocations: 12.45 kB / 449.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.1186, allocations: 31.42 kB / 449.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of SimCode: time 3.016e-06/0.1187, allocations: 0 / 449.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.1387, allocations: 2.87 MB / 452.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/8.215, allocations: 8 kB / 452.6 MB, free: 10.38 MB / 334.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches