Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 105.4 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.001097/0.001097, 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.364/1.364, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.2081/0.2081, allocations: 43.51 MB / 314.1 MB, free: 460 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.001662/0.001662, allocations: 73.45 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1322, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003167/0.1354, allocations: 1.546 MB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.1371, allocations: 0.9377 MB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.227e-05/0.1372, allocations: 0 / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.1374, allocations: 31.84 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.1377, allocations: 39.78 kB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.138, allocations: 75.83 kB / 0.4905 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.1381, allocations: 55.84 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1382, allocations: 19.92 kB / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.138e-05/0.1383, allocations: 19.92 kB / 0.4906 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.1385, allocations: 31.84 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1385, allocations: 4 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.1386, allocations: 43.98 kB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.1387, allocations: 11.97 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.1387, allocations: 15.88 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.139, allocations: 87.78 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.139, allocations: 7.938 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.139, allocations: 0 / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.139, allocations: 0 / 0.4907 GB, free: 8.84 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.0005178/0.1395, allocations: 387.1 kB / 0.4911 GB, free: 8.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1396, allocations: 15.89 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.1396, allocations: 4.938 kB / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.1399, allocations: 184.2 kB / 0.4913 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.1399, allocations: 8.375 kB / 0.4913 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.1399, allocations: 384 / 0.4913 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.1401, allocations: 67.47 kB / 0.4914 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.1401, allocations: 0 / 0.4914 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.1401, allocations: 4 kB / 0.4914 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1402, allocations: 4 kB / 0.4914 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.611e-05/0.1403, allocations: 23.97 kB / 0.4914 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.1407, allocations: 260.9 kB / 0.4917 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.1409, allocations: 54.58 kB / 0.4917 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.849e-05/0.141, allocations: 16.84 kB / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.141, allocations: 0 / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.141, allocations: 42.56 kB / 0.4918 GB, free: 7.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.141, allocations: 0 / 0.4918 GB, free: 7.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005566/0.1416, allocations: 141.3 kB / 0.4919 GB, free: 7.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.1417, allocations: 81.05 kB / 0.492 GB, free: 7.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.1418, allocations: 133.8 kB / 0.4921 GB, free: 7.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1418, allocations: 25.7 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.1419, allocations: 92.03 kB / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.1419, allocations: 15.81 kB / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.142, allocations: 21.66 kB / 0.4923 GB, free: 7.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1421, allocations: 326.8 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.226e-05/0.1422, allocations: 15.98 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.568e-05/0.1423, allocations: 29.7 kB / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.1424, allocations: 48.83 kB / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1424, allocations: 0 / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002/0.1426, allocations: 85.55 kB / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1426, allocations: 4 kB / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.1427, allocations: 3.984 kB / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.1427, allocations: 0 / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.1428, allocations: 15.98 kB / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1428, allocations: 0 / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.01e-05/0.1428, allocations: 4 kB / 0.4928 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1428, allocations: 3.984 kB / 0.4928 GB, free: 6.52 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.0001245/0.143, allocations: 129.7 kB / 0.4929 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.143, allocations: 4 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.1433, allocations: 93.47 kB / 0.493 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1433, allocations: 4 kB / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1433, allocations: 320 / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1433, allocations: 0 / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005324/0.1439, allocations: 346.5 kB / 0.4933 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1439, allocations: 4 kB / 0.4933 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.559e-05/0.144, allocations: 15.94 kB / 0.4933 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.144, allocations: 0 / 0.4933 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.144, allocations: 4 kB / 0.4933 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.144, allocations: 3.938 kB / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.144, allocations: 0 / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1443, allocations: 175.5 kB / 0.4935 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-05/0.1444, allocations: 85.02 kB / 0.4936 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.1444, allocations: 0 / 0.4936 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.1445, allocations: 11.92 kB / 0.4936 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.1445, allocations: 0 / 0.4936 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.1446, allocations: 4 kB / 0.4936 GB, free: 5.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.548e-05/0.1447, allocations: 99.27 kB / 0.4937 GB, free: 5.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1447, allocations: 0 / 0.4937 GB, free: 5.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003873/0.1451, allocations: 31.92 kB / 0.4937 GB, free: 5.418 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.001256/0.1463, allocations: 448.1 kB / 0.4942 GB, free: 5.016 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.1466, allocations: 43.97 kB / 0.4942 GB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1466, allocations: 0 / 0.4942 GB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.77e-05/0.1467, allocations: 27.98 kB / 0.4942 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.1471, allocations: 27.38 kB / 0.4943 GB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.1475, allocations: 157.4 kB / 0.4944 GB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.1479, allocations: 0.6885 MB / 0.4951 GB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.25e-05/0.1479, allocations: 8.25 kB / 0.4951 GB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.148, allocations: 19.42 kB / 0.4951 GB, free: 4 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.148, allocations: 0 / 0.4951 GB, free: 4 MB / 382.1 MB Notification: Performance of Templates: time 0.004601/0.1526, allocations: 1.342 MB / 0.4964 GB, free: 2.656 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches