Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1D.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001162, allocations: 109.7 kB / 16.41 MB, free: 6.473 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.001177/0.001177, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.494/1.494, 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.2467/0.2467, allocations: 43.53 MB / 314.1 MB, free: 464 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.001445/0.001445, allocations: 59.91 kB / 441.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1275, allocations: 57.8 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test28): time 0.003468/0.131, allocations: 1.55 MB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007861/0.1318, allocations: 331.4 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.708e-05/0.1319, allocations: 0 / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.1323, allocations: 111.7 kB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.1327, allocations: 75.72 kB / 0.4899 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.133, allocations: 99.73 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.1333, allocations: 79.81 kB / 0.4901 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1334, allocations: 11.98 kB / 0.4901 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.675e-05/0.1335, allocations: 39.83 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.1336, allocations: 59.88 kB / 0.4902 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1336, allocations: 4 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.1338, allocations: 35.98 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.617e-05/0.1338, allocations: 27.84 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.301e-05/0.1339, allocations: 27.69 kB / 0.4903 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.1342, allocations: 99.72 kB / 0.4904 GB, free: 9.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1342, allocations: 0 / 0.4904 GB, free: 9.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1342, allocations: 0 / 0.4904 GB, free: 9.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1342, allocations: 0 / 0.4904 GB, free: 9.266 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.0005222/0.1347, allocations: 414.8 kB / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1348, allocations: 11.89 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.1348, allocations: 12.78 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.135, allocations: 200 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.135, allocations: 384 / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.1351, allocations: 8.375 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.1352, allocations: 57.73 kB / 0.491 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1352, allocations: 3.984 kB / 0.491 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1353, allocations: 0 / 0.491 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1353, allocations: 0 / 0.491 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.423e-05/0.1354, allocations: 19.98 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.1358, allocations: 288.9 kB / 0.4913 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.136, allocations: 58.48 kB / 0.4914 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.977e-05/0.1361, allocations: 12.86 kB / 0.4914 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.1361, allocations: 0 / 0.4914 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.1361, allocations: 34.56 kB / 0.4914 GB, free: 8.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1361, allocations: 0 / 0.4914 GB, free: 8.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005703/0.1367, allocations: 161.2 kB / 0.4916 GB, free: 7.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.1367, allocations: 51.41 kB / 0.4916 GB, free: 7.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.137, allocations: 246.6 kB / 0.4919 GB, free: 7.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.137, allocations: 25.7 kB / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.1371, allocations: 108.1 kB / 0.492 GB, free: 7.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.1371, allocations: 23.72 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.1371, allocations: 17.72 kB / 0.492 GB, free: 7.336 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1373, allocations: 330.8 kB / 0.4924 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.182e-05/0.1373, allocations: 19.98 kB / 0.4924 GB, free: 6.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.973e-05/0.1374, allocations: 19.98 kB / 0.4924 GB, free: 6.965 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1375, allocations: 60.95 kB / 0.4925 GB, free: 6.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1376, allocations: 0 / 0.4925 GB, free: 6.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002113/0.1378, allocations: 93.56 kB / 0.4925 GB, free: 6.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1378, allocations: 4 kB / 0.4925 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1378, allocations: 0 / 0.4925 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1378, allocations: 0 / 0.4925 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.49e-05/0.1379, allocations: 15.98 kB / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1379, allocations: 0 / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.138, allocations: 7.906 kB / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.138, allocations: 3.938 kB / 0.4926 GB, free: 6.773 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.0001037/0.1381, allocations: 137.7 kB / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.1381, allocations: 15.91 kB / 0.4927 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.1384, allocations: 110.5 kB / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1384, allocations: 0 / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1384, allocations: 0 / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1384, allocations: 0 / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.1389, allocations: 370.4 kB / 0.4932 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1389, allocations: 0 / 0.4932 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.789e-05/0.139, allocations: 16 kB / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.139, allocations: 0 / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.139, allocations: 0 / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.139, allocations: 8.109 kB / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.139, allocations: 0 / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.1393, allocations: 183.3 kB / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.1394, allocations: 93 kB / 0.4935 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.1394, allocations: 4 kB / 0.4935 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.1395, allocations: 7.938 kB / 0.4935 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.1396, allocations: 7.984 kB / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.1396, allocations: 3.938 kB / 0.4935 GB, free: 5.727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001741/0.1398, allocations: 179.2 kB / 0.4937 GB, free: 5.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1398, allocations: 0 / 0.4937 GB, free: 5.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.14, allocations: 19.98 kB / 0.4937 GB, free: 5.531 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.001029/0.1411, allocations: 404.2 kB / 0.4941 GB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.1413, allocations: 51.95 kB / 0.4941 GB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1413, allocations: 0 / 0.4941 GB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.536e-05/0.1414, allocations: 27.92 kB / 0.4941 GB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.1418, allocations: 23.59 kB / 0.4942 GB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005498/0.1424, allocations: 266.2 kB / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.1427, allocations: 0.708 MB / 0.4951 GB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.93e-05/0.1428, allocations: 11.98 kB / 0.4951 GB, free: 4.035 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.1429, allocations: 11.44 kB / 0.4951 GB, free: 4.023 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1429, allocations: 0 / 0.4951 GB, free: 4.023 MB / 382.1 MB Notification: Performance of Templates: time 0.004194/0.1471, allocations: 1.151 MB / 0.4963 GB, free: 2.875 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches