Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.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.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 112.6 kB / 16.41 MB, free: 6.48 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.001292/0.001292, allocations: 187.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.639/1.639, allocations: 205.1 MB / 223.2 MB, free: 12.11 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.2379/0.2379, allocations: 43.53 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.001449/0.001449, allocations: 77.45 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1293, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003247/0.1326, allocations: 1.616 MB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006736/0.1332, allocations: 339.5 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.406e-05/0.1333, allocations: 4 kB / 0.4898 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.1336, allocations: 55.81 kB / 0.4899 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.1338, allocations: 55.73 kB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.1342, allocations: 155.7 kB / 0.4901 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.1344, allocations: 79.75 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1345, allocations: 23.97 kB / 0.4902 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.926e-05/0.1346, allocations: 27.91 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.1347, allocations: 35.84 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1347, allocations: 11.98 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.49e-05/0.1348, allocations: 32 kB / 0.4903 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.1349, allocations: 19.92 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.1349, allocations: 35.73 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.1351, allocations: 95.7 kB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1351, allocations: 0 / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1351, allocations: 3.938 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1351, allocations: 0 / 0.4904 GB, free: 9.203 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004979/0.1356, allocations: 391.1 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1357, allocations: 15.89 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.1357, allocations: 12.83 kB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.1359, allocations: 192.7 kB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-06/0.1359, allocations: 384 / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.1359, allocations: 11.94 kB / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.1361, allocations: 61.59 kB / 0.4911 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1361, allocations: 0 / 0.4911 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1362, allocations: 7.984 kB / 0.4911 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1362, allocations: 3.984 kB / 0.4911 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.1363, allocations: 39.97 kB / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.1367, allocations: 308.7 kB / 0.4914 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.1368, allocations: 50.5 kB / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.301e-05/0.1369, allocations: 32.92 kB / 0.4915 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.1369, allocations: 0 / 0.4915 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.137, allocations: 38.56 kB / 0.4915 GB, free: 7.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.137, allocations: 0 / 0.4915 GB, free: 7.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007328/0.1377, allocations: 225.1 kB / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.1377, allocations: 55.34 kB / 0.4918 GB, free: 7.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.1379, allocations: 182.3 kB / 0.492 GB, free: 7.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.1379, allocations: 25.7 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.138, allocations: 100.1 kB / 0.4921 GB, free: 7.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.138, allocations: 27.72 kB / 0.4921 GB, free: 7.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.1381, allocations: 21.7 kB / 0.4921 GB, free: 7.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1382, allocations: 326.8 kB / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.1383, allocations: 39.97 kB / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.1384, allocations: 39.97 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.1387, allocations: 92.95 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1387, allocations: 3.938 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003092/0.139, allocations: 125.5 kB / 0.4927 GB, free: 6.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.139, allocations: 4 kB / 0.4927 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.139, allocations: 0 / 0.4927 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.139, allocations: 0 / 0.4927 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.1392, allocations: 19.98 kB / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1392, allocations: 3.938 kB / 0.4928 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.979e-05/0.1393, allocations: 15.98 kB / 0.4928 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.1393, allocations: 4 kB / 0.4928 GB, free: 6.551 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 (7): * Single equations (assignments): 7 * 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 8.79e-05/0.1394, allocations: 129.7 kB / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.1394, allocations: 15.81 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/0.1398, allocations: 138.3 kB / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1398, allocations: 0 / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1398, allocations: 3.938 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1398, allocations: 4 kB / 0.4931 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005173/0.1403, allocations: 402.5 kB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1403, allocations: 4 kB / 0.4934 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.984e-05/0.1404, allocations: 15.98 kB / 0.4935 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1404, allocations: 3.938 kB / 0.4935 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1404, allocations: 8 kB / 0.4935 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1404, allocations: 4 kB / 0.4935 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1404, allocations: 0 / 0.4935 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.1408, allocations: 219.4 kB / 0.4937 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.1408, allocations: 92.89 kB / 0.4938 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1408, allocations: 0 / 0.4938 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.529e-05/0.1409, allocations: 11.98 kB / 0.4938 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.141, allocations: 11.98 kB / 0.4938 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.141, allocations: 0 / 0.4938 GB, free: 5.398 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.264e-05/0.1411, allocations: 139.2 kB / 0.4939 GB, free: 5.262 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1411, allocations: 0 / 0.4939 GB, free: 5.262 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000241/0.1413, allocations: 19.98 kB / 0.4939 GB, free: 5.242 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 (7): * Single equations (assignments): 7 * 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.0008673/0.1422, allocations: 404.6 kB / 0.4943 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002972/0.1425, allocations: 91.92 kB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1425, allocations: 0 / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.1427, allocations: 47.91 kB / 0.4945 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.143, allocations: 25 kB / 0.4945 GB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.1435, allocations: 242.6 kB / 0.4947 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.1438, allocations: 0.708 MB / 0.4954 GB, free: 3.734 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.219e-05/0.1439, allocations: 23.95 kB / 0.4954 GB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.1439, allocations: 15.44 kB / 0.4954 GB, free: 3.695 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1439, allocations: 0 / 0.4954 GB, free: 3.695 MB / 382.1 MB Notification: Performance of Templates: time 0.003705/0.1476, allocations: 1.295 MB / 0.4967 GB, free: 2.398 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches