Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001033, allocations: 96.55 kB / 18.01 MB, free: 5.734 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.001347/0.001347, allocations: 179.3 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.436/1.436, allocations: 223.3 MB / 243 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2013/0.2013, allocations: 44.24 MB / 338.3 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 8 kB / 411 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.122, allocations: 61.93 MB / 472.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002189/0.1242, allocations: 1.325 MB / 474.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008492/0.1251, allocations: 415.3 kB / 474.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.1252, allocations: 3.938 kB / 474.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.1255, allocations: 91.8 kB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.1258, allocations: 63.86 kB / 474.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.1261, allocations: 106.1 kB / 474.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.1263, allocations: 87.8 kB / 475 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1265, allocations: 32.2 kB / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.93e-05/0.1266, allocations: 27.92 kB / 475 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.1267, allocations: 55.81 kB / 475.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.1267, allocations: 0 / 475.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1268, allocations: 43.97 kB / 475.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.207e-05/0.1269, allocations: 23.86 kB / 475.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.45e-05/0.127, allocations: 65.38 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.1271, allocations: 95.73 kB / 475.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1272, allocations: 0 / 475.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1272, allocations: 0 / 475.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1272, allocations: 4 kB / 475.3 MB, free: 10.92 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005205/0.1277, allocations: 409.5 kB / 475.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1278, allocations: 15.97 kB / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.1278, allocations: 12.75 kB / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.128, allocations: 204.1 kB / 476 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.128, allocations: 4.375 kB / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.1281, allocations: 8.375 kB / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.1283, allocations: 85.72 kB / 476.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1283, allocations: 3.984 kB / 476.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.1283, allocations: 4 kB / 476.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1283, allocations: 4 kB / 476.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.1285, allocations: 47.97 kB / 476.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.129, allocations: 344.6 kB / 476.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.1291, allocations: 70.55 kB / 476.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.175e-05/0.1292, allocations: 24.84 kB / 476.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.1292, allocations: 0 / 476.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.1293, allocations: 38.56 kB / 476.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.725e-06/0.1293, allocations: 0 / 476.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001141/0.1304, allocations: 369.4 kB / 476.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.1305, allocations: 59.41 kB / 477 MB, free: 9.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.1307, allocations: 235.2 kB / 477.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.1308, allocations: 25.7 kB / 477.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.1308, allocations: 116 kB / 477.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.1309, allocations: 35.45 kB / 477.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.1309, allocations: 17.72 kB / 477.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.131, allocations: 326.8 kB / 477.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.1312, allocations: 51.97 kB / 477.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.1313, allocations: 47.97 kB / 477.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.1315, allocations: 119.4 kB / 477.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1315, allocations: 0 / 477.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002859/0.1318, allocations: 169.4 kB / 478.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1318, allocations: 6.812 kB / 478.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1318, allocations: 0 / 478.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1319, allocations: 7.938 kB / 478.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.132, allocations: 23.98 kB / 478.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.132, allocations: 0 / 478.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.1321, allocations: 12 kB / 478.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.1321, allocations: 11.98 kB / 478.2 MB, free: 7.848 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 (13): * Single equations (assignments): 13 * 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.0001207/0.1322, allocations: 137.7 kB / 478.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.1323, allocations: 15.81 kB / 478.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/0.1326, allocations: 192.5 kB / 478.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1326, allocations: 0 / 478.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1327, allocations: 4 kB / 478.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1327, allocations: 0 / 478.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006619/0.1333, allocations: 0.5106 MB / 479 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1334, allocations: 0 / 479 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.471e-05/0.1335, allocations: 27.98 kB / 479.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1335, allocations: 4 kB / 479.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1335, allocations: 4 kB / 479.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.1335, allocations: 4 kB / 479.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1335, allocations: 0 / 479.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.1339, allocations: 268.1 kB / 479.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.1339, allocations: 89 kB / 479.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1339, allocations: 0 / 479.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.98e-05/0.134, allocations: 16 kB / 479.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.1341, allocations: 7.984 kB / 479.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.1341, allocations: 4 kB / 479.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.1343, allocations: 175.2 kB / 479.6 MB, free: 6.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1343, allocations: 3.938 kB / 479.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.1345, allocations: 20 kB / 479.6 MB, free: 6.277 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 (13): * Single equations (assignments): 13 * 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.001109/0.1357, allocations: 453.6 kB / 480.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.1359, allocations: 127.8 kB / 480.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.136, allocations: 0 / 480.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.1361, allocations: 71.83 kB / 480.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.1365, allocations: 16 kB / 480.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006288/0.1371, allocations: 404.2 kB / 480.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.1374, allocations: 0.716 MB / 481.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.1375, allocations: 23.44 kB / 481.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1375, allocations: 0 / 481.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of Templates: time 0.004308/0.1418, allocations: 2.077 MB / 483.5 MB, free: 2.527 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches