Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.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: translateModel(ModelicaTest.Tables.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20") translateModel(ModelicaTest.Tables.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 111.4 kB / 17.08 MB, free: 5.82 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.001015/0.001015, allocations: 198.3 kB / 18.01 MB, free: 4.965 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.337/1.337, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2104/0.2104, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 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.001596/0.001596, allocations: 63.89 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1203, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.004015/0.1244, allocations: 1.959 MB / 0.4905 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1259, allocations: 0.6549 MB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.1261, allocations: 8 kB / 0.4911 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005179/0.1266, allocations: 255.2 kB / 0.4913 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004878/0.1272, allocations: 199.3 kB / 0.4915 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.1283, allocations: 447 kB / 0.492 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004841/0.1288, allocations: 271.3 kB / 0.4922 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.129, allocations: 60.7 kB / 0.4923 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.1292, allocations: 131.5 kB / 0.4924 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002971/0.1296, allocations: 199.3 kB / 0.4926 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.1296, allocations: 12 kB / 0.4926 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.1298, allocations: 63.98 kB / 0.4927 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.1299, allocations: 95.67 kB / 0.4928 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.1301, allocations: 107.1 kB / 0.4929 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004515/0.1305, allocations: 290.9 kB / 0.4931 GB, free: 7.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1306, allocations: 4 kB / 0.4931 GB, free: 7.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1306, allocations: 0 / 0.4931 GB, free: 7.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1306, allocations: 0 / 0.4931 GB, free: 7.082 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000984/0.1316, allocations: 0.6185 MB / 0.4937 GB, free: 6.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1316, allocations: 11.89 kB / 0.4938 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.1317, allocations: 40.47 kB / 0.4938 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.1322, allocations: 298.3 kB / 0.4941 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1322, allocations: 12.36 kB / 0.4941 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.1322, allocations: 12.31 kB / 0.4941 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.1325, allocations: 113.7 kB / 0.4942 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.1325, allocations: 3.984 kB / 0.4942 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1326, allocations: 4 kB / 0.4942 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.1326, allocations: 4 kB / 0.4942 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.1328, allocations: 75.81 kB / 0.4943 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007291/0.1335, allocations: 472.3 kB / 0.4947 GB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.1337, allocations: 98.53 kB / 0.4948 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.209e-05/0.1338, allocations: 32.84 kB / 0.4949 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.1338, allocations: 0 / 0.4949 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.1339, allocations: 38.5 kB / 0.4949 GB, free: 5.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.1339, allocations: 0 / 0.4949 GB, free: 5.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001111/0.135, allocations: 382.7 kB / 0.4953 GB, free: 4.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.1351, allocations: 51.41 kB / 0.4953 GB, free: 4.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006336/0.1357, allocations: 0.5172 MB / 0.4958 GB, free: 4.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1357, allocations: 25.7 kB / 0.4959 GB, free: 4.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.1359, allocations: 196.3 kB / 0.496 GB, free: 3.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.829e-05/0.1359, allocations: 63.08 kB / 0.4961 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.136, allocations: 29.72 kB / 0.4961 GB, free: 3.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.1362, allocations: 354.8 kB / 0.4965 GB, free: 3.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.1363, allocations: 47.97 kB / 0.4965 GB, free: 3.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.1365, allocations: 51.97 kB / 0.4966 GB, free: 3.359 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.1367, allocations: 120.8 kB / 0.4967 GB, free: 3.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1367, allocations: 3.938 kB / 0.4967 GB, free: 3.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003614/0.1371, allocations: 195.8 kB / 0.4969 GB, free: 3.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1371, allocations: 8 kB / 0.4969 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.1371, allocations: 4 kB / 0.4969 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1371, allocations: 0 / 0.4969 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.1373, allocations: 35.98 kB / 0.4969 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1373, allocations: 0 / 0.4969 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.841e-05/0.1374, allocations: 7.984 kB / 0.4969 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.1374, allocations: 8 kB / 0.4969 GB, free: 2.977 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 (17): * Single equations (assignments): 17 * 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 0.0001784/0.1376, allocations: 177.6 kB / 0.4971 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/0.1377, allocations: 39.53 kB / 0.4971 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004632/0.1381, allocations: 229.3 kB / 0.4974 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1382, allocations: 0 / 0.4974 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1382, allocations: 0 / 0.4974 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1382, allocations: 3.984 kB / 0.4974 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008148/0.139, allocations: 0.612 MB / 0.498 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.139, allocations: 4 kB / 0.498 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.1391, allocations: 39.91 kB / 0.498 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1391, allocations: 0 / 0.498 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1392, allocations: 4 kB / 0.498 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1392, allocations: 4 kB / 0.498 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1392, allocations: 3.938 kB / 0.498 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.1396, allocations: 296 kB / 0.4983 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.78e-05/0.1397, allocations: 104.7 kB / 0.4984 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.1397, allocations: 4 kB / 0.4984 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.366e-05/0.1398, allocations: 7.984 kB / 0.4984 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.1399, allocations: 19.92 kB / 0.4984 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-06/0.1399, allocations: 4 kB / 0.4984 GB, free: 1.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000398/0.1403, allocations: 387.1 kB / 0.4988 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1403, allocations: 0 / 0.4988 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003203/0.1406, allocations: 51.98 kB / 0.4988 GB, free: 0.9141 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 (17): * Single equations (assignments): 17 * 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.001642/0.1423, allocations: 0.6854 MB / 0.4995 GB, free: 268 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003186/0.1426, allocations: 131.8 kB / 0.4996 GB, free: 136 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1426, allocations: 0 / 0.4996 GB, free: 136 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.1428, allocations: 79.89 kB / 0.4997 GB, free: 56 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006232/0.1434, allocations: 73.3 kB / 0.4998 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009991/0.1444, allocations: 0.6684 MB / 0.5004 GB, free: 15.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.1449, allocations: 0.7944 MB / 0.5012 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.532e-05/0.145, allocations: 31.42 kB / 0.5012 GB, free: 14.43 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.145, allocations: 8 kB / 0.5013 GB, free: 14.42 MB / 398.1 MB Notification: Performance of Templates: time 0.007818/0.1528, allocations: 4.331 MB / 0.5055 GB, free: 10.09 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches