Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 109.5 kB / 16.41 MB, free: 6.488 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.001062/0.001062, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.437/1.437, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2109/0.2109, allocations: 43.53 MB / 314.1 MB, free: 472 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.001596/0.001596, allocations: 71.91 kB / 441.9 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1234, allocations: 57.79 MB / 499.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003478/0.127, allocations: 1.685 MB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1284, allocations: 0.8038 MB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.1285, allocations: 0 / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004474/0.129, allocations: 47.81 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.1293, allocations: 63.7 kB / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.1297, allocations: 87.75 kB / 0.4906 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.13, allocations: 99.69 kB / 0.4907 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.1302, allocations: 12.2 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.1303, allocations: 39.8 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1304, allocations: 31.86 kB / 0.4908 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.1304, allocations: 4 kB / 0.4908 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.1306, allocations: 47.91 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.724e-05/0.1307, allocations: 31.92 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.861e-05/0.1308, allocations: 43.66 kB / 0.4909 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.131, allocations: 115.7 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.131, allocations: 0 / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1311, allocations: 0 / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1311, allocations: 0 / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007754/0.1319, allocations: 434.2 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.1319, allocations: 11.89 kB / 0.4914 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.404e-05/0.132, allocations: 12.84 kB / 0.4914 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.1324, allocations: 219.9 kB / 0.4916 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1324, allocations: 384 / 0.4916 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.1325, allocations: 12.12 kB / 0.4916 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.1327, allocations: 49.67 kB / 0.4917 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1327, allocations: 0 / 0.4917 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.1327, allocations: 4 kB / 0.4917 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1327, allocations: 0 / 0.4917 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.944e-05/0.1328, allocations: 19.98 kB / 0.4917 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.1334, allocations: 296.8 kB / 0.492 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.1336, allocations: 54.69 kB / 0.4921 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.651e-05/0.1337, allocations: 20.84 kB / 0.4921 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.1338, allocations: 0 / 0.4921 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000259/0.134, allocations: 79.33 kB / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.134, allocations: 0 / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000706/0.1347, allocations: 173.2 kB / 0.4923 GB, free: 7.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.1348, allocations: 55.34 kB / 0.4924 GB, free: 7.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.1351, allocations: 226.7 kB / 0.4926 GB, free: 6.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.1351, allocations: 29.7 kB / 0.4926 GB, free: 6.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.016e-05/0.1352, allocations: 108.1 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/0.1353, allocations: 23.66 kB / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.691e-05/0.1354, allocations: 29.7 kB / 0.4928 GB, free: 6.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1355, allocations: 330.8 kB / 0.4931 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.898e-05/0.1356, allocations: 16 kB / 0.4931 GB, free: 6.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.04e-05/0.1357, allocations: 33.7 kB / 0.4931 GB, free: 6.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.1358, allocations: 69.58 kB / 0.4932 GB, free: 6.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1358, allocations: 0 / 0.4932 GB, free: 6.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002089/0.1361, allocations: 109.5 kB / 0.4933 GB, free: 6.012 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1361, allocations: 8 kB / 0.4933 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1361, allocations: 0 / 0.4933 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.1361, allocations: 0 / 0.4933 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1362, allocations: 19.94 kB / 0.4933 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.1363, allocations: 4 kB / 0.4933 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.396e-05/0.1363, allocations: 7.922 kB / 0.4933 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.1363, allocations: 4 kB / 0.4933 GB, free: 5.969 MB / 382.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 0.0001981/0.1365, allocations: 137.6 kB / 0.4935 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.1366, allocations: 11.89 kB / 0.4935 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.429e-05/0.1366, allocations: 17.41 kB / 0.4935 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1366, allocations: 0 / 0.4935 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1367, allocations: 0 / 0.4935 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1367, allocations: 3.938 kB / 0.4935 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.1371, allocations: 399.2 kB / 0.4939 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1372, allocations: 0 / 0.4939 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.575e-05/0.1372, allocations: 8.031 kB / 0.4939 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1372, allocations: 4 kB / 0.4939 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.1372, allocations: 7.938 kB / 0.4939 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.1372, allocations: 4 kB / 0.4939 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1373, allocations: 4.312 kB / 0.4939 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.1375, allocations: 200.3 kB / 0.4941 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.1376, allocations: 92.91 kB / 0.4942 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.1376, allocations: 15.94 kB / 0.4942 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.1377, allocations: 4 kB / 0.4942 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.1377, allocations: 7.984 kB / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.1378, allocations: 4 kB / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.1379, allocations: 163.2 kB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1379, allocations: 0 / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1382, allocations: 24.17 kB / 0.4944 GB, free: 4.773 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001132/0.1393, allocations: 474.7 kB / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.1395, allocations: 55.97 kB / 0.4949 GB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1396, allocations: 0 / 0.4949 GB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.931e-05/0.1397, allocations: 27.94 kB / 0.4949 GB, free: 4.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.14, allocations: 40.02 kB / 0.495 GB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006208/0.1406, allocations: 250.9 kB / 0.4952 GB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.1411, allocations: 0.7158 MB / 0.4959 GB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.906e-05/0.1412, allocations: 16.88 kB / 0.4959 GB, free: 3.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.1413, allocations: 19.42 kB / 0.4959 GB, free: 3.176 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1413, allocations: 0 / 0.4959 GB, free: 3.176 MB / 382.1 MB Notification: Performance of Templates: time 0.005231/0.1465, allocations: 1.714 MB / 0.4976 GB, free: 1.469 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches