Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001709/0.001709, allocations: 108.1 kB / 17.03 MB, free: 5.66 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.002025/0.002025, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.625/1.625, 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.2615/0.2615, allocations: 43.52 MB / 314.7 MB, free: 480 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.001609/0.001609, allocations: 74.98 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1344, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003133/0.1376, allocations: 1.598 MB / 443.6 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006793/0.1383, allocations: 355.4 kB / 443.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.517e-05/0.1384, allocations: 4 kB / 443.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005613/0.139, allocations: 459.1 kB / 444.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.1393, allocations: 247.5 kB / 444.6 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.1397, allocations: 163.1 kB / 444.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.1399, allocations: 167.6 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.14, allocations: 23.92 kB / 444.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.877e-05/0.1402, allocations: 111.8 kB / 445.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.1404, allocations: 203.6 kB / 445.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.1404, allocations: 4 kB / 445.3 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.199e-05/0.1405, allocations: 39.97 kB / 445.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1406, allocations: 83.69 kB / 445.4 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.048e-05/0.1407, allocations: 102.9 kB / 445.5 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.141, allocations: 259 kB / 445.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.141, allocations: 4 kB / 445.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.141, allocations: 0 / 445.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.141, allocations: 0 / 445.7 MB, free: 2.348 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007468/0.1418, allocations: 0.6414 MB / 446.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.1418, allocations: 11.89 kB / 446.4 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.1419, allocations: 40.38 kB / 446.4 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.1422, allocations: 300.1 kB / 446.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.1422, allocations: 384 / 446.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.1422, allocations: 12.31 kB / 446.7 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.1424, allocations: 61.8 kB / 446.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1424, allocations: 0 / 446.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1425, allocations: 4 kB / 446.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.1425, allocations: 7.984 kB / 446.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.1426, allocations: 31.97 kB / 446.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005318/0.1431, allocations: 400.7 kB / 447.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.1433, allocations: 50.5 kB / 447.3 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.38e-05/0.1433, allocations: 24.94 kB / 447.3 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.1434, allocations: 7.938 kB / 447.3 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.1434, allocations: 34.55 kB / 447.3 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1434, allocations: 0 / 447.3 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007763/0.1442, allocations: 307.9 kB / 447.6 MB, free: 272 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.1443, allocations: 55.39 kB / 447.7 MB, free: 204 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009298/0.1452, allocations: 0.8496 MB / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.1452, allocations: 29.7 kB / 448.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.1454, allocations: 216 kB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.1455, allocations: 23.64 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.1455, allocations: 21.72 kB / 448.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.1457, allocations: 366.7 kB / 449.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.1459, allocations: 35.97 kB / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.146, allocations: 39.97 kB / 449.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.1462, allocations: 96.95 kB / 449.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1462, allocations: 0 / 449.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002943/0.1465, allocations: 157 kB / 449.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1466, allocations: 9.25 kB / 449.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1466, allocations: 0 / 449.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1466, allocations: 4 kB / 449.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.1467, allocations: 23.92 kB / 449.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1467, allocations: 0 / 449.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.851e-05/0.1468, allocations: 11.92 kB / 449.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1468, allocations: 4 kB / 449.6 MB, free: 14.29 MB / 334.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.0001901/0.147, allocations: 221.6 kB / 449.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.1471, allocations: 39.53 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.1475, allocations: 177.4 kB / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1475, allocations: 0 / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1475, allocations: 0 / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1475, allocations: 3.938 kB / 450 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006703/0.1482, allocations: 0.5061 MB / 450.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.1482, allocations: 7.984 kB / 450.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.795e-05/0.1483, allocations: 19.98 kB / 450.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1483, allocations: 4 kB / 450.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.1483, allocations: 7.938 kB / 450.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.1483, allocations: 0 / 450.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1483, allocations: 0 / 450.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.1487, allocations: 255 kB / 450.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.712e-05/0.1488, allocations: 108.5 kB / 450.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.1488, allocations: 3.938 kB / 450.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.438e-05/0.1489, allocations: 11.98 kB / 450.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.149, allocations: 0 / 450.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.149, allocations: 11.98 kB / 450.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005674/0.1496, allocations: 0.6432 MB / 451.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1496, allocations: 4 kB / 451.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1498, allocations: 28 kB / 451.6 MB, free: 12.14 MB / 334.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.001044/0.1509, allocations: 391 kB / 452 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.1512, allocations: 95.86 kB / 452.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1512, allocations: 0 / 452.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.1514, allocations: 55.95 kB / 452.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.1518, allocations: 34.19 kB / 452.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.153, allocations: 0.7993 MB / 453 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.1534, allocations: 0.826 MB / 453.8 MB, free: 9.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.194e-05/0.1535, allocations: 31.89 kB / 453.8 MB, free: 9.949 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.1535, allocations: 15.44 kB / 453.8 MB, free: 9.934 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1535, allocations: 0 / 453.8 MB, free: 9.934 MB / 334.1 MB Notification: Performance of Templates: time 0.005262/0.1588, allocations: 1.593 MB / 455.4 MB, free: 8.352 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches