Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001052, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001025/0.001025, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.37/1.37, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2065/0.2065, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 60.2 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1429, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003951/0.1469, allocations: 1.603 MB / 470.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009604/0.1479, allocations: 419.2 kB / 471.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.622e-05/0.148, allocations: 0 / 471.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.1483, allocations: 91.7 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.1487, allocations: 79.66 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.1491, allocations: 91.75 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.1493, allocations: 87.81 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1494, allocations: 31.92 kB / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.935e-05/0.1495, allocations: 31.91 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1496, allocations: 59.81 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.1497, allocations: 4 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.1498, allocations: 51.97 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.566e-05/0.1499, allocations: 23.86 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.653e-05/0.15, allocations: 43.73 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.1502, allocations: 115.8 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1502, allocations: 0 / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1502, allocations: 0 / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1502, allocations: 0 / 472 MB, free: 11.64 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000568/0.1508, allocations: 426.9 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.1509, allocations: 8.031 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.1509, allocations: 16.75 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.1512, allocations: 208 kB / 472.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.1512, allocations: 12.38 kB / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.1512, allocations: 4.375 kB / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.1514, allocations: 77.72 kB / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1515, allocations: 0 / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1515, allocations: 0 / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1515, allocations: 3.984 kB / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.1516, allocations: 43.91 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.1521, allocations: 324.7 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.1522, allocations: 62.48 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.1523, allocations: 24.86 kB / 473.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.1523, allocations: 4.141 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1524, allocations: 38.55 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1524, allocations: 4 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001078/0.1534, allocations: 301.3 kB / 473.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.1535, allocations: 51.41 kB / 473.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.1537, allocations: 235.5 kB / 473.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.1538, allocations: 25.7 kB / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.1538, allocations: 120 kB / 473.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.1539, allocations: 43.34 kB / 474 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.1539, allocations: 25.72 kB / 474 MB, free: 9.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.154, allocations: 326.8 kB / 474.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.81e-05/0.1541, allocations: 35.97 kB / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.151e-05/0.1542, allocations: 35.23 kB / 474.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.1544, allocations: 96.83 kB / 474.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1544, allocations: 7.938 kB / 474.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000246/0.1547, allocations: 133.5 kB / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1547, allocations: 7.984 kB / 474.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1547, allocations: 0 / 474.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1547, allocations: 7.938 kB / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1548, allocations: 27.92 kB / 474.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1549, allocations: 4 kB / 474.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.235e-05/0.1549, allocations: 4 kB / 474.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.1549, allocations: 8 kB / 474.7 MB, free: 8.723 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 (13): * Single equations (assignments): 13 * 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.0001148/0.155, allocations: 129.8 kB / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.1551, allocations: 7.906 kB / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.1554, allocations: 171 kB / 475 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1554, allocations: 7.938 kB / 475 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1554, allocations: 0 / 475 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1555, allocations: 3.984 kB / 475 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005683/0.156, allocations: 475.1 kB / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.156, allocations: 0 / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.887e-05/0.1561, allocations: 31.95 kB / 475.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1561, allocations: 0 / 475.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1562, allocations: 4 kB / 475.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1562, allocations: 0 / 475.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1562, allocations: 0 / 475.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.1565, allocations: 240.8 kB / 475.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.1565, allocations: 92.91 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.1565, allocations: 4 kB / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.1566, allocations: 4 kB / 475.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.1567, allocations: 11.98 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.1567, allocations: 4 kB / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.1568, allocations: 180.2 kB / 476 MB, free: 7.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1569, allocations: 3.938 kB / 476 MB, free: 7.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1571, allocations: 24 kB / 476 MB, free: 7.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001107/0.1582, allocations: 471.7 kB / 476.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.1585, allocations: 99.89 kB / 476.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1585, allocations: 0 / 476.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.1587, allocations: 55.91 kB / 476.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.1591, allocations: 19.92 kB / 476.7 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.1597, allocations: 303.9 kB / 477 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.16, allocations: 0.7119 MB / 477.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.708e-05/0.1601, allocations: 24.53 kB / 477.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.1602, allocations: 19.44 kB / 477.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1602, allocations: 0 / 477.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of Templates: time 0.004534/0.1647, allocations: 1.514 MB / 479.2 MB, free: 4.188 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches