Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 103.7 kB / 16.4 MB, free: 6.508 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.001198/0.001198, allocations: 192.2 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.501/1.501, 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.2526/0.2526, allocations: 43.52 MB / 314.1 MB, free: 460 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.001743/0.001743, allocations: 69.47 kB / 441.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1421, allocations: 57.78 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.004519/0.1467, allocations: 1.62 MB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1485, allocations: 0.9613 MB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.894e-05/0.1486, allocations: 4 kB / 0.4904 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.1489, allocations: 19.86 kB / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.1493, allocations: 51.7 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.1498, allocations: 155.6 kB / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.1501, allocations: 67.78 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.1502, allocations: 27.95 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.42e-05/0.1503, allocations: 27.92 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.1505, allocations: 27.84 kB / 0.4908 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.1505, allocations: 4 kB / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.1507, allocations: 55.97 kB / 0.4908 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.1508, allocations: 11.94 kB / 0.4908 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.1509, allocations: 35.78 kB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.1512, allocations: 95.7 kB / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.1512, allocations: 0 / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1512, allocations: 0 / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1512, allocations: 0 / 0.491 GB, free: 8.598 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.0007012/0.152, allocations: 395.2 kB / 0.4913 GB, free: 8.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.152, allocations: 11.89 kB / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.1521, allocations: 8.844 kB / 0.4914 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.1523, allocations: 192.2 kB / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1524, allocations: 384 / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.1524, allocations: 8.359 kB / 0.4916 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.1526, allocations: 83.45 kB / 0.4916 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.1527, allocations: 0 / 0.4916 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.1527, allocations: 4 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.1527, allocations: 0 / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.1529, allocations: 39.95 kB / 0.4917 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005316/0.1534, allocations: 308.6 kB / 0.492 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.1536, allocations: 46.56 kB / 0.492 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.979e-05/0.1536, allocations: 24.94 kB / 0.492 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.1537, allocations: 0 / 0.492 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1537, allocations: 34.56 kB / 0.4921 GB, free: 7.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1537, allocations: 0 / 0.4921 GB, free: 7.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007985/0.1545, allocations: 221.4 kB / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/0.1546, allocations: 77.11 kB / 0.4924 GB, free: 6.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.1548, allocations: 140.3 kB / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1548, allocations: 25.7 kB / 0.4925 GB, free: 6.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.1549, allocations: 100 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.1549, allocations: 23.72 kB / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.1549, allocations: 21.7 kB / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1551, allocations: 322.8 kB / 0.493 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.1552, allocations: 39.89 kB / 0.493 GB, free: 6.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.1553, allocations: 61.62 kB / 0.4931 GB, free: 6.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.1556, allocations: 84.83 kB / 0.4931 GB, free: 6.137 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1556, allocations: 4 kB / 0.4931 GB, free: 6.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000292/0.1559, allocations: 121.5 kB / 0.4933 GB, free: 6.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.1559, allocations: 4 kB / 0.4933 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1559, allocations: 0 / 0.4933 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.1559, allocations: 8 kB / 0.4933 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1561, allocations: 19.98 kB / 0.4933 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1561, allocations: 4.25 kB / 0.4933 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.014e-05/0.1562, allocations: 19.86 kB / 0.4933 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.1562, allocations: 0 / 0.4933 GB, free: 5.953 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.0001079/0.1563, allocations: 121.8 kB / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.1563, allocations: 11.89 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.1567, allocations: 141.9 kB / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.1567, allocations: 0 / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1567, allocations: 0 / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1567, allocations: 7.922 kB / 0.4936 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005914/0.1573, allocations: 402.4 kB / 0.494 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1573, allocations: 8 kB / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.497e-05/0.1574, allocations: 15.98 kB / 0.494 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1574, allocations: 0 / 0.494 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1575, allocations: 7.938 kB / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1575, allocations: 0 / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1575, allocations: 0 / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.1578, allocations: 223.3 kB / 0.4942 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.1579, allocations: 81.02 kB / 0.4943 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.1579, allocations: 7.938 kB / 0.4943 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.158, allocations: 11.98 kB / 0.4943 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.158, allocations: 7.984 kB / 0.4943 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.158, allocations: 288 / 0.4943 GB, free: 4.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.148e-05/0.1581, allocations: 103.3 kB / 0.4944 GB, free: 4.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1581, allocations: 0 / 0.4944 GB, free: 4.715 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1584, allocations: 35.98 kB / 0.4944 GB, free: 4.68 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.001025/0.1594, allocations: 449.2 kB / 0.4949 GB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003128/0.1598, allocations: 91.88 kB / 0.495 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1598, allocations: 0 / 0.495 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1599, allocations: 43.97 kB / 0.495 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.1603, allocations: 19.84 kB / 0.495 GB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.1607, allocations: 194.7 kB / 0.4952 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1611, allocations: 0.7079 MB / 0.4959 GB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.232e-05/0.1612, allocations: 23.97 kB / 0.4959 GB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.779e-05/0.1612, allocations: 15.42 kB / 0.4959 GB, free: 3.137 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1612, allocations: 0 / 0.4959 GB, free: 3.137 MB / 382.1 MB Notification: Performance of Templates: time 0.004639/0.1659, allocations: 1.549 MB / 0.4974 GB, free: 1.59 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches