Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1D.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001226/0.001226, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.741/1.741, 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.2378/0.2378, allocations: 43.52 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.001508/0.001508, allocations: 67.91 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1378, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.00458/0.1424, allocations: 1.546 MB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008426/0.1433, allocations: 327.4 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.143e-05/0.1433, allocations: 4 kB / 0.4897 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005964/0.144, allocations: 95.73 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.1442, allocations: 71.8 kB / 0.4899 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.1446, allocations: 91.75 kB / 0.49 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.1448, allocations: 71.86 kB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.145, allocations: 19.92 kB / 0.4901 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.127e-05/0.1451, allocations: 23.91 kB / 0.4901 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.1452, allocations: 47.89 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.1453, allocations: 4 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.1454, allocations: 39.86 kB / 0.4902 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.65e-05/0.1455, allocations: 19.98 kB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.1456, allocations: 31.73 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.1459, allocations: 91.59 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1459, allocations: 3.938 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1459, allocations: 0 / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.1459, allocations: 0 / 0.4903 GB, free: 9.32 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.0007264/0.1467, allocations: 402.8 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1467, allocations: 11.89 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.1468, allocations: 12.89 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.1472, allocations: 208.8 kB / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1473, allocations: 8.375 kB / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.1473, allocations: 4.375 kB / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.1475, allocations: 53.8 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1475, allocations: 0 / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1475, allocations: 0 / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1475, allocations: 0 / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.042e-05/0.1476, allocations: 23.98 kB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/0.1482, allocations: 292.8 kB / 0.4913 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.1485, allocations: 42.56 kB / 0.4913 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/0.1485, allocations: 24.94 kB / 0.4913 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.1486, allocations: 0 / 0.4913 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.1486, allocations: 30.56 kB / 0.4914 GB, free: 8.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1486, allocations: 0 / 0.4914 GB, free: 8.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007384/0.1493, allocations: 169.5 kB / 0.4915 GB, free: 7.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.1494, allocations: 51.41 kB / 0.4916 GB, free: 7.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.1498, allocations: 223.6 kB / 0.4918 GB, free: 7.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.1498, allocations: 25.7 kB / 0.4918 GB, free: 7.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.1501, allocations: 104.1 kB / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.1501, allocations: 19.83 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.1502, allocations: 25.66 kB / 0.492 GB, free: 7.418 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002612/0.1504, allocations: 326.8 kB / 0.4923 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.319e-05/0.1505, allocations: 19.98 kB / 0.4923 GB, free: 7.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.725e-05/0.1506, allocations: 23.92 kB / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.1507, allocations: 48.83 kB / 0.4924 GB, free: 6.996 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1507, allocations: 0 / 0.4924 GB, free: 6.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001838/0.1509, allocations: 101.5 kB / 0.4925 GB, free: 6.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1509, allocations: 4 kB / 0.4925 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1509, allocations: 0 / 0.4925 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.151, allocations: 4 kB / 0.4925 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.946e-05/0.151, allocations: 11.98 kB / 0.4925 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.151, allocations: 0 / 0.4925 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/0.1511, allocations: 7.938 kB / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.1511, allocations: 3.938 kB / 0.4925 GB, free: 6.859 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.0001198/0.1512, allocations: 137.7 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.1513, allocations: 11.95 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.1516, allocations: 102.6 kB / 0.4927 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1516, allocations: 320 / 0.4927 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1516, allocations: 0 / 0.4927 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1517, allocations: 0 / 0.4927 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.1521, allocations: 378.4 kB / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1521, allocations: 0 / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.185e-05/0.1522, allocations: 11.98 kB / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1522, allocations: 0 / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.1522, allocations: 4 kB / 0.4931 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.1522, allocations: 7.938 kB / 0.4931 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1522, allocations: 0 / 0.4931 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.1525, allocations: 187.4 kB / 0.4933 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.1526, allocations: 85.02 kB / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.1526, allocations: 4 kB / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.572e-05/0.1527, allocations: 7.922 kB / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.1527, allocations: 8 kB / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.1527, allocations: 0 / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.1529, allocations: 171.2 kB / 0.4936 GB, free: 5.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.943e-06/0.1529, allocations: 0 / 0.4936 GB, free: 5.656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.1532, allocations: 19.94 kB / 0.4936 GB, free: 5.637 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.0009585/0.1542, allocations: 407.5 kB / 0.494 GB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.1544, allocations: 47.97 kB / 0.494 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1544, allocations: 4 kB / 0.494 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.1545, allocations: 27.92 kB / 0.494 GB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.1549, allocations: 23.12 kB / 0.4941 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.1554, allocations: 242.2 kB / 0.4943 GB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.1559, allocations: 0.7041 MB / 0.495 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.504e-05/0.1559, allocations: 15.97 kB / 0.495 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.156, allocations: 11.44 kB / 0.495 GB, free: 4.152 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.156, allocations: 4 kB / 0.495 GB, free: 4.148 MB / 382.1 MB Notification: Performance of Templates: time 0.00457/0.1606, allocations: 1.135 MB / 0.4961 GB, free: 3.016 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches