Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") translateModel(ModelicaTest.Tables.CombiTable1D.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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001445, allocations: 105.3 kB / 17.03 MB, free: 6.129 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.001535/0.001535, allocations: 194.9 kB / 17.96 MB, free: 5.215 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2308/0.2308, allocations: 43.52 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 68.7 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1208, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.003196/0.1241, allocations: 1.574 MB / 443.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006215/0.1247, allocations: 323.5 kB / 443.9 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.078e-05/0.1248, allocations: 0 / 443.9 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.1251, allocations: 95.73 kB / 443.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.1254, allocations: 79.72 kB / 444 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.1257, allocations: 79.7 kB / 444.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.1258, allocations: 87.8 kB / 444.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.126, allocations: 28.11 kB / 444.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.667e-05/0.1261, allocations: 47.77 kB / 444.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.1262, allocations: 51.83 kB / 444.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.1262, allocations: 4 kB / 444.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.743e-05/0.1263, allocations: 27.98 kB / 444.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.1264, allocations: 23.92 kB / 444.4 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.774e-05/0.1264, allocations: 39.67 kB / 444.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.1266, allocations: 103.6 kB / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1267, allocations: 0 / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1267, allocations: 4 kB / 444.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1267, allocations: 0 / 444.5 MB, free: 3.586 MB / 318.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.0005352/0.1272, allocations: 414.9 kB / 444.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1273, allocations: 11.89 kB / 444.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.1273, allocations: 16.75 kB / 444.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.1275, allocations: 204 kB / 445.1 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1275, allocations: 384 / 445.1 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.1276, allocations: 8.375 kB / 445.1 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1278, allocations: 83.31 kB / 445.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1278, allocations: 3.906 kB / 445.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1278, allocations: 4 kB / 445.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1278, allocations: 0 / 445.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.1279, allocations: 35.91 kB / 445.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.1284, allocations: 401 kB / 445.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.1286, allocations: 89.14 kB / 445.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.278e-05/0.1287, allocations: 29.8 kB / 445.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.1287, allocations: 0 / 445.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.1288, allocations: 46.48 kB / 445.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1288, allocations: 0 / 445.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006768/0.1295, allocations: 236.7 kB / 446.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.1295, allocations: 81.11 kB / 446.1 MB, free: 1.746 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.1297, allocations: 231.5 kB / 446.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.1297, allocations: 33.64 kB / 446.4 MB, free: 1.473 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.1298, allocations: 104.1 kB / 446.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.1298, allocations: 39.53 kB / 446.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.1299, allocations: 21.7 kB / 446.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.645e-05/0.1299, allocations: 326.8 kB / 446.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.13, allocations: 27.98 kB / 446.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.619e-05/0.1301, allocations: 57.62 kB / 447 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.1302, allocations: 85.8 kB / 447 MB, free: 0.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1303, allocations: 0 / 447 MB, free: 0.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002111/0.1305, allocations: 129.4 kB / 447.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1305, allocations: 4 kB / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.1305, allocations: 0 / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1305, allocations: 0 / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.77e-05/0.1306, allocations: 31.92 kB / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1306, allocations: 3.938 kB / 447.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.566e-05/0.1307, allocations: 7.984 kB / 447.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1307, allocations: 0 / 447.2 MB, free: 0.6133 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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 7.729e-05/0.1308, allocations: 137.8 kB / 447.4 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.1308, allocations: 11.81 kB / 447.4 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.1311, allocations: 154.5 kB / 447.5 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1311, allocations: 4 kB / 447.5 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1311, allocations: 7.938 kB / 447.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1311, allocations: 0 / 447.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005778/0.1317, allocations: 0.4949 MB / 448 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1317, allocations: 0 / 448 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.537e-05/0.1318, allocations: 27.86 kB / 448 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1318, allocations: 8.031 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1318, allocations: 7.938 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1319, allocations: 4 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1319, allocations: 0 / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.1322, allocations: 295.4 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/0.1323, allocations: 92.95 kB / 448.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.1323, allocations: 8 kB / 448.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1324, allocations: 7.984 kB / 448.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.1325, allocations: 7.984 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.1325, allocations: 4.609 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.1326, allocations: 171.5 kB / 448.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1326, allocations: 0 / 448.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.1329, allocations: 16 kB / 448.7 MB, free: 15.06 MB / 334.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 (10): * Single equations (assignments): 10 * 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.001004/0.1339, allocations: 423.2 kB / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.1342, allocations: 83.88 kB / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1342, allocations: 0 / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.1344, allocations: 47.91 kB / 449.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005091/0.1349, allocations: 19.94 kB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006617/0.1355, allocations: 296.3 kB / 449.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.136, allocations: 0.7157 MB / 450.2 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.134e-05/0.1361, allocations: 24.36 kB / 450.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.1361, allocations: 19.42 kB / 450.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1361, allocations: 0 / 450.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of Templates: time 0.004431/0.1405, allocations: 1.309 MB / 451.6 MB, free: 12.17 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches