Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.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.CombiTable2D.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25") translateModel(ModelicaTest.Tables.CombiTable2D.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 110 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.002411/0.002411, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.524/1.524, 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.2147/0.2147, allocations: 43.52 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.001272/0.001272, allocations: 63.91 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1177, allocations: 57.8 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test25): time 0.002607/0.1203, allocations: 1.604 MB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005275/0.1209, allocations: 323.5 kB / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.902e-05/0.1209, allocations: 4 kB / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.1211, allocations: 47.81 kB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.1213, allocations: 51.77 kB / 0.4899 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.1216, allocations: 111.8 kB / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.1217, allocations: 67.77 kB / 0.49 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.584e-05/0.1218, allocations: 24.16 kB / 0.4901 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.815e-05/0.1219, allocations: 27.92 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.955e-05/0.122, allocations: 39.83 kB / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.122, allocations: 4 kB / 0.4901 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.738e-05/0.122, allocations: 31.98 kB / 0.4902 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.951e-05/0.1221, allocations: 23.92 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.1222, allocations: 23.8 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.1223, allocations: 91.66 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1223, allocations: 0 / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1223, allocations: 0 / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1223, allocations: 4 kB / 0.4903 GB, free: 9.316 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.0004241/0.1228, allocations: 394.5 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.1228, allocations: 11.89 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.1228, allocations: 8.844 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.123, allocations: 188.2 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.123, allocations: 8.375 kB / 0.4909 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.123, allocations: 4.375 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.1232, allocations: 61.55 kB / 0.4909 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1232, allocations: 0 / 0.4909 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.587e-06/0.1232, allocations: 4 kB / 0.4909 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-06/0.1232, allocations: 4 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.1234, allocations: 31.97 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.1237, allocations: 288.7 kB / 0.4913 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1238, allocations: 50.5 kB / 0.4913 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.312e-05/0.1239, allocations: 20.94 kB / 0.4913 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.1239, allocations: 3.984 kB / 0.4913 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1239, allocations: 34.56 kB / 0.4914 GB, free: 8.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1239, allocations: 0 / 0.4914 GB, free: 8.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006556/0.1246, allocations: 209.2 kB / 0.4916 GB, free: 7.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.1246, allocations: 51.41 kB / 0.4916 GB, free: 7.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.1248, allocations: 169.8 kB / 0.4918 GB, free: 7.617 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1248, allocations: 29.7 kB / 0.4918 GB, free: 7.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.1248, allocations: 100 kB / 0.4919 GB, free: 7.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.1249, allocations: 31.58 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.1249, allocations: 17.72 kB / 0.4919 GB, free: 7.426 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.125, allocations: 326.8 kB / 0.4923 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.1251, allocations: 23.98 kB / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1252, allocations: 39.97 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.1255, allocations: 76.73 kB / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1255, allocations: 0 / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000258/0.1257, allocations: 113.5 kB / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.1257, allocations: 4 kB / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1258, allocations: 4 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.1258, allocations: 0 / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1259, allocations: 19.98 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1259, allocations: 0 / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.958e-05/0.126, allocations: 15.92 kB / 0.4925 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.126, allocations: 0 / 0.4925 GB, free: 6.797 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 9.075e-05/0.1261, allocations: 125.7 kB / 0.4927 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.1261, allocations: 11.91 kB / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.1264, allocations: 126.3 kB / 0.4928 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1264, allocations: 4 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.1264, allocations: 0 / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.1264, allocations: 7.922 kB / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004838/0.1269, allocations: 382.5 kB / 0.4932 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1269, allocations: 0 / 0.4932 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.927e-05/0.127, allocations: 19.98 kB / 0.4932 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.127, allocations: 3.984 kB / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.127, allocations: 7.938 kB / 0.4932 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.127, allocations: 4 kB / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1271, allocations: 0 / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.1274, allocations: 207.8 kB / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.1274, allocations: 85.33 kB / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.1274, allocations: 3.938 kB / 0.4935 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.1275, allocations: 7.984 kB / 0.4935 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.1276, allocations: 19.91 kB / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.1276, allocations: 4 kB / 0.4935 GB, free: 5.688 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.216e-05/0.1277, allocations: 126.7 kB / 0.4936 GB, free: 5.566 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1277, allocations: 4 kB / 0.4936 GB, free: 5.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.1279, allocations: 19.91 kB / 0.4937 GB, free: 5.543 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.0008293/0.1288, allocations: 408.1 kB / 0.494 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.129, allocations: 79.92 kB / 0.4941 GB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.129, allocations: 0 / 0.4941 GB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.1292, allocations: 47.91 kB / 0.4942 GB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.1295, allocations: 19.45 kB / 0.4942 GB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.1299, allocations: 213.8 kB / 0.4944 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.1301, allocations: 0.6963 MB / 0.4951 GB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.445e-05/0.1302, allocations: 12 kB / 0.4951 GB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.1302, allocations: 15.44 kB / 0.4951 GB, free: 4.055 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1302, allocations: 0 / 0.4951 GB, free: 4.055 MB / 382.1 MB Notification: Performance of Templates: time 0.003205/0.1334, allocations: 1.249 MB / 0.4963 GB, free: 2.805 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches