Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 113.7 kB / 17.08 MB, free: 5.789 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.001146/0.001147, allocations: 197.2 kB / 18.02 MB, free: 4.918 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.54/1.54, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2346/0.2346, allocations: 43.53 MB / 314.8 MB, free: 448 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.001384/0.001384, allocations: 69.45 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1319, allocations: 57.8 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003203/0.1351, allocations: 1.613 MB / 0.4901 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006768/0.1358, allocations: 339.6 kB / 0.4904 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.097e-05/0.1359, allocations: 0 / 0.4904 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006518/0.1366, allocations: 455.1 kB / 0.4909 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003857/0.137, allocations: 259.4 kB / 0.4911 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.1374, allocations: 147.7 kB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.1376, allocations: 171.6 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1377, allocations: 24.16 kB / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1379, allocations: 111.7 kB / 0.4916 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.1381, allocations: 203.6 kB / 0.4918 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.1381, allocations: 8 kB / 0.4918 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.667e-05/0.1382, allocations: 35.97 kB / 0.4918 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1383, allocations: 87.62 kB / 0.4919 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.617e-05/0.1384, allocations: 103 kB / 0.492 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.1387, allocations: 251 kB / 0.4922 GB, free: 7.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1387, allocations: 0 / 0.4922 GB, free: 7.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1387, allocations: 0 / 0.4922 GB, free: 7.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.587e-06/0.1388, allocations: 3.984 kB / 0.4922 GB, free: 7.988 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.0007089/0.1395, allocations: 0.6258 MB / 0.4928 GB, free: 7.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1395, allocations: 15.89 kB / 0.4928 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.1396, allocations: 44.38 kB / 0.4929 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.1399, allocations: 296.2 kB / 0.4932 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.14, allocations: 8.312 kB / 0.4932 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.14, allocations: 384 / 0.4932 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.1402, allocations: 65.59 kB / 0.4932 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.1402, allocations: 0 / 0.4932 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1402, allocations: 0 / 0.4932 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1402, allocations: 0 / 0.4932 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.1403, allocations: 31.98 kB / 0.4933 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.1409, allocations: 396.5 kB / 0.4937 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.1411, allocations: 46.56 kB / 0.4937 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.213e-05/0.1412, allocations: 16.94 kB / 0.4937 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.1412, allocations: 0 / 0.4937 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.1413, allocations: 38.56 kB / 0.4937 GB, free: 6.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.655e-06/0.1413, allocations: 3.984 kB / 0.4938 GB, free: 6.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006212/0.1419, allocations: 232 kB / 0.494 GB, free: 6.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.1419, allocations: 51.41 kB / 0.494 GB, free: 5.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007477/0.1427, allocations: 0.8613 MB / 0.4949 GB, free: 5.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.1428, allocations: 25.7 kB / 0.4949 GB, free: 5.047 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.143, allocations: 224.1 kB / 0.4951 GB, free: 4.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.143, allocations: 19.66 kB / 0.4951 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.1431, allocations: 21.7 kB / 0.4951 GB, free: 4.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.1433, allocations: 358.7 kB / 0.4955 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.466e-05/0.1433, allocations: 19.98 kB / 0.4955 GB, free: 4.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.999e-05/0.1434, allocations: 23.98 kB / 0.4955 GB, free: 4.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.1436, allocations: 56.81 kB / 0.4956 GB, free: 4.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1436, allocations: 192 / 0.4956 GB, free: 4.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002081/0.1438, allocations: 121.2 kB / 0.4957 GB, free: 4.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1438, allocations: 4 kB / 0.4957 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1438, allocations: 0 / 0.4957 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.1439, allocations: 3.938 kB / 0.4957 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.257e-05/0.1439, allocations: 19.92 kB / 0.4957 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.1439, allocations: 3.984 kB / 0.4957 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.008e-05/0.144, allocations: 7.938 kB / 0.4957 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.144, allocations: 8 kB / 0.4957 GB, free: 4.145 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.0001936/0.1442, allocations: 213.7 kB / 0.4959 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.1443, allocations: 43.44 kB / 0.496 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.1446, allocations: 141 kB / 0.4961 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1446, allocations: 0 / 0.4961 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1446, allocations: 0 / 0.4961 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1446, allocations: 7.938 kB / 0.4961 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/0.1451, allocations: 470.5 kB / 0.4966 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1451, allocations: 0 / 0.4966 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.08e-05/0.1452, allocations: 12 kB / 0.4966 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1452, allocations: 0 / 0.4966 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1452, allocations: 7.922 kB / 0.4966 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1452, allocations: 0 / 0.4966 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1452, allocations: 0 / 0.4966 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.1455, allocations: 227.1 kB / 0.4968 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.126e-05/0.1456, allocations: 108.6 kB / 0.4969 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.1456, allocations: 7.938 kB / 0.4969 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.1457, allocations: 0 / 0.4969 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.1457, allocations: 7.984 kB / 0.4969 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1457, allocations: 0 / 0.4969 GB, free: 2.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005449/0.1463, allocations: 0.6511 MB / 0.4976 GB, free: 2.168 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1463, allocations: 0 / 0.4976 GB, free: 2.168 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1465, allocations: 28 kB / 0.4976 GB, free: 2.141 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.0008874/0.1474, allocations: 400.2 kB / 0.498 GB, free: 1.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.1476, allocations: 63.89 kB / 0.498 GB, free: 1.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1476, allocations: 0 / 0.498 GB, free: 1.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-05/0.1477, allocations: 27.98 kB / 0.4981 GB, free: 1.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.1481, allocations: 33.75 kB / 0.4981 GB, free: 1.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.1492, allocations: 0.8123 MB / 0.4989 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.1496, allocations: 0.826 MB / 0.4997 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.1497, allocations: 11.44 kB / 0.4997 GB, free: 15.95 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1497, allocations: 0 / 0.4997 GB, free: 15.95 MB / 398.1 MB Notification: Performance of Templates: time 0.006486/0.1562, allocations: 3.734 MB / 0.5034 GB, free: 12.21 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches