Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001278, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.001291/0.001292, allocations: 188.1 kB / 17.34 MB, free: 5.754 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.583/1.583, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2344/0.2344, allocations: 43.53 MB / 314.1 MB, free: 460 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.001416/0.001416, allocations: 63.91 kB / 441.9 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1257, allocations: 57.79 MB / 499.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002818/0.1286, allocations: 1.697 MB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1299, allocations: 0.8078 MB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.87e-05/0.13, allocations: 0 / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.1303, allocations: 39.77 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.1306, allocations: 51.77 kB / 0.4905 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.1309, allocations: 91.64 kB / 0.4906 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.131, allocations: 99.69 kB / 0.4907 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1312, allocations: 20.2 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.257e-05/0.1313, allocations: 39.8 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.897e-05/0.1313, allocations: 31.84 kB / 0.4908 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1314, allocations: 4 kB / 0.4908 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.01e-05/0.1315, allocations: 39.98 kB / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.1315, allocations: 23.92 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.1316, allocations: 39.72 kB / 0.4909 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.1318, allocations: 103.7 kB / 0.491 GB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1318, allocations: 4 kB / 0.491 GB, free: 8.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1318, allocations: 0 / 0.491 GB, free: 8.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.1318, allocations: 3.938 kB / 0.491 GB, free: 8.641 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.0006344/0.1325, allocations: 407 kB / 0.4913 GB, free: 8.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001471/0.1326, allocations: 11.89 kB / 0.4914 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.1327, allocations: 12.75 kB / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.133, allocations: 208 kB / 0.4916 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1331, allocations: 384 / 0.4916 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.1331, allocations: 12.12 kB / 0.4916 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1333, allocations: 53.67 kB / 0.4916 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1333, allocations: 7.938 kB / 0.4916 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1333, allocations: 0 / 0.4916 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1333, allocations: 0 / 0.4916 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.291e-05/0.1334, allocations: 19.98 kB / 0.4917 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/0.134, allocations: 280.9 kB / 0.4919 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.1342, allocations: 62.61 kB / 0.492 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.407e-05/0.1343, allocations: 16.86 kB / 0.492 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.1343, allocations: 7.984 kB / 0.492 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.1345, allocations: 67.38 kB / 0.4921 GB, free: 7.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1345, allocations: 0 / 0.4921 GB, free: 7.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006053/0.1351, allocations: 181.1 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.1352, allocations: 51.41 kB / 0.4923 GB, free: 7.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.1354, allocations: 174.2 kB / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.1354, allocations: 29.64 kB / 0.4925 GB, free: 6.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.1355, allocations: 96.14 kB / 0.4926 GB, free: 6.773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.1355, allocations: 23.7 kB / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.1356, allocations: 21.72 kB / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1357, allocations: 326.8 kB / 0.4929 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.21e-05/0.1358, allocations: 23.98 kB / 0.493 GB, free: 6.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.256e-05/0.1359, allocations: 45.95 kB / 0.493 GB, free: 6.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.136, allocations: 57.7 kB / 0.4931 GB, free: 6.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.136, allocations: 0 / 0.4931 GB, free: 6.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000197/0.1362, allocations: 101.5 kB / 0.4932 GB, free: 6.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1362, allocations: 8 kB / 0.4932 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1363, allocations: 4.031 kB / 0.4932 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1363, allocations: 0 / 0.4932 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.761e-05/0.1364, allocations: 15.98 kB / 0.4932 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1364, allocations: 4 kB / 0.4932 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.1364, allocations: 7.938 kB / 0.4932 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1365, allocations: 4 kB / 0.4932 GB, free: 6.109 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.0001286/0.1366, allocations: 129.4 kB / 0.4933 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.1366, allocations: 15.75 kB / 0.4933 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.507e-05/0.1367, allocations: 16.72 kB / 0.4934 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1367, allocations: 8 kB / 0.4934 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1367, allocations: 0 / 0.4934 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.1367, allocations: 7.922 kB / 0.4934 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.1373, allocations: 379.3 kB / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1373, allocations: 0 / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.1373, allocations: 8 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1374, allocations: 0 / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1374, allocations: 7.938 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1374, allocations: 4.031 kB / 0.4938 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1374, allocations: 0 / 0.4938 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.1376, allocations: 200.3 kB / 0.4939 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.1377, allocations: 89 kB / 0.494 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.1378, allocations: 7.938 kB / 0.494 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.778e-05/0.1379, allocations: 11.88 kB / 0.494 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.138, allocations: 11.98 kB / 0.4941 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.138, allocations: 4 kB / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.1381, allocations: 128.1 kB / 0.4942 GB, free: 4.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1381, allocations: 0 / 0.4942 GB, free: 4.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.1384, allocations: 24 kB / 0.4942 GB, free: 4.973 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.00108/0.1395, allocations: 467.4 kB / 0.4947 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.1397, allocations: 59.92 kB / 0.4947 GB, free: 4.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1397, allocations: 0 / 0.4947 GB, free: 4.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/0.1397, allocations: 27.98 kB / 0.4947 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.1402, allocations: 36.02 kB / 0.4948 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.1407, allocations: 218.8 kB / 0.495 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.141, allocations: 0.7002 MB / 0.4957 GB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.34e-05/0.1411, allocations: 12.89 kB / 0.4957 GB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.1411, allocations: 27.36 kB / 0.4957 GB, free: 3.426 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1411, allocations: 0 / 0.4957 GB, free: 3.426 MB / 382.1 MB Notification: Performance of Templates: time 0.005231/0.1464, allocations: 1.696 MB / 0.4974 GB, free: 1.734 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches