Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 110.5 kB / 17.86 MB, free: 5.504 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.001157/0.001157, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.312/1.312, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2304/0.2304, allocations: 44.17 MB / 336.8 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 64.86 kB / 408.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1339, allocations: 60.83 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003601/0.1375, allocations: 1.692 MB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008966/0.1384, allocations: 447.2 kB / 471.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.1385, allocations: 3.938 kB / 471.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.1388, allocations: 59.8 kB / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.1391, allocations: 55.88 kB / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.1395, allocations: 154.6 kB / 471.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.1397, allocations: 75.77 kB / 471.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1399, allocations: 31.95 kB / 471.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.58e-05/0.1399, allocations: 31.86 kB / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.14, allocations: 47.81 kB / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.1401, allocations: 4 kB / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.1402, allocations: 47.92 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.98e-05/0.1403, allocations: 19.92 kB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.1404, allocations: 27.81 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.1405, allocations: 88.09 kB / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1405, allocations: 0 / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1406, allocations: 0 / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1406, allocations: 0 / 471.9 MB, free: 12.05 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.0005519/0.1411, allocations: 407.1 kB / 472.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1412, allocations: 12.03 kB / 472.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.1412, allocations: 8.844 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.1414, allocations: 196.6 kB / 472.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/0.1414, allocations: 4.375 kB / 472.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.1415, allocations: 15.94 kB / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.1417, allocations: 61.66 kB / 472.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1417, allocations: 4 kB / 472.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1417, allocations: 0 / 472.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1417, allocations: 0 / 472.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.1419, allocations: 47.89 kB / 472.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.1424, allocations: 316.7 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.1427, allocations: 58.64 kB / 473 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.33e-05/0.1428, allocations: 28.91 kB / 473.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.1428, allocations: 4 kB / 473.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.1428, allocations: 38.55 kB / 473.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.1429, allocations: 0 / 473.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00162/0.1445, allocations: 424.7 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.1445, allocations: 51.41 kB / 473.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.1447, allocations: 186.1 kB / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1447, allocations: 29.64 kB / 473.8 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.1448, allocations: 112 kB / 473.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.1449, allocations: 31.55 kB / 473.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.1449, allocations: 21.72 kB / 474 MB, free: 9.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.1451, allocations: 326.8 kB / 474.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.1453, allocations: 55.95 kB / 474.3 MB, free: 9.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.1455, allocations: 59.89 kB / 474.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.1457, allocations: 124.7 kB / 474.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1458, allocations: 0 / 474.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003574/0.1461, allocations: 165.4 kB / 474.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.1462, allocations: 8 kB / 474.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.1462, allocations: 3.938 kB / 474.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1462, allocations: 0 / 474.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1463, allocations: 27.92 kB / 474.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.1463, allocations: 0 / 474.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.228e-05/0.1464, allocations: 11.98 kB / 474.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1464, allocations: 4 kB / 474.7 MB, free: 9.039 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.1465, allocations: 126.4 kB / 474.8 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.1466, allocations: 15.91 kB / 474.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004119/0.147, allocations: 186.2 kB / 475 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.147, allocations: 7.984 kB / 475.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.147, allocations: 0.5625 kB / 475.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1471, allocations: 3.938 kB / 475.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007128/0.1478, allocations: 0.4921 MB / 475.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1478, allocations: 0 / 475.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.1479, allocations: 35.92 kB / 475.6 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1479, allocations: 0 / 475.6 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1479, allocations: 4 kB / 475.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1479, allocations: 4.062 kB / 475.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.148, allocations: 4 kB / 475.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/0.1484, allocations: 268.9 kB / 475.9 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.1484, allocations: 89.02 kB / 475.9 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.1485, allocations: 4 kB / 475.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.1486, allocations: 11.98 kB / 476 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.1486, allocations: 8.078 kB / 476 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.1486, allocations: 11.92 kB / 476 MB, free: 7.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.1488, allocations: 135.2 kB / 476.1 MB, free: 7.531 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1488, allocations: 0 / 476.1 MB, free: 7.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.1491, allocations: 31.89 kB / 476.1 MB, free: 7.5 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 (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.001117/0.1502, allocations: 468.3 kB / 476.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003554/0.1505, allocations: 127.9 kB / 476.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1506, allocations: 0 / 476.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.1507, allocations: 67.89 kB / 476.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.1511, allocations: 25.81 kB / 476.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006208/0.1518, allocations: 347.3 kB / 477.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.1521, allocations: 0.716 MB / 477.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.1522, allocations: 15.44 kB / 477.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1522, allocations: 7.938 kB / 477.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of Templates: time 0.00422/0.1564, allocations: 1.994 MB / 479.9 MB, free: 3.875 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches