Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 107.1 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.001643/0.001643, 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.368/1.368, 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.2216/0.2216, allocations: 43.52 MB / 314.1 MB, free: 448 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.001507/0.001507, allocations: 69.47 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1337, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003389/0.1372, allocations: 1.542 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007005/0.1379, allocations: 331.4 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.401e-05/0.138, allocations: 0 / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.1383, allocations: 123.7 kB / 0.4898 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.1386, allocations: 91.69 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.1389, allocations: 67.84 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.1391, allocations: 75.88 kB / 0.4901 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.1393, allocations: 19.95 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.223e-05/0.1394, allocations: 47.78 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.1395, allocations: 79.84 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1395, allocations: 0 / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.755e-05/0.1396, allocations: 35.97 kB / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.179e-05/0.1397, allocations: 27.86 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.1397, allocations: 27.75 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.1399, allocations: 99.64 kB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1399, allocations: 0 / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.14, allocations: 4 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.14, allocations: 4 kB / 0.4904 GB, free: 9.211 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.00049/0.1405, allocations: 418.8 kB / 0.4908 GB, free: 8.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.1405, allocations: 15.89 kB / 0.4908 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.1406, allocations: 12.75 kB / 0.4908 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.1408, allocations: 215.8 kB / 0.491 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1408, allocations: 4.375 kB / 0.491 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.1408, allocations: 4.375 kB / 0.491 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.141, allocations: 49.81 kB / 0.4911 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.141, allocations: 4 kB / 0.4911 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.141, allocations: 0 / 0.4911 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.141, allocations: 0 / 0.4911 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.4e-05/0.1411, allocations: 23.92 kB / 0.4911 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.1415, allocations: 292.8 kB / 0.4914 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.1417, allocations: 42.56 kB / 0.4914 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.02e-05/0.1418, allocations: 16.94 kB / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.1418, allocations: 4 kB / 0.4914 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.1419, allocations: 34.5 kB / 0.4915 GB, free: 7.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.1419, allocations: 0 / 0.4915 GB, free: 7.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005479/0.1424, allocations: 145.1 kB / 0.4916 GB, free: 7.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.1425, allocations: 63.41 kB / 0.4917 GB, free: 7.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.1427, allocations: 262.3 kB / 0.4919 GB, free: 7.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1427, allocations: 25.7 kB / 0.492 GB, free: 7.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.1428, allocations: 112.1 kB / 0.4921 GB, free: 7.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.1429, allocations: 23.59 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.1429, allocations: 21.7 kB / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.143, allocations: 326.8 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.16e-05/0.1431, allocations: 23.98 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.487e-05/0.1431, allocations: 16.17 kB / 0.4925 GB, free: 6.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.1433, allocations: 44.84 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1433, allocations: 0 / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001743/0.1435, allocations: 89.5 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1435, allocations: 8 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1435, allocations: 0 / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1435, allocations: 4 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.795e-05/0.1436, allocations: 8 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.1436, allocations: 3.984 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.838e-05/0.1436, allocations: 4 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1436, allocations: 4 kB / 0.4926 GB, free: 6.707 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 9.815e-05/0.1438, allocations: 141.6 kB / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.1438, allocations: 15.81 kB / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.144, allocations: 102.6 kB / 0.4929 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.144, allocations: 4 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.144, allocations: 3.984 kB / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.144, allocations: 0 / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.1444, allocations: 354.5 kB / 0.4932 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1445, allocations: 0 / 0.4932 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.043e-05/0.1445, allocations: 8.188 kB / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1445, allocations: 4 kB / 0.4932 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1445, allocations: 8 kB / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.1445, allocations: 11.86 kB / 0.4932 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1446, allocations: 0 / 0.4932 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.1448, allocations: 179.3 kB / 0.4934 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.1448, allocations: 81.3 kB / 0.4935 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.1448, allocations: 4 kB / 0.4935 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.1449, allocations: 15.92 kB / 0.4935 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.145, allocations: 4 kB / 0.4935 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.145, allocations: 3.984 kB / 0.4935 GB, free: 5.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001561/0.1451, allocations: 203.2 kB / 0.4937 GB, free: 5.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1451, allocations: 0 / 0.4937 GB, free: 5.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.1454, allocations: 16 kB / 0.4937 GB, free: 5.461 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.0008698/0.1463, allocations: 404.5 kB / 0.4941 GB, free: 5.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.1464, allocations: 51.91 kB / 0.4942 GB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.1465, allocations: 0 / 0.4942 GB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.38e-05/0.1465, allocations: 23.98 kB / 0.4942 GB, free: 5.023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.1469, allocations: 23.84 kB / 0.4942 GB, free: 5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004969/0.1474, allocations: 270.5 kB / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.1477, allocations: 0.7157 MB / 0.4952 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.135e-05/0.1478, allocations: 4 kB / 0.4952 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.1478, allocations: 19.42 kB / 0.4952 GB, free: 3.945 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1478, allocations: 4 kB / 0.4952 GB, free: 3.941 MB / 382.1 MB Notification: Performance of Templates: time 0.003648/0.1515, allocations: 1.136 MB / 0.4963 GB, free: 2.805 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches