Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8") translateModel(ModelicaTest.Tables.CombiTable1D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.001361, allocations: 100.6 kB / 16.27 MB, free: 6.391 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.001698/0.001698, allocations: 186.9 kB / 17.2 MB, free: 5.941 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.806/1.806, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2541/0.2541, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 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.001853/0.001853, allocations: 67.08 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1297, allocations: 57.79 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test8): time 0.003411/0.1332, allocations: 1.554 MB / 442.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005908/0.1338, allocations: 323.5 kB / 442.4 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.1339, allocations: 0 / 442.4 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.1341, allocations: 31.78 kB / 442.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.1343, allocations: 35.86 kB / 442.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.1346, allocations: 91.73 kB / 442.5 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.1347, allocations: 51.91 kB / 442.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1348, allocations: 11.94 kB / 442.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.468e-05/0.1349, allocations: 23.91 kB / 442.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.66e-05/0.135, allocations: 27.8 kB / 442.7 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.135, allocations: 0 / 442.7 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.411e-05/0.1351, allocations: 28 kB / 442.7 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.1351, allocations: 19.92 kB / 442.7 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.1352, allocations: 19.86 kB / 442.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.1354, allocations: 79.73 kB / 442.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1354, allocations: 0 / 442.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1354, allocations: 0 / 442.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1354, allocations: 0 / 442.8 MB, free: 4.598 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004142/0.1358, allocations: 375.2 kB / 443.2 MB, free: 4.184 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1359, allocations: 15.89 kB / 443.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.1359, allocations: 8.844 kB / 443.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.136, allocations: 197.4 kB / 443.4 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1361, allocations: 384 / 443.4 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.1361, allocations: 4.375 kB / 443.4 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.1362, allocations: 49.81 kB / 443.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1362, allocations: 0 / 443.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1363, allocations: 0 / 443.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1363, allocations: 0 / 443.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.611e-05/0.1364, allocations: 27.97 kB / 443.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.1367, allocations: 288.8 kB / 443.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.1369, allocations: 42.56 kB / 443.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.583e-05/0.137, allocations: 16.94 kB / 443.8 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.137, allocations: 3.984 kB / 443.8 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.137, allocations: 34.56 kB / 443.8 MB, free: 3.395 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.137, allocations: 3.938 kB / 443.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000532/0.1376, allocations: 149.3 kB / 444 MB, free: 3.238 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.1376, allocations: 51.41 kB / 444 MB, free: 3.176 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.1377, allocations: 156.6 kB / 444.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.168e-06/0.1377, allocations: 25.7 kB / 444.2 MB, free: 2.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.208e-05/0.1378, allocations: 104.1 kB / 444.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.1378, allocations: 19.66 kB / 444.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.1378, allocations: 17.7 kB / 444.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.633e-05/0.1379, allocations: 322.8 kB / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.398e-05/0.1379, allocations: 23.92 kB / 444.7 MB, free: 2.488 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.483e-05/0.138, allocations: 23.97 kB / 444.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.1381, allocations: 57.02 kB / 444.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1381, allocations: 4 kB / 444.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001611/0.1383, allocations: 81.58 kB / 444.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1383, allocations: 4 kB / 444.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1383, allocations: 0 / 444.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1384, allocations: 3.984 kB / 444.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.57e-05/0.1384, allocations: 12 kB / 444.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1384, allocations: 3.938 kB / 444.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.672e-05/0.1385, allocations: 7.984 kB / 444.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1385, allocations: 7.938 kB / 444.9 MB, free: 2.277 MB / 318.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 (5): * Single equations (assignments): 5 * 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 5.503e-05/0.1385, allocations: 121.8 kB / 445 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.1386, allocations: 3.906 kB / 445 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.1388, allocations: 97.95 kB / 445.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1388, allocations: 288 / 445.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1388, allocations: 0 / 445.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1388, allocations: 4 kB / 445.1 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.1391, allocations: 358.4 kB / 445.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1392, allocations: 3.984 kB / 445.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.771e-05/0.1392, allocations: 8 kB / 445.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1392, allocations: 0 / 445.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1392, allocations: 4 kB / 445.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.1392, allocations: 12.11 kB / 445.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1392, allocations: 4 kB / 445.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.1394, allocations: 179.4 kB / 445.7 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.053e-05/0.1395, allocations: 89 kB / 445.8 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.1395, allocations: 0 / 445.8 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.259e-05/0.1395, allocations: 7.938 kB / 445.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.1396, allocations: 7.984 kB / 445.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.1396, allocations: 4 kB / 445.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.861e-05/0.1397, allocations: 119.2 kB / 445.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1397, allocations: 0 / 445.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.1399, allocations: 23.92 kB / 445.9 MB, free: 1.148 MB / 318.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 (5): * Single equations (assignments): 5 * 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.0008418/0.1408, allocations: 394.9 kB / 446.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000182/0.141, allocations: 55.89 kB / 446.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.141, allocations: 0 / 446.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.577e-05/0.141, allocations: 31.98 kB / 446.4 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.1414, allocations: 11.98 kB / 446.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.1418, allocations: 177.6 kB / 446.6 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.142, allocations: 0.7041 MB / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.885e-05/0.1421, allocations: 11.98 kB / 447.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.1421, allocations: 11.44 kB / 447.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1421, allocations: 3.938 kB / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of Templates: time 0.003506/0.1456, allocations: 1.097 MB / 448.4 MB, free: 14.7 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches