Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 96.34 kB / 16.99 MB, free: 6.402 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.000955/0.0009552, allocations: 178.6 kB / 17.88 MB, free: 5.957 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.393/1.393, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.2282/0.2282, allocations: 44.24 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003357, allocations: 8 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1379, allocations: 61.93 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.001993/0.1399, allocations: 1.325 MB / 472.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006914/0.1406, allocations: 399.4 kB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.1407, allocations: 4 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.1409, allocations: 51.86 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.1411, allocations: 51.81 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.1415, allocations: 158.8 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.1417, allocations: 43.89 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1418, allocations: 19.98 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.325e-05/0.1418, allocations: 23.91 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.023e-05/0.1419, allocations: 31.84 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.142, allocations: 4 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.715e-05/0.142, allocations: 43.91 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.1421, allocations: 19.92 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.018e-05/0.1421, allocations: 33.64 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.1423, allocations: 88.09 kB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.1423, allocations: 0 / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1423, allocations: 0 / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1423, allocations: 0 / 473.7 MB, free: 11.44 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005343/0.1429, allocations: 403 kB / 474.1 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1429, allocations: 16.5 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.143, allocations: 11.81 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.1432, allocations: 198.8 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1432, allocations: 4 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.1432, allocations: 8 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.1434, allocations: 65.62 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1434, allocations: 0 / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1434, allocations: 0 / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.1434, allocations: 8 kB / 474.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.1436, allocations: 59.83 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.1441, allocations: 324.8 kB / 474.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.1443, allocations: 58.64 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.1443, allocations: 3.938 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.1444, allocations: 34.56 kB / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1444, allocations: 4 kB / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001484/0.1459, allocations: 492.9 kB / 475.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.1459, allocations: 55.41 kB / 475.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.1461, allocations: 202.1 kB / 475.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1461, allocations: 29.7 kB / 475.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.1462, allocations: 100 kB / 475.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.1462, allocations: 35.45 kB / 475.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/0.1462, allocations: 8 kB / 475.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1464, allocations: 326.8 kB / 476.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1465, allocations: 59.95 kB / 476.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.1467, allocations: 63.95 kB / 476.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.1468, allocations: 75.84 kB / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1468, allocations: 0 / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003303/0.1472, allocations: 177.5 kB / 476.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1472, allocations: 8 kB / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1472, allocations: 0 / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1472, allocations: 0.5625 kB / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.1473, allocations: 27.98 kB / 476.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1474, allocations: 0 / 476.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.967e-05/0.1474, allocations: 19.98 kB / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1475, allocations: 8 kB / 476.6 MB, free: 8.398 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 (11): * Single equations (assignments): 11 * 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.0001054/0.1476, allocations: 137.7 kB / 476.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.1476, allocations: 15.75 kB / 476.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004286/0.148, allocations: 206.6 kB / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.1481, allocations: 3.984 kB / 476.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1481, allocations: 0 / 476.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1481, allocations: 3.984 kB / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007635/0.1488, allocations: 0.5156 MB / 477.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1489, allocations: 0 / 477.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.149, allocations: 35.92 kB / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.149, allocations: 0 / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.149, allocations: 4 kB / 477.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.149, allocations: 7.984 kB / 477.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.149, allocations: 3.953 kB / 477.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.1495, allocations: 308.4 kB / 477.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.283e-05/0.1496, allocations: 96.95 kB / 477.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.1496, allocations: 4 kB / 477.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.753e-05/0.1497, allocations: 11.98 kB / 477.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.1498, allocations: 19.92 kB / 477.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.1498, allocations: 4 kB / 477.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.15, allocations: 147.2 kB / 478.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.15, allocations: 0 / 478.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.1503, allocations: 28 kB / 478.1 MB, free: 6.734 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001186/0.1515, allocations: 465.3 kB / 478.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004137/0.1519, allocations: 147.8 kB / 478.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1519, allocations: 0 / 478.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.1521, allocations: 67.91 kB / 478.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.1524, allocations: 23.98 kB / 478.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005706/0.153, allocations: 315.4 kB / 479.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1533, allocations: 0.7277 MB / 479.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.577e-05/0.1534, allocations: 32.39 kB / 479.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.1535, allocations: 15.44 kB / 479.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1535, allocations: 0 / 479.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of Templates: time 0.004343/0.1578, allocations: 1.513 MB / 481.4 MB, free: 3.578 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches