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.001088/0.001087, allocations: 106.2 kB / 16.41 MB, free: 6.465 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.001232/0.001232, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.509/1.509, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2145/0.2145, allocations: 43.53 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.001436/0.001436, allocations: 77.45 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1299, allocations: 57.8 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.003008/0.133, allocations: 1.561 MB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006113/0.1336, allocations: 315.6 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.1337, allocations: 0 / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005246/0.1342, allocations: 447.2 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.1346, allocations: 259.4 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.1349, allocations: 107.8 kB / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.1352, allocations: 159.6 kB / 0.4907 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.7e-05/0.1353, allocations: 15.98 kB / 0.4907 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.1355, allocations: 103.8 kB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.1358, allocations: 211.6 kB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1358, allocations: 4 kB / 0.491 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.042e-05/0.1359, allocations: 19.94 kB / 0.491 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.136, allocations: 83.69 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.856e-05/0.1361, allocations: 95.05 kB / 0.4912 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.1364, allocations: 247 kB / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1364, allocations: 0 / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1364, allocations: 0 / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.1364, allocations: 4 kB / 0.4914 GB, free: 8.168 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.0007657/0.1372, allocations: 0.6297 MB / 0.492 GB, free: 7.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1373, allocations: 11.89 kB / 0.492 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.949e-05/0.1373, allocations: 40.41 kB / 0.4921 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.1376, allocations: 300.1 kB / 0.4924 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1377, allocations: 384 / 0.4924 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.1377, allocations: 4.375 kB / 0.4924 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.1378, allocations: 49.81 kB / 0.4924 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1379, allocations: 0 / 0.4924 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1379, allocations: 8 kB / 0.4924 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1379, allocations: 3.984 kB / 0.4924 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.138, allocations: 31.91 kB / 0.4924 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.1385, allocations: 376.8 kB / 0.4928 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.1386, allocations: 42.56 kB / 0.4928 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.684e-05/0.1387, allocations: 16.94 kB / 0.4929 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.1387, allocations: 4 kB / 0.4929 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1387, allocations: 34.56 kB / 0.4929 GB, free: 6.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.1388, allocations: 0 / 0.4929 GB, free: 6.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003626/0.1391, allocations: 125 kB / 0.493 GB, free: 6.336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.1392, allocations: 51.41 kB / 0.4931 GB, free: 6.273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008431/0.14, allocations: 0.8535 MB / 0.4939 GB, free: 5.406 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.14, allocations: 25.7 kB / 0.4939 GB, free: 5.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.1402, allocations: 208.1 kB / 0.4941 GB, free: 5.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.1402, allocations: 11.75 kB / 0.4941 GB, free: 5.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.1403, allocations: 17.72 kB / 0.4942 GB, free: 5.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1404, allocations: 366.7 kB / 0.4945 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.23e-05/0.1405, allocations: 11.98 kB / 0.4945 GB, free: 4.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.75e-05/0.1406, allocations: 19.98 kB / 0.4945 GB, free: 4.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.1407, allocations: 28.84 kB / 0.4946 GB, free: 4.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1407, allocations: 3.938 kB / 0.4946 GB, free: 4.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002005/0.1409, allocations: 113.1 kB / 0.4947 GB, free: 4.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1409, allocations: 4 kB / 0.4947 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.1409, allocations: 8 kB / 0.4947 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1409, allocations: 0 / 0.4947 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/0.141, allocations: 4 kB / 0.4947 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.141, allocations: 0 / 0.4947 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.555e-05/0.1411, allocations: 7.984 kB / 0.4947 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1411, allocations: 4 kB / 0.4947 GB, free: 4.555 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.0002038/0.1413, allocations: 213.7 kB / 0.4949 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/0.1414, allocations: 47.44 kB / 0.495 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.1417, allocations: 124.9 kB / 0.4951 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1417, allocations: 0 / 0.4951 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1417, allocations: 4 kB / 0.4951 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1417, allocations: 0 / 0.4951 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.1421, allocations: 281.5 kB / 0.4953 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1421, allocations: 0 / 0.4953 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.294e-05/0.1421, allocations: 8 kB / 0.4953 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1422, allocations: 7.938 kB / 0.4954 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.1422, allocations: 0 / 0.4954 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1422, allocations: 3.984 kB / 0.4954 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1422, allocations: 0 / 0.4954 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.1425, allocations: 199.3 kB / 0.4956 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-05/0.1426, allocations: 120.6 kB / 0.4957 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.1426, allocations: 0 / 0.4957 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.098e-05/0.1427, allocations: 11.98 kB / 0.4957 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.1428, allocations: 0 / 0.4957 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.1428, allocations: 0 / 0.4957 GB, free: 3.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006741/0.1434, allocations: 0.6472 MB / 0.4963 GB, free: 2.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1434, allocations: 0 / 0.4963 GB, free: 2.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1437, allocations: 19.98 kB / 0.4963 GB, free: 2.785 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.0009292/0.1446, allocations: 348 kB / 0.4967 GB, free: 2.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.1449, allocations: 35.91 kB / 0.4967 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1449, allocations: 0 / 0.4967 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.393e-05/0.145, allocations: 23.92 kB / 0.4967 GB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.1454, allocations: 37.8 kB / 0.4968 GB, free: 2.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1464, allocations: 0.7598 MB / 0.4975 GB, free: 1.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.1468, allocations: 0.8182 MB / 0.4983 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.458e-05/0.1469, allocations: 7.984 kB / 0.4983 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.1469, allocations: 15.38 kB / 0.4983 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1469, allocations: 0 / 0.4983 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of Templates: time 0.004682/0.1516, allocations: 1.32 MB / 0.4996 GB, free: 15.4 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