Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test16") translateModel(ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 105.6 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.001145/0.001145, allocations: 189.5 kB / 17.34 MB, free: 5.734 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.548/1.548, allocations: 205.1 MB / 223.2 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.2311/0.2311, 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.001632/0.001632, allocations: 77.45 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1491, allocations: 57.78 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test16): time 0.003196/0.1524, allocations: 1.558 MB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006897/0.1531, allocations: 323.5 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.873e-05/0.1532, allocations: 0 / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.1535, allocations: 87.7 kB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.1537, allocations: 63.8 kB / 0.4899 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.154, allocations: 95.73 kB / 0.49 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.1542, allocations: 63.89 kB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1543, allocations: 19.97 kB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.979e-05/0.1544, allocations: 35.84 kB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.1545, allocations: 47.89 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.1546, allocations: 4 kB / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.117e-05/0.1546, allocations: 31.92 kB / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.574e-05/0.1547, allocations: 15.92 kB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.37e-05/0.1548, allocations: 27.75 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.155, allocations: 91.7 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.155, allocations: 4 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.155, allocations: 0 / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.155, allocations: 0 / 0.4903 GB, free: 9.324 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.0005886/0.1556, allocations: 395 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.1557, allocations: 11.89 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.1557, allocations: 8.844 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.1559, allocations: 204 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.156, allocations: 384 / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.156, allocations: 4.375 kB / 0.4909 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.1562, allocations: 53.81 kB / 0.4909 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1562, allocations: 0 / 0.4909 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1562, allocations: 4 kB / 0.4909 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1562, allocations: 0 / 0.4909 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.137e-05/0.1563, allocations: 23.97 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.1567, allocations: 292.8 kB / 0.4912 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.1569, allocations: 42.55 kB / 0.4913 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.157, allocations: 20.86 kB / 0.4913 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.157, allocations: 0 / 0.4913 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1571, allocations: 42.59 kB / 0.4913 GB, free: 8.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.1571, allocations: 0 / 0.4913 GB, free: 8.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005734/0.1577, allocations: 153.2 kB / 0.4915 GB, free: 7.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.1577, allocations: 51.41 kB / 0.4915 GB, free: 7.863 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.1579, allocations: 202.2 kB / 0.4917 GB, free: 7.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1579, allocations: 25.7 kB / 0.4917 GB, free: 7.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.158, allocations: 104.1 kB / 0.4918 GB, free: 7.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.1581, allocations: 19.66 kB / 0.4919 GB, free: 7.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.1581, allocations: 21.7 kB / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1582, allocations: 326.8 kB / 0.4922 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.919e-05/0.1583, allocations: 19.98 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.117e-05/0.1584, allocations: 27.92 kB / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.1585, allocations: 56.77 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1585, allocations: 0 / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001727/0.1587, allocations: 85.56 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1587, allocations: 8 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1587, allocations: 0 / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1587, allocations: 288 / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.1588, allocations: 12 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.1588, allocations: 3.984 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.935e-05/0.1589, allocations: 4 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.1589, allocations: 3.938 kB / 0.4924 GB, free: 6.918 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 9.955e-05/0.159, allocations: 133.7 kB / 0.4925 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.159, allocations: 11.89 kB / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.1593, allocations: 102 kB / 0.4926 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1593, allocations: 0 / 0.4926 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.1593, allocations: 8.297 kB / 0.4927 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1593, allocations: 0 / 0.4927 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.1597, allocations: 362.4 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1597, allocations: 0 / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.1598, allocations: 8 kB / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1598, allocations: 0 / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1598, allocations: 7.984 kB / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1598, allocations: 7.938 kB / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.1598, allocations: 0 / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.1601, allocations: 191.2 kB / 0.4932 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.1601, allocations: 85 kB / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.1602, allocations: 4 kB / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-05/0.1602, allocations: 3.938 kB / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.1603, allocations: 11.98 kB / 0.4933 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1603, allocations: 0 / 0.4933 GB, free: 5.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.1604, allocations: 164 kB / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1604, allocations: 0 / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.1607, allocations: 20 kB / 0.4935 GB, free: 5.711 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.0009126/0.1616, allocations: 400.9 kB / 0.4939 GB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.1618, allocations: 51.97 kB / 0.4939 GB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1618, allocations: 4 kB / 0.4939 GB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.553e-05/0.1619, allocations: 27.92 kB / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.1623, allocations: 19.84 kB / 0.494 GB, free: 5.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.1627, allocations: 218 kB / 0.4942 GB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.163, allocations: 0.7041 MB / 0.4949 GB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.477e-05/0.1631, allocations: 15.98 kB / 0.4949 GB, free: 4.266 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.1631, allocations: 11.44 kB / 0.4949 GB, free: 4.254 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1631, allocations: 3.938 kB / 0.4949 GB, free: 4.25 MB / 382.1 MB Notification: Performance of Templates: time 0.003803/0.1669, allocations: 1.135 MB / 0.496 GB, free: 3.117 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches