Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 114.6 kB / 17.09 MB, free: 6.008 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.001366/0.001366, allocations: 194.4 kB / 18.01 MB, free: 5.094 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.351/1.351, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2095/0.2095, allocations: 43.52 MB / 314.8 MB, free: 468 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.001456/0.001456, allocations: 67.89 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1293, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.004288/0.1336, allocations: 1.62 MB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008345/0.1345, allocations: 339.5 kB / 0.4904 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.1347, allocations: 0 / 0.4904 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.1351, allocations: 67.78 kB / 0.4905 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.1354, allocations: 51.75 kB / 0.4906 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.1358, allocations: 147.7 kB / 0.4907 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.1361, allocations: 83.73 kB / 0.4908 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.1362, allocations: 23.98 kB / 0.4908 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.052e-05/0.1363, allocations: 31.89 kB / 0.4908 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.1364, allocations: 39.84 kB / 0.4909 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.1365, allocations: 4 kB / 0.4909 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1366, allocations: 35.98 kB / 0.4909 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.794e-05/0.1367, allocations: 31.84 kB / 0.4909 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.444e-05/0.1367, allocations: 31.75 kB / 0.491 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.137, allocations: 95.7 kB / 0.4911 GB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.137, allocations: 0 / 0.4911 GB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.137, allocations: 0 / 0.4911 GB, free: 9.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.137, allocations: 0 / 0.4911 GB, free: 9.207 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.0006429/0.1376, allocations: 402.5 kB / 0.4914 GB, free: 8.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.1377, allocations: 15.89 kB / 0.4915 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.755e-05/0.1378, allocations: 12.75 kB / 0.4915 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.138, allocations: 196.1 kB / 0.4917 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1381, allocations: 4.375 kB / 0.4917 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.1381, allocations: 8.281 kB / 0.4917 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.1383, allocations: 61.8 kB / 0.4917 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.1383, allocations: 4 kB / 0.4917 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1384, allocations: 0 / 0.4917 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.1384, allocations: 0 / 0.4917 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.1385, allocations: 39.95 kB / 0.4918 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005462/0.1391, allocations: 316.7 kB / 0.4921 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.1392, allocations: 46.56 kB / 0.4921 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.613e-05/0.1393, allocations: 32.92 kB / 0.4922 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.1393, allocations: 0 / 0.4922 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.1394, allocations: 38.55 kB / 0.4922 GB, free: 7.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1394, allocations: 3.938 kB / 0.4922 GB, free: 7.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009013/0.1403, allocations: 229.1 kB / 0.4924 GB, free: 7.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.1404, allocations: 55.41 kB / 0.4925 GB, free: 7.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.1406, allocations: 178.2 kB / 0.4926 GB, free: 7.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.1406, allocations: 29.7 kB / 0.4927 GB, free: 7.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.77e-05/0.1407, allocations: 108.1 kB / 0.4928 GB, free: 7.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.1407, allocations: 19.61 kB / 0.4928 GB, free: 7.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.1408, allocations: 21.72 kB / 0.4928 GB, free: 7.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1409, allocations: 326.8 kB / 0.4931 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1411, allocations: 39.97 kB / 0.4932 GB, free: 6.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.1412, allocations: 39.91 kB / 0.4932 GB, free: 6.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.1414, allocations: 92.86 kB / 0.4933 GB, free: 6.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1415, allocations: 0 / 0.4933 GB, free: 6.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002856/0.1417, allocations: 125.5 kB / 0.4934 GB, free: 6.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1418, allocations: 8 kB / 0.4934 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1418, allocations: 0 / 0.4934 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1418, allocations: 0 / 0.4934 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.1419, allocations: 19.98 kB / 0.4934 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.142, allocations: 3.938 kB / 0.4934 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.07e-05/0.142, allocations: 11.92 kB / 0.4934 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.142, allocations: 4 kB / 0.4934 GB, free: 6.543 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 0.0001158/0.1422, allocations: 133.8 kB / 0.4936 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.1422, allocations: 11.91 kB / 0.4936 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/0.1426, allocations: 138.3 kB / 0.4937 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1426, allocations: 0 / 0.4937 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1426, allocations: 0 / 0.4937 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1426, allocations: 3.938 kB / 0.4937 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/0.1432, allocations: 418.4 kB / 0.4941 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1432, allocations: 0 / 0.4941 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.693e-05/0.1433, allocations: 15.98 kB / 0.4941 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1433, allocations: 0 / 0.4941 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1433, allocations: 7.938 kB / 0.4941 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1434, allocations: 0 / 0.4941 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1434, allocations: 0 / 0.4941 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.1437, allocations: 235.6 kB / 0.4944 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.1438, allocations: 93 kB / 0.4945 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.1439, allocations: 3.938 kB / 0.4945 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.448e-05/0.144, allocations: 4 kB / 0.4945 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.144, allocations: 7.984 kB / 0.4945 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.144, allocations: 8 kB / 0.4945 GB, free: 5.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.1442, allocations: 144 kB / 0.4946 GB, free: 5.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1442, allocations: 0 / 0.4946 GB, free: 5.234 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1444, allocations: 16 kB / 0.4946 GB, free: 5.219 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.001004/0.1454, allocations: 408.8 kB / 0.495 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003351/0.1458, allocations: 95.86 kB / 0.4951 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1458, allocations: 0 / 0.4951 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.1459, allocations: 51.95 kB / 0.4952 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.1464, allocations: 16.59 kB / 0.4952 GB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/0.1469, allocations: 256.1 kB / 0.4954 GB, free: 4.418 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.1472, allocations: 0.7119 MB / 0.4961 GB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.1473, allocations: 19.31 kB / 0.4961 GB, free: 3.66 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1473, allocations: 0 / 0.4961 GB, free: 3.66 MB / 382.1 MB Notification: Performance of Templates: time 0.004369/0.1517, allocations: 1.692 MB / 0.4978 GB, free: 1.969 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches