Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 97.22 kB / 16.99 MB, free: 5.941 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.001402/0.001402, allocations: 182.4 kB / 17.87 MB, free: 5.609 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.543/1.543, allocations: 223.2 MB / 241.8 MB, free: 14.62 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.2355/0.2355, allocations: 44.22 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003604, allocations: 8 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1399, allocations: 61.93 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.001925/0.1418, allocations: 1.274 MB / 472.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006778/0.1425, allocations: 371.5 kB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.144e-05/0.1426, allocations: 0 / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.1429, allocations: 115.7 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.1431, allocations: 75.81 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.1433, allocations: 75.78 kB / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1435, allocations: 55.94 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1436, allocations: 16.16 kB / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.011e-05/0.1436, allocations: 43.83 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.1438, allocations: 55.86 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.1438, allocations: 0 / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.815e-05/0.1439, allocations: 31.88 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/0.1439, allocations: 31.91 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.1439, allocations: 41.62 kB / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.1441, allocations: 75.89 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1441, allocations: 0 / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1441, allocations: 0 / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1441, allocations: 0 / 473.7 MB, free: 11.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004677/0.1446, allocations: 411.1 kB / 474.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1446, allocations: 12.56 kB / 474.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.1447, allocations: 15.81 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.1449, allocations: 194.8 kB / 474.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1449, allocations: 11.98 kB / 474.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.1449, allocations: 11.86 kB / 474.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.1451, allocations: 61.58 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.1451, allocations: 3.906 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1451, allocations: 0 / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1451, allocations: 0 / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1452, allocations: 35.97 kB / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.1456, allocations: 296.8 kB / 474.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.1457, allocations: 46.5 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.1458, allocations: 0 / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.1458, allocations: 38.56 kB / 474.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.1458, allocations: 0 / 474.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008775/0.1467, allocations: 257 kB / 475.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1467, allocations: 51.41 kB / 475.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.147, allocations: 278.2 kB / 475.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.147, allocations: 29.69 kB / 475.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.374e-05/0.1471, allocations: 112.1 kB / 475.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.1472, allocations: 23.66 kB / 475.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.1472, allocations: 0 / 475.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1473, allocations: 326.8 kB / 475.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.412e-05/0.1474, allocations: 27.98 kB / 475.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.503e-05/0.1475, allocations: 39.91 kB / 475.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.837e-05/0.1476, allocations: 28.3 kB / 476 MB, free: 8.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1476, allocations: 0 / 476 MB, free: 8.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002417/0.1478, allocations: 121.5 kB / 476.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1479, allocations: 4 kB / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1479, allocations: 0 / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.1479, allocations: 0 / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.148, allocations: 19.98 kB / 476.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.148, allocations: 0 / 476.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.1481, allocations: 8 kB / 476.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1481, allocations: 3.984 kB / 476.1 MB, free: 8.824 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.1482, allocations: 145.7 kB / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.1483, allocations: 19.75 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.1486, allocations: 119.1 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1486, allocations: 3.984 kB / 476.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1486, allocations: 4 kB / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1486, allocations: 4 kB / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005462/0.1491, allocations: 419.2 kB / 476.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1492, allocations: 0 / 476.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.968e-05/0.1492, allocations: 27.95 kB / 476.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.1492, allocations: 4 kB / 476.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.1493, allocations: 432 / 476.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1493, allocations: 3.938 kB / 476.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1493, allocations: 0 / 476.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.1496, allocations: 229.8 kB / 477.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.1496, allocations: 89.02 kB / 477.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.1497, allocations: 4 kB / 477.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.1497, allocations: 11.97 kB / 477.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.1498, allocations: 7.953 kB / 477.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1498, allocations: 8 kB / 477.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001726/0.15, allocations: 199.2 kB / 477.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.15, allocations: 3.938 kB / 477.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000245/0.1502, allocations: 20 kB / 477.4 MB, free: 7.414 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/0.1512, allocations: 461.2 kB / 477.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.1515, allocations: 75.92 kB / 477.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1515, allocations: 4 kB / 477.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.597e-05/0.1516, allocations: 39.98 kB / 478 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.1518, allocations: 16.17 kB / 478 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004779/0.1523, allocations: 310.6 kB / 478.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1526, allocations: 0.7238 MB / 479 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.71e-05/0.1527, allocations: 8.672 kB / 479 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.1527, allocations: 15.44 kB / 479 MB, free: 5.895 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1527, allocations: 0 / 479 MB, free: 5.895 MB / 350.1 MB Notification: Performance of Templates: time 0.003569/0.1563, allocations: 1.256 MB / 480.3 MB, free: 4.645 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches