Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test16") translateModel(ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 109.7 kB / 16.41 MB, free: 6.492 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.001283/0.001284, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.402/1.402, 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.2038/0.2038, allocations: 43.53 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.001485/0.001485, allocations: 68.47 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1195, allocations: 57.8 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test16): time 0.003107/0.1226, allocations: 1.542 MB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006683/0.1233, allocations: 339.4 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.1234, allocations: 0 / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.1237, allocations: 75.78 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.124, allocations: 63.73 kB / 0.4899 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.1243, allocations: 91.81 kB / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.1245, allocations: 71.81 kB / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1246, allocations: 15.98 kB / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.813e-05/0.1247, allocations: 35.83 kB / 0.4901 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.1248, allocations: 47.89 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.1248, allocations: 4 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.054e-05/0.1249, allocations: 31.98 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.125, allocations: 11.92 kB / 0.4902 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.1251, allocations: 31.75 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.1253, allocations: 91.64 kB / 0.4903 GB, free: 9.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1253, allocations: 4 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1253, allocations: 4 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1253, allocations: 0 / 0.4903 GB, free: 9.344 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.0005753/0.1259, allocations: 398.5 kB / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1259, allocations: 11.89 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.126, allocations: 16.84 kB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.1262, allocations: 192.1 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1262, allocations: 384 / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.1263, allocations: 4.375 kB / 0.4909 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.1264, allocations: 57.8 kB / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1265, allocations: 7.984 kB / 0.4909 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1265, allocations: 0 / 0.4909 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1265, allocations: 3.938 kB / 0.4909 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.219e-05/0.1266, allocations: 19.98 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.127, allocations: 288.8 kB / 0.4912 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.1273, allocations: 46.56 kB / 0.4913 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.638e-05/0.1274, allocations: 20.88 kB / 0.4913 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.1274, allocations: 3.938 kB / 0.4913 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.1274, allocations: 38.56 kB / 0.4913 GB, free: 8.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1274, allocations: 0 / 0.4913 GB, free: 8.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005836/0.128, allocations: 149.2 kB / 0.4915 GB, free: 7.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.1281, allocations: 59.39 kB / 0.4915 GB, free: 7.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.1283, allocations: 202.2 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.1283, allocations: 25.7 kB / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.1284, allocations: 100.1 kB / 0.4919 GB, free: 7.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.1284, allocations: 23.64 kB / 0.4919 GB, free: 7.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.1284, allocations: 17.72 kB / 0.4919 GB, free: 7.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1286, allocations: 326.8 kB / 0.4922 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-05/0.1286, allocations: 27.92 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.756e-05/0.1287, allocations: 19.98 kB / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.1289, allocations: 52.83 kB / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1289, allocations: 0 / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001874/0.1291, allocations: 85.5 kB / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1291, allocations: 8 kB / 0.4924 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1291, allocations: 4 kB / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1291, allocations: 0 / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.634e-05/0.1292, allocations: 16.23 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1292, allocations: 0 / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.805e-05/0.1292, allocations: 8 kB / 0.4924 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1293, allocations: 4 kB / 0.4924 GB, free: 6.93 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.0001004/0.1294, allocations: 129.7 kB / 0.4925 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.1294, allocations: 7.906 kB / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.1296, allocations: 105.9 kB / 0.4927 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1297, allocations: 0 / 0.4927 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1297, allocations: 4 kB / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1297, allocations: 0 / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.1301, allocations: 358.5 kB / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1301, allocations: 0 / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.149e-05/0.1302, allocations: 15.92 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1302, allocations: 4 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1302, allocations: 4 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.1302, allocations: 3.938 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1302, allocations: 3.938 kB / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.1305, allocations: 183.3 kB / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.1305, allocations: 81.02 kB / 0.4933 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.1305, allocations: 8 kB / 0.4933 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.273e-05/0.1306, allocations: 11.92 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.1307, allocations: 4 kB / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.1307, allocations: 192 / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.1308, allocations: 164 kB / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1308, allocations: 0 / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1311, allocations: 20 kB / 0.4935 GB, free: 5.734 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.0008627/0.1319, allocations: 406.9 kB / 0.4939 GB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.1321, allocations: 55.95 kB / 0.4939 GB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1321, allocations: 0 / 0.4939 GB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.383e-05/0.1322, allocations: 23.98 kB / 0.4939 GB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.1326, allocations: 27.83 kB / 0.494 GB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.133, allocations: 218 kB / 0.4942 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.1333, allocations: 0.708 MB / 0.4949 GB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.56e-05/0.1333, allocations: 12.23 kB / 0.4949 GB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.1334, allocations: 23.36 kB / 0.4949 GB, free: 4.258 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1334, allocations: 0 / 0.4949 GB, free: 4.258 MB / 382.1 MB Notification: Performance of Templates: time 0.003863/0.1373, allocations: 1.128 MB / 0.496 GB, free: 3.129 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches