Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 105.7 kB / 16.41 MB, free: 6.5 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.001475/0.001475, allocations: 192.2 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.406/1.406, allocations: 205.1 MB / 223.2 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.2252/0.2252, allocations: 43.52 MB / 314.1 MB, free: 452 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.001523/0.001523, allocations: 66.19 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1202, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003337/0.1236, allocations: 1.573 MB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1252, allocations: 0.9378 MB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.24e-05/0.1253, allocations: 7.938 kB / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.1256, allocations: 27.86 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.1259, allocations: 39.78 kB / 0.4904 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.1261, allocations: 75.78 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.1263, allocations: 67.81 kB / 0.4906 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1264, allocations: 16.17 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.704e-05/0.1265, allocations: 27.92 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.1266, allocations: 35.83 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.1267, allocations: 4 kB / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1268, allocations: 47.98 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.951e-05/0.1269, allocations: 19.86 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.241e-05/0.1269, allocations: 27.86 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.1272, allocations: 99.69 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1272, allocations: 0 / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1272, allocations: 0 / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1272, allocations: 0 / 0.4908 GB, free: 8.762 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005175/0.1277, allocations: 391.2 kB / 0.4912 GB, free: 8.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1278, allocations: 11.89 kB / 0.4912 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.1278, allocations: 8.844 kB / 0.4912 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.128, allocations: 188.2 kB / 0.4914 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.128, allocations: 4.375 kB / 0.4914 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.1281, allocations: 384 / 0.4914 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.1283, allocations: 79.33 kB / 0.4915 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1283, allocations: 4 kB / 0.4915 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1283, allocations: 0 / 0.4915 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1283, allocations: 3.984 kB / 0.4915 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.1284, allocations: 31.97 kB / 0.4915 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/0.1289, allocations: 308.5 kB / 0.4918 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.129, allocations: 50.56 kB / 0.4919 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.1291, allocations: 24.97 kB / 0.4919 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.1291, allocations: 4 kB / 0.4919 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.1292, allocations: 30.56 kB / 0.4919 GB, free: 7.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1292, allocations: 0 / 0.4919 GB, free: 7.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000671/0.1299, allocations: 165.3 kB / 0.4921 GB, free: 7.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.1299, allocations: 89.09 kB / 0.4922 GB, free: 7.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.1301, allocations: 145.6 kB / 0.4923 GB, free: 7.051 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1301, allocations: 29.7 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.1302, allocations: 88.14 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.1302, allocations: 35.61 kB / 0.4924 GB, free: 6.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.1303, allocations: 21.72 kB / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1305, allocations: 318.8 kB / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.641e-05/0.1305, allocations: 19.98 kB / 0.4928 GB, free: 6.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.566e-05/0.1306, allocations: 50.02 kB / 0.4928 GB, free: 6.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.1308, allocations: 56.83 kB / 0.4929 GB, free: 6.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1308, allocations: 0 / 0.4929 GB, free: 6.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002067/0.131, allocations: 97.66 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.131, allocations: 7.938 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1311, allocations: 32 / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1311, allocations: 4 kB / 0.493 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1312, allocations: 23.98 kB / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1312, allocations: 0 / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.417e-05/0.1313, allocations: 11.84 kB / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.1313, allocations: 0 / 0.493 GB, free: 6.262 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 (8): * Single equations (assignments): 8 * 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.0001159/0.1314, allocations: 125.8 kB / 0.4931 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.1314, allocations: 0 / 0.4931 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.1317, allocations: 130.1 kB / 0.4933 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1317, allocations: 4 kB / 0.4933 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1318, allocations: 0 / 0.4933 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1318, allocations: 3.938 kB / 0.4933 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.1323, allocations: 378.5 kB / 0.4936 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.1323, allocations: 0 / 0.4936 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.846e-05/0.1324, allocations: 23.86 kB / 0.4937 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.1324, allocations: 7.938 kB / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1324, allocations: 4 kB / 0.4937 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1324, allocations: 0 / 0.4937 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1324, allocations: 0 / 0.4937 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.1327, allocations: 191.4 kB / 0.4939 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.1327, allocations: 81.02 kB / 0.4939 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.1328, allocations: 7.938 kB / 0.4939 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.1328, allocations: 11.98 kB / 0.4939 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.1329, allocations: 4 kB / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.1329, allocations: 3.984 kB / 0.494 GB, free: 5.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.663e-05/0.133, allocations: 111.3 kB / 0.4941 GB, free: 5.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.133, allocations: 0 / 0.4941 GB, free: 5.086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.1333, allocations: 24 kB / 0.4941 GB, free: 5.062 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 (8): * Single equations (assignments): 8 * 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.0009864/0.1343, allocations: 448.7 kB / 0.4945 GB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.1346, allocations: 67.89 kB / 0.4946 GB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1346, allocations: 0 / 0.4946 GB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.471e-05/0.1347, allocations: 39.92 kB / 0.4946 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.1351, allocations: 16.16 kB / 0.4946 GB, free: 4.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.1355, allocations: 190.1 kB / 0.4948 GB, free: 4.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1358, allocations: 0.6924 MB / 0.4955 GB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.112e-05/0.1359, allocations: 16.66 kB / 0.4955 GB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.1359, allocations: 15.42 kB / 0.4955 GB, free: 3.578 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1359, allocations: 0 / 0.4955 GB, free: 3.578 MB / 382.1 MB Notification: Performance of Templates: time 0.004349/0.1403, allocations: 1.451 MB / 0.4969 GB, free: 2.125 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches