Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_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.001211/0.001211, allocations: 106.5 kB / 17.33 MB, free: 5.992 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: 189.3 kB / 18.25 MB, free: 5.086 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.354/1.354, allocations: 222.9 MB / 241.9 MB, free: 15.38 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.1945/0.1945, allocations: 44.18 MB / 336.2 MB, free: 2.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 69.31 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09578/0.09706, allocations: 60.82 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003524/0.1006, allocations: 1.714 MB / 470.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009165/0.1016, allocations: 475 kB / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.1016, allocations: 0 / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.1019, allocations: 23.91 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.1021, allocations: 35.84 kB / 471.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.1026, allocations: 166.3 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.1027, allocations: 87.7 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1029, allocations: 12.23 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.1029, allocations: 39.84 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.103, allocations: 39.83 kB / 471.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.103, allocations: 8 kB / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.1032, allocations: 55.97 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.716e-05/0.1033, allocations: 27.86 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.1033, allocations: 27.8 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.1035, allocations: 123.9 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1035, allocations: 0 / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1035, allocations: 0 / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1035, allocations: 4 kB / 471.6 MB, free: 11.77 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007153/0.1043, allocations: 423.1 kB / 472 MB, free: 11.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1043, allocations: 12.03 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.739e-05/0.1044, allocations: 34.75 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.1044, allocations: 16.75 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.1048, allocations: 196.8 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1048, allocations: 4.125 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.1049, allocations: 19.91 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.1051, allocations: 91.36 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1052, allocations: 0 / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1052, allocations: 0 / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1052, allocations: 0 / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.1056, allocations: 75.91 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006909/0.1063, allocations: 352.5 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.1065, allocations: 70.53 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.1067, allocations: 52.94 kB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1067, allocations: 4 kB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.1068, allocations: 30.56 kB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.1068, allocations: 0 / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001717/0.1085, allocations: 420.8 kB / 473.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.1086, allocations: 81.05 kB / 473.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.1088, allocations: 157.4 kB / 473.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1088, allocations: 29.7 kB / 473.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.1089, allocations: 92.14 kB / 473.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.1091, allocations: 31.55 kB / 473.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.1091, allocations: 21.72 kB / 473.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1093, allocations: 326.8 kB / 474.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.1096, allocations: 79.91 kB / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.11, allocations: 97.62 kB / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005384/0.1105, allocations: 164.6 kB / 474.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1105, allocations: 0 / 474.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006234/0.1112, allocations: 213.3 kB / 474.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1112, allocations: 7.938 kB / 474.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.1112, allocations: 7.984 kB / 474.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1112, allocations: 0 / 474.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.1114, allocations: 39.97 kB / 474.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1115, allocations: 0 / 474.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.1116, allocations: 27.95 kB / 474.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1116, allocations: 4 kB / 474.8 MB, free: 8.402 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 (10): * Single equations (assignments): 10 * 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.742e-05/0.1117, allocations: 122.2 kB / 474.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.1118, allocations: 11.84 kB / 474.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000754/0.1126, allocations: 234 kB / 475.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.1126, allocations: 3.984 kB / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1126, allocations: 0 / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1126, allocations: 0 / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.1138, allocations: 0.5142 MB / 475.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1138, allocations: 4 kB / 475.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.114, allocations: 39.95 kB / 475.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.114, allocations: 0 / 475.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.114, allocations: 0 / 475.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.114, allocations: 4 kB / 475.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.114, allocations: 0 / 475.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007351/0.1148, allocations: 303.2 kB / 476 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.1148, allocations: 92.91 kB / 476.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.1149, allocations: 0 / 476.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.1151, allocations: 31.97 kB / 476.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.1151, allocations: 11.98 kB / 476.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.1151, allocations: 0 / 476.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.589e-05/0.1152, allocations: 121.3 kB / 476.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1152, allocations: 0 / 476.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.1155, allocations: 39.92 kB / 476.3 MB, free: 6.785 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 (9): * Single equations (assignments): 9 * 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.002119/0.1176, allocations: 1.18 MB / 477.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007058/0.1184, allocations: 187.8 kB / 477.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1184, allocations: 0 / 477.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.1187, allocations: 83.91 kB / 477.7 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.119, allocations: 23.98 kB / 477.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/0.1224, allocations: 1.916 MB / 479.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.1228, allocations: 0.7041 MB / 480.4 MB, free: 2.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.1229, allocations: 28.52 kB / 480.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.231e-05/0.123, allocations: 43.39 kB / 480.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.123, allocations: 0 / 480.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/0.1368, allocations: 3.616 MB / 484 MB, free: 15.17 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.137, allocations: 273.9 kB / 484.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.048/2.186, allocations: 0 / 484.3 MB, free: 14.9 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches