Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 101.6 kB / 18.01 MB, free: 5.73 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.001523/0.001523, allocations: 176.2 kB / 18.91 MB, free: 4.871 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.405/1.405, allocations: 223.3 MB / 243 MB, free: 14.48 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.1884/0.1884, allocations: 44.24 MB / 338.3 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.000327, allocations: 12 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1251, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002425/0.1276, allocations: 1.326 MB / 474.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008687/0.1285, allocations: 423.2 kB / 474.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.1285, allocations: 0 / 474.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005714/0.1291, allocations: 447.2 kB / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.1295, allocations: 251.5 kB / 475.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.1299, allocations: 114.3 kB / 475.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.1302, allocations: 155.6 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1303, allocations: 28.14 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.1305, allocations: 99.8 kB / 475.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.1308, allocations: 203.6 kB / 475.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.1308, allocations: 0 / 475.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.131, allocations: 27.98 kB / 475.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.1311, allocations: 87.67 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.1312, allocations: 124.7 kB / 476.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.1316, allocations: 175.8 kB / 476.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.1316, allocations: 7.938 kB / 476.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1316, allocations: 0 / 476.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.1316, allocations: 3.938 kB / 476.3 MB, free: 9.863 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.0009232/0.1325, allocations: 0.5875 MB / 476.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.1326, allocations: 12.03 kB / 476.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.88e-05/0.1327, allocations: 40.38 kB / 477 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.133, allocations: 296.2 kB / 477.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.1331, allocations: 8.375 kB / 477.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.1331, allocations: 384 / 477.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.1333, allocations: 61.61 kB / 477.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1333, allocations: 4 kB / 477.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.1333, allocations: 3.938 kB / 477.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1333, allocations: 0 / 477.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.1335, allocations: 43.97 kB / 477.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.1341, allocations: 388.6 kB / 477.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.1343, allocations: 54.5 kB / 477.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.04e-05/0.1343, allocations: 28.88 kB / 477.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.1344, allocations: 4 kB / 477.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.1344, allocations: 34.55 kB / 477.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.1344, allocations: 0 / 477.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009285/0.1354, allocations: 315.9 kB / 478.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.1354, allocations: 55.41 kB / 478.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008364/0.1362, allocations: 0.8534 MB / 479.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.1363, allocations: 29.7 kB / 479.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.1364, allocations: 212.1 kB / 479.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.1365, allocations: 27.55 kB / 479.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.1365, allocations: 13.72 kB / 479.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1367, allocations: 362.8 kB / 479.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.1368, allocations: 35.97 kB / 479.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.137, allocations: 43.97 kB / 479.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.1372, allocations: 92.88 kB / 479.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.1372, allocations: 0 / 479.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003275/0.1375, allocations: 161.3 kB / 480.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1376, allocations: 4 kB / 480.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1376, allocations: 0 / 480.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1376, allocations: 0 / 480.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1377, allocations: 23.98 kB / 480.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1377, allocations: 8.062 kB / 480.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.511e-05/0.1378, allocations: 23.92 kB / 480.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.1378, allocations: 4 kB / 480.1 MB, free: 5.852 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 (7): * Single equations (assignments): 7 * 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.0001891/0.138, allocations: 214.3 kB / 480.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/0.1381, allocations: 43.44 kB / 480.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000389/0.1385, allocations: 177.4 kB / 480.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1385, allocations: 0 / 480.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1385, allocations: 3.938 kB / 480.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1385, allocations: 3.938 kB / 480.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006637/0.1392, allocations: 0.5062 MB / 481.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1392, allocations: 0 / 481.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.171e-05/0.1393, allocations: 23.98 kB / 481.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.1393, allocations: 4 kB / 481.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1393, allocations: 11.88 kB / 481.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1394, allocations: 0 / 481.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1394, allocations: 0 / 481.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.1397, allocations: 259.2 kB / 481.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.138e-05/0.1398, allocations: 108.6 kB / 481.5 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.1399, allocations: 11.92 kB / 481.5 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.14, allocations: 15.98 kB / 481.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.14, allocations: 8 kB / 481.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.14, allocations: 0 / 481.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00062/0.1407, allocations: 0.6472 MB / 482.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1407, allocations: 0 / 482.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1409, allocations: 35.89 kB / 482.2 MB, free: 3.688 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 (7): * Single equations (assignments): 7 * 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.0009408/0.1419, allocations: 398 kB / 482.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.1422, allocations: 95.95 kB / 482.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1422, allocations: 0 / 482.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.1424, allocations: 51.91 kB / 482.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.1428, allocations: 25.95 kB / 482.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.144, allocations: 0.9096 MB / 483.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.1445, allocations: 0.8224 MB / 484.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.1445, allocations: 15.44 kB / 484.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1445, allocations: 0 / 484.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of Templates: time 0.00729/0.1518, allocations: 3.675 MB / 488.2 MB, free: 13.8 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches