Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 93.88 kB / 17.35 MB, free: 6.371 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.001171/0.001171, allocations: 171.8 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2064/0.2064, allocations: 44.25 MB / 337.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.0003223, allocations: 12 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1378, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.002428/0.1402, allocations: 1.649 MB / 473.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.1418, allocations: 0.8301 MB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.1419, allocations: 0 / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004235/0.1423, allocations: 243.5 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.1426, allocations: 179.5 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009349/0.1435, allocations: 462.1 kB / 475.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.1439, allocations: 255.4 kB / 475.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.144, allocations: 68.55 kB / 475.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.1442, allocations: 111.4 kB / 476 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.1444, allocations: 179.4 kB / 476.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.1444, allocations: 4 kB / 476.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.1445, allocations: 59.92 kB / 476.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.1447, allocations: 79.73 kB / 476.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1448, allocations: 128.8 kB / 476.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.1451, allocations: 267.1 kB / 476.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1451, allocations: 0 / 476.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1451, allocations: 0 / 476.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1451, allocations: 4 kB / 476.7 MB, free: 8.84 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006284/0.1458, allocations: 0.5721 MB / 477.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1458, allocations: 8.031 kB / 477.3 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.1459, allocations: 36.47 kB / 477.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.1462, allocations: 306.2 kB / 477.6 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.1463, allocations: 8.375 kB / 477.6 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.1463, allocations: 12.38 kB / 477.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.1465, allocations: 113.8 kB / 477.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1466, allocations: 3.906 kB / 477.8 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1466, allocations: 0 / 477.8 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1466, allocations: 4 kB / 477.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.1468, allocations: 79.89 kB / 477.9 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006812/0.1475, allocations: 476.3 kB / 478.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.1476, allocations: 102.4 kB / 478.4 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.103e-05/0.1477, allocations: 36.84 kB / 478.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.1478, allocations: 4 kB / 478.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.1478, allocations: 34.56 kB / 478.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.1478, allocations: 4 kB / 478.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008739/0.1487, allocations: 396.7 kB / 478.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.1487, allocations: 51.41 kB / 478.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005044/0.1492, allocations: 0.5171 MB / 479.5 MB, free: 5.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.1493, allocations: 33.64 kB / 479.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.1494, allocations: 192.3 kB / 479.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.406e-05/0.1494, allocations: 51.27 kB / 479.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.1495, allocations: 17.72 kB / 479.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1496, allocations: 354.8 kB / 480.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.1498, allocations: 51.97 kB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.1499, allocations: 54.47 kB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.1501, allocations: 132.7 kB / 480.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1501, allocations: 3.938 kB / 480.3 MB, free: 5.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003278/0.1505, allocations: 199.2 kB / 480.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1505, allocations: 8 kB / 480.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1505, allocations: 0 / 480.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.1505, allocations: 4 kB / 480.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.1507, allocations: 35.92 kB / 480.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.1507, allocations: 7.984 kB / 480.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.649e-05/0.1507, allocations: 15.94 kB / 480.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.1508, allocations: 4 kB / 480.6 MB, free: 4.742 MB / 350.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 (17): * Single equations (assignments): 17 * 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.0001586/0.1509, allocations: 177.7 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/0.151, allocations: 35.53 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004292/0.1514, allocations: 249.2 kB / 481 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1514, allocations: 0 / 481 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1515, allocations: 0 / 481 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1515, allocations: 0 / 481 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007289/0.1522, allocations: 0.6288 MB / 481.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1522, allocations: 0 / 481.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.1523, allocations: 39.92 kB / 481.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1523, allocations: 0 / 481.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1524, allocations: 4 kB / 481.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.1524, allocations: 4 kB / 481.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1524, allocations: 3.938 kB / 481.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.1527, allocations: 304.9 kB / 482 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.631e-05/0.1528, allocations: 116.7 kB / 482.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.1528, allocations: 0 / 482.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-05/0.1529, allocations: 12 kB / 482.1 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.153, allocations: 11.92 kB / 482.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.153, allocations: 7.984 kB / 482.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003517/0.1534, allocations: 391.1 kB / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1534, allocations: 0 / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003477/0.1537, allocations: 51.91 kB / 482.6 MB, free: 2.629 MB / 350.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 (17): * Single equations (assignments): 17 * 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.001595/0.1553, allocations: 0.7055 MB / 483.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003066/0.1556, allocations: 135.9 kB / 483.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1557, allocations: 4 kB / 483.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.1558, allocations: 75.91 kB / 483.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/0.1564, allocations: 69.48 kB / 483.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.1574, allocations: 0.7625 MB / 484.3 MB, free: 1.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.1578, allocations: 0.8025 MB / 485.2 MB, free: 352 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.158, allocations: 41.91 kB / 485.2 MB, free: 312 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.872e-05/0.158, allocations: 27.44 kB / 485.2 MB, free: 284 kB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.158, allocations: 0 / 485.2 MB, free: 284 kB / 350.1 MB Notification: Performance of Templates: time 0.006564/0.1646, allocations: 3.013 MB / 488.2 MB, free: 13.29 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches