Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 110.6 kB / 16.41 MB, free: 6.504 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.001098/0.001099, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.483/1.483, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2012/0.2012, allocations: 43.51 MB / 314.1 MB, free: 456 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.001534/0.001534, allocations: 69.47 kB / 441.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1256, allocations: 57.78 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003041/0.1287, allocations: 1.554 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006975/0.1294, allocations: 327.5 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.293e-05/0.1296, allocations: 0 / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.1299, allocations: 75.77 kB / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.1302, allocations: 59.75 kB / 0.4898 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.1305, allocations: 67.84 kB / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.1307, allocations: 63.89 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.1309, allocations: 23.91 kB / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.96e-05/0.131, allocations: 35.83 kB / 0.49 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1311, allocations: 47.89 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1311, allocations: 0 / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1312, allocations: 31.98 kB / 0.4901 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.239e-05/0.1313, allocations: 19.92 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.776e-05/0.1314, allocations: 27.75 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.1316, allocations: 87.7 kB / 0.4902 GB, free: 9.355 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1316, allocations: 0 / 0.4902 GB, free: 9.355 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.95e-06/0.1316, allocations: 0 / 0.4902 GB, free: 9.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1316, allocations: 7.938 kB / 0.4902 GB, free: 9.348 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005944/0.1322, allocations: 395 kB / 0.4906 GB, free: 8.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1323, allocations: 15.89 kB / 0.4906 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.1324, allocations: 8.844 kB / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.1326, allocations: 188.1 kB / 0.4908 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.1326, allocations: 8.312 kB / 0.4908 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.1326, allocations: 4.359 kB / 0.4908 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1328, allocations: 53.8 kB / 0.4909 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1328, allocations: 4 kB / 0.4909 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1329, allocations: 4 kB / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1329, allocations: 0 / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.181e-05/0.133, allocations: 19.92 kB / 0.4909 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.1334, allocations: 288.8 kB / 0.4912 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.1336, allocations: 38.56 kB / 0.4912 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.1336, allocations: 24.94 kB / 0.4912 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.1337, allocations: 7.875 kB / 0.4913 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.1337, allocations: 30.56 kB / 0.4913 GB, free: 8.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1337, allocations: 0 / 0.4913 GB, free: 8.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005318/0.1342, allocations: 141.2 kB / 0.4914 GB, free: 7.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.1343, allocations: 55.41 kB / 0.4915 GB, free: 7.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.1345, allocations: 202.2 kB / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1345, allocations: 25.7 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.1346, allocations: 104.1 kB / 0.4918 GB, free: 7.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.1346, allocations: 23.64 kB / 0.4918 GB, free: 7.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.1347, allocations: 17.72 kB / 0.4918 GB, free: 7.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1348, allocations: 326.8 kB / 0.4921 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.1349, allocations: 23.98 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.212e-05/0.135, allocations: 11.98 kB / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.1351, allocations: 49.03 kB / 0.4922 GB, free: 7.102 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1351, allocations: 0 / 0.4922 GB, free: 7.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001702/0.1353, allocations: 85.5 kB / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1353, allocations: 4 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1353, allocations: 0 / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.1353, allocations: 8 kB / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.801e-05/0.1354, allocations: 11.98 kB / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1354, allocations: 3.984 kB / 0.4923 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.747e-05/0.1355, allocations: 4 kB / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1355, allocations: 0 / 0.4923 GB, free: 6.98 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 (5): * Single equations (assignments): 5 * 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.0001003/0.1356, allocations: 137.7 kB / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.1356, allocations: 7.906 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.1359, allocations: 93.91 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1359, allocations: 0 / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1359, allocations: 0 / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1359, allocations: 0 / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.1363, allocations: 350.5 kB / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1364, allocations: 0 / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.051e-05/0.1364, allocations: 12 kB / 0.4929 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1364, allocations: 3.938 kB / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1364, allocations: 7.984 kB / 0.4929 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1365, allocations: 7.875 kB / 0.4929 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1365, allocations: 4.125 kB / 0.4929 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.1367, allocations: 183.3 kB / 0.4931 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.564e-05/0.1368, allocations: 85.02 kB / 0.4932 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.1368, allocations: 0 / 0.4932 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.1369, allocations: 15.92 kB / 0.4932 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.1369, allocations: 4 kB / 0.4932 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1369, allocations: 0 / 0.4932 GB, free: 5.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.1371, allocations: 164 kB / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1371, allocations: 0 / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.1373, allocations: 23.98 kB / 0.4934 GB, free: 5.793 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 (5): * Single equations (assignments): 5 * 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.0008728/0.1382, allocations: 401.2 kB / 0.4938 GB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.1384, allocations: 51.91 kB / 0.4938 GB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1384, allocations: 4 kB / 0.4938 GB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.86e-05/0.1385, allocations: 23.97 kB / 0.4938 GB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1388, allocations: 15.86 kB / 0.4939 GB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.1393, allocations: 214 kB / 0.4941 GB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.1396, allocations: 0.7079 MB / 0.4948 GB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.528e-05/0.1396, allocations: 4 kB / 0.4948 GB, free: 4.367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1397, allocations: 15.38 kB / 0.4948 GB, free: 4.352 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1397, allocations: 0 / 0.4948 GB, free: 4.352 MB / 382.1 MB Notification: Performance of Templates: time 0.00389/0.1436, allocations: 1.112 MB / 0.4959 GB, free: 3.242 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches