Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, 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.001719/0.001719, 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.365/1.365, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.206/0.206, allocations: 44.17 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 60.72 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1159, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003415/0.1193, allocations: 1.607 MB / 470.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008942/0.1203, allocations: 451.1 kB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.095e-05/0.1203, allocations: 8 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005366/0.1209, allocations: 455.1 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000383/0.1213, allocations: 251.5 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.1218, allocations: 173.9 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.1221, allocations: 171.6 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1222, allocations: 20 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.1223, allocations: 111.7 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.1226, allocations: 211.6 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.1226, allocations: 4 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1227, allocations: 31.98 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.1228, allocations: 87.62 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.976e-05/0.1229, allocations: 103 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.1232, allocations: 251.3 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1233, allocations: 4 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1233, allocations: 4 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.1233, allocations: 0 / 473.1 MB, free: 10.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007432/0.124, allocations: 0.6297 MB / 473.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.1241, allocations: 12.03 kB / 473.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.362e-05/0.1242, allocations: 40.38 kB / 473.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.1245, allocations: 304.1 kB / 474.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.1245, allocations: 4.375 kB / 474.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.1245, allocations: 12.31 kB / 474.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.1247, allocations: 61.8 kB / 474.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1247, allocations: 0 / 474.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.1247, allocations: 0 / 474.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1247, allocations: 0 / 474.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.1249, allocations: 39.97 kB / 474.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.1254, allocations: 404.6 kB / 474.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.1255, allocations: 50.5 kB / 474.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.988e-05/0.1256, allocations: 24.94 kB / 474.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.1257, allocations: 3.984 kB / 474.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1257, allocations: 34.56 kB / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.1257, allocations: 0 / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008179/0.1265, allocations: 307.9 kB / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.1266, allocations: 51.41 kB / 475.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000751/0.1273, allocations: 0.8535 MB / 476 MB, free: 7.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.1274, allocations: 29.7 kB / 476 MB, free: 7.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.1275, allocations: 208.1 kB / 476.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.1275, allocations: 23.64 kB / 476.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.1276, allocations: 21.72 kB / 476.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1277, allocations: 366.7 kB / 476.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.1278, allocations: 35.97 kB / 476.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.128, allocations: 44.03 kB / 476.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.1282, allocations: 88.73 kB / 476.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1282, allocations: 0 / 476.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003007/0.1285, allocations: 157 kB / 476.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1285, allocations: 12 kB / 476.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1286, allocations: 0 / 476.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1286, allocations: 3.938 kB / 476.9 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1287, allocations: 19.98 kB / 476.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1287, allocations: 4 kB / 476.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.062e-05/0.1288, allocations: 11.92 kB / 477 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.1288, allocations: 4 kB / 477 MB, free: 6.395 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.0001762/0.129, allocations: 217.7 kB / 477.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.353e-05/0.129, allocations: 43.72 kB / 477.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003636/0.1294, allocations: 181.4 kB / 477.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1294, allocations: 3.984 kB / 477.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1294, allocations: 0 / 477.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1294, allocations: 3.938 kB / 477.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006489/0.1301, allocations: 0.5101 MB / 477.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1301, allocations: 0 / 477.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-05/0.1302, allocations: 15.98 kB / 477.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1302, allocations: 0 / 477.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.1302, allocations: 7.938 kB / 477.9 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.1302, allocations: 0 / 477.9 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1302, allocations: 0 / 477.9 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.1307, allocations: 255.2 kB / 478.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.097e-05/0.1308, allocations: 108.6 kB / 478.3 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.1308, allocations: 7.938 kB / 478.3 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.88e-05/0.1309, allocations: 11.98 kB / 478.3 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.131, allocations: 7.984 kB / 478.3 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.131, allocations: 8 kB / 478.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006811/0.1317, allocations: 0.6433 MB / 479 MB, free: 4.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1317, allocations: 0 / 479 MB, free: 4.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.132, allocations: 28 kB / 479 MB, free: 4.25 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.001129/0.1331, allocations: 407.8 kB / 479.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004321/0.1336, allocations: 99.86 kB / 479.5 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1336, allocations: 0 / 479.5 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.1337, allocations: 43.97 kB / 479.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.1342, allocations: 28.77 kB / 479.6 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.1354, allocations: 0.8112 MB / 480.4 MB, free: 2.996 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.1358, allocations: 0.8376 MB / 481.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.715e-05/0.1359, allocations: 15.94 kB / 481.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.136, allocations: 15.44 kB / 481.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.136, allocations: 0 / 481.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of Templates: time 0.005498/0.1415, allocations: 1.602 MB / 482.8 MB, free: 0.5117 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches