Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 107.5 kB / 16.41 MB, free: 6.484 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.001314/0.001314, allocations: 185.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.634/1.634, 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.2478/0.2478, allocations: 43.53 MB / 314.1 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.001309/0.001309, allocations: 67.91 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1445, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.00287/0.1474, allocations: 1.543 MB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005987/0.148, allocations: 327.4 kB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.1481, allocations: 0 / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.1484, allocations: 75.77 kB / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.1486, allocations: 67.73 kB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.1488, allocations: 67.86 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.149, allocations: 67.83 kB / 0.49 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1491, allocations: 23.95 kB / 0.49 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.272e-05/0.1491, allocations: 27.84 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1492, allocations: 47.89 kB / 0.4901 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1493, allocations: 4 kB / 0.4901 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.775e-05/0.1494, allocations: 31.98 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.1494, allocations: 19.92 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.1495, allocations: 27.73 kB / 0.4902 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.1496, allocations: 95.55 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1497, allocations: 3.984 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1497, allocations: 0 / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1497, allocations: 0 / 0.4902 GB, free: 9.379 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.0005148/0.1502, allocations: 394.9 kB / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1502, allocations: 15.89 kB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.1503, allocations: 12.84 kB / 0.4907 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.1505, allocations: 192.2 kB / 0.4908 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.1505, allocations: 4.375 kB / 0.4908 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.1505, allocations: 384 / 0.4908 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.1507, allocations: 61.73 kB / 0.4909 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1507, allocations: 0 / 0.4909 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1507, allocations: 0 / 0.4909 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1507, allocations: 0 / 0.4909 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.151e-05/0.1508, allocations: 23.98 kB / 0.4909 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.1512, allocations: 280.8 kB / 0.4912 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.1514, allocations: 46.5 kB / 0.4912 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.1515, allocations: 20.88 kB / 0.4913 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1515, allocations: 0 / 0.4913 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1516, allocations: 34.56 kB / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1516, allocations: 0 / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005426/0.1521, allocations: 141.7 kB / 0.4914 GB, free: 8.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.1522, allocations: 55.41 kB / 0.4915 GB, free: 7.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.1524, allocations: 198.2 kB / 0.4917 GB, free: 7.738 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.1524, allocations: 29.64 kB / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.1524, allocations: 116.1 kB / 0.4918 GB, free: 7.586 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.1525, allocations: 15.83 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.1525, allocations: 17.72 kB / 0.4918 GB, free: 7.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1526, allocations: 326.8 kB / 0.4921 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.746e-05/0.1527, allocations: 19.98 kB / 0.4922 GB, free: 7.199 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.625e-05/0.1528, allocations: 15.98 kB / 0.4922 GB, free: 7.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1529, allocations: 49.03 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1529, allocations: 0 / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001705/0.1531, allocations: 89.53 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1531, allocations: 4 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1531, allocations: 0 / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.1531, allocations: 4 kB / 0.4923 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.75e-05/0.1532, allocations: 8 kB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.1532, allocations: 3.984 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.934e-05/0.1533, allocations: 12 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.1533, allocations: 0 / 0.4923 GB, free: 7.008 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.0001002/0.1534, allocations: 133.7 kB / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.1534, allocations: 11.91 kB / 0.4925 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.1537, allocations: 97.89 kB / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1537, allocations: 0 / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1537, allocations: 0 / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1537, allocations: 0 / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.1542, allocations: 354.5 kB / 0.4929 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1542, allocations: 0 / 0.4929 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.232e-05/0.1543, allocations: 19.94 kB / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1543, allocations: 192 / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.1543, allocations: 7.984 kB / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1543, allocations: 7.875 kB / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1543, allocations: 0 / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.1545, allocations: 179.5 kB / 0.4931 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.1546, allocations: 85.02 kB / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.1546, allocations: 0 / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.1547, allocations: 11.92 kB / 0.4932 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.1547, allocations: 4 kB / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1547, allocations: 0 / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.1549, allocations: 164 kB / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1549, allocations: 4 kB / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.1551, allocations: 16 kB / 0.4934 GB, free: 5.824 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.0009269/0.156, allocations: 406.7 kB / 0.4938 GB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.1563, allocations: 39.97 kB / 0.4938 GB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1563, allocations: 4 kB / 0.4938 GB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.497e-05/0.1564, allocations: 27.97 kB / 0.4938 GB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.1567, allocations: 27.48 kB / 0.4939 GB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/0.1571, allocations: 217.7 kB / 0.4941 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.1575, allocations: 0.7002 MB / 0.4948 GB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.221e-05/0.1575, allocations: 11.94 kB / 0.4948 GB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.1575, allocations: 11.44 kB / 0.4948 GB, free: 4.379 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1576, allocations: 4 kB / 0.4948 GB, free: 4.375 MB / 382.1 MB Notification: Performance of Templates: time 0.004322/0.1619, allocations: 1.112 MB / 0.4959 GB, free: 3.266 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches