Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 109.4 kB / 16.41 MB, free: 6.473 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.001936/0.001936, allocations: 188.1 kB / 17.34 MB, free: 5.754 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.464/1.464, 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.2186/0.2186, allocations: 43.54 MB / 314.1 MB, free: 452 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.001602/0.001602, allocations: 67.89 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1314, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.003001/0.1344, allocations: 1.573 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005869/0.1351, allocations: 311.6 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.1351, allocations: 0 / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005521/0.1357, allocations: 447.2 kB / 0.4902 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00034/0.136, allocations: 259.4 kB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.1363, allocations: 99.8 kB / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.1365, allocations: 159.6 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1366, allocations: 15.98 kB / 0.4907 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1368, allocations: 107.8 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.137, allocations: 211.6 kB / 0.491 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.137, allocations: 0 / 0.491 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-05/0.1371, allocations: 20 kB / 0.491 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.1372, allocations: 87.61 kB / 0.4911 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.506e-05/0.1373, allocations: 95.06 kB / 0.4912 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.1376, allocations: 247 kB / 0.4914 GB, free: 8.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1376, allocations: 0 / 0.4914 GB, free: 8.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1376, allocations: 4 kB / 0.4914 GB, free: 8.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1376, allocations: 0 / 0.4914 GB, free: 8.184 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.0006978/0.1383, allocations: 0.6258 MB / 0.492 GB, free: 7.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1383, allocations: 15.89 kB / 0.492 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.656e-05/0.1384, allocations: 36.47 kB / 0.4921 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.1387, allocations: 300.1 kB / 0.4923 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.1387, allocations: 4.375 kB / 0.4924 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.1387, allocations: 4.375 kB / 0.4924 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.1389, allocations: 53.81 kB / 0.4924 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1389, allocations: 3.984 kB / 0.4924 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1389, allocations: 0 / 0.4924 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1389, allocations: 7.922 kB / 0.4924 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.139, allocations: 27.98 kB / 0.4924 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.1395, allocations: 372.8 kB / 0.4928 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.1396, allocations: 46.5 kB / 0.4928 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.984e-05/0.1397, allocations: 20.94 kB / 0.4929 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.1397, allocations: 0 / 0.4929 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.1398, allocations: 34.56 kB / 0.4929 GB, free: 6.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1398, allocations: 0 / 0.4929 GB, free: 6.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003096/0.1401, allocations: 121 kB / 0.493 GB, free: 6.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.1401, allocations: 55.41 kB / 0.4931 GB, free: 6.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007892/0.1409, allocations: 0.8535 MB / 0.4939 GB, free: 5.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1409, allocations: 25.7 kB / 0.4939 GB, free: 5.391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.1411, allocations: 208.1 kB / 0.4941 GB, free: 5.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.1412, allocations: 15.75 kB / 0.4941 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.1412, allocations: 13.72 kB / 0.4942 GB, free: 5.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1414, allocations: 366.7 kB / 0.4945 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.1415, allocations: 19.98 kB / 0.4945 GB, free: 4.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.902e-05/0.1415, allocations: 15.98 kB / 0.4945 GB, free: 4.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.1416, allocations: 32.84 kB / 0.4946 GB, free: 4.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1416, allocations: 0 / 0.4946 GB, free: 4.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001852/0.1418, allocations: 105.1 kB / 0.4947 GB, free: 4.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1418, allocations: 4 kB / 0.4947 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1419, allocations: 4 kB / 0.4947 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1419, allocations: 0 / 0.4947 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.672e-05/0.142, allocations: 12 kB / 0.4947 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.142, allocations: 0 / 0.4947 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.1421, allocations: 7.984 kB / 0.4947 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1421, allocations: 4 kB / 0.4947 GB, free: 4.57 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 (3): * Single equations (assignments): 3 * 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.0002014/0.1423, allocations: 213.7 kB / 0.4949 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.1423, allocations: 43.44 kB / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.1426, allocations: 121 kB / 0.4951 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1426, allocations: 3.938 kB / 0.4951 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1426, allocations: 0 / 0.4951 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1426, allocations: 0 / 0.4951 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.1429, allocations: 293.5 kB / 0.4953 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1429, allocations: 0 / 0.4953 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.143, allocations: 11.94 kB / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.143, allocations: 0 / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.143, allocations: 3.984 kB / 0.4954 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.143, allocations: 4 kB / 0.4954 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.143, allocations: 384 / 0.4954 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.1433, allocations: 199 kB / 0.4956 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.672e-05/0.1433, allocations: 108.5 kB / 0.4957 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.1434, allocations: 4 kB / 0.4957 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.1435, allocations: 3.984 kB / 0.4957 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.1435, allocations: 8 kB / 0.4957 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.1435, allocations: 0 / 0.4957 GB, free: 3.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006129/0.1441, allocations: 0.6472 MB / 0.4963 GB, free: 2.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1441, allocations: 0 / 0.4963 GB, free: 2.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1444, allocations: 19.98 kB / 0.4963 GB, free: 2.805 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 (3): * Single equations (assignments): 3 * 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.0008929/0.1453, allocations: 356.1 kB / 0.4967 GB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.1455, allocations: 35.91 kB / 0.4967 GB, free: 2.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1455, allocations: 0 / 0.4967 GB, free: 2.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.119e-05/0.1456, allocations: 23.92 kB / 0.4967 GB, free: 2.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.146, allocations: 25.81 kB / 0.4967 GB, free: 2.402 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.1471, allocations: 0.7676 MB / 0.4975 GB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005236/0.1477, allocations: 0.8221 MB / 0.4983 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.16e-05/0.1477, allocations: 7.922 kB / 0.4983 GB, free: 0.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.1477, allocations: 11.44 kB / 0.4983 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1477, allocations: 0 / 0.4983 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of Templates: time 0.005277/0.153, allocations: 1.327 MB / 0.4996 GB, free: 15.41 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches