Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001226, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001475/0.001475, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.758/1.758, 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.2457/0.2457, allocations: 43.53 MB / 314.1 MB, free: 452 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.001319/0.001319, allocations: 63.89 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1392, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.003499/0.1427, allocations: 1.55 MB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1442, allocations: 0.9456 MB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.365e-05/0.1443, allocations: 11.94 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.1446, allocations: 15.92 kB / 0.4904 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.1449, allocations: 47.77 kB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.1453, allocations: 95.75 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.1454, allocations: 55.83 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1456, allocations: 19.98 kB / 0.4906 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.529e-05/0.1456, allocations: 19.92 kB / 0.4906 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.1458, allocations: 31.78 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.1459, allocations: 4 kB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.146, allocations: 47.98 kB / 0.4907 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.278e-05/0.1461, allocations: 15.97 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.1461, allocations: 15.88 kB / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.1464, allocations: 87.66 kB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1464, allocations: 0 / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1464, allocations: 0 / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1464, allocations: 0 / 0.4908 GB, free: 8.824 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006904/0.1471, allocations: 387 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.1472, allocations: 15.89 kB / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.667e-05/0.1473, allocations: 4.891 kB / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.1476, allocations: 196.2 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1476, allocations: 4.375 kB / 0.4914 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.1476, allocations: 384 / 0.4914 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.1479, allocations: 63.53 kB / 0.4914 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.1479, allocations: 4 kB / 0.4914 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.1479, allocations: 4 kB / 0.4914 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.1479, allocations: 0 / 0.4914 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.1481, allocations: 23.97 kB / 0.4914 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005524/0.1486, allocations: 284.8 kB / 0.4917 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.149, allocations: 46.56 kB / 0.4918 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.435e-05/0.1491, allocations: 16.94 kB / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.1491, allocations: 0 / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.1491, allocations: 30.56 kB / 0.4918 GB, free: 7.598 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 4.899e-06/0.1491, allocations: 3.984 kB / 0.4918 GB, free: 7.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006815/0.1498, allocations: 145.5 kB / 0.492 GB, free: 7.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/0.15, allocations: 81.11 kB / 0.492 GB, free: 7.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.1503, allocations: 137.8 kB / 0.4922 GB, free: 7.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.1503, allocations: 25.7 kB / 0.4922 GB, free: 7.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.1504, allocations: 96.08 kB / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.1504, allocations: 19.78 kB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/0.1505, allocations: 21.66 kB / 0.4923 GB, free: 7.027 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.1507, allocations: 326.8 kB / 0.4926 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.036e-05/0.1508, allocations: 23.98 kB / 0.4927 GB, free: 6.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-05/0.1509, allocations: 29.7 kB / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.151, allocations: 57.02 kB / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.151, allocations: 0 / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002123/0.1512, allocations: 85.61 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.1513, allocations: 12.03 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1513, allocations: 3.938 kB / 0.4928 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.1513, allocations: 0 / 0.4928 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.1514, allocations: 11.98 kB / 0.4928 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1514, allocations: 0 / 0.4928 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.982e-05/0.1514, allocations: 4 kB / 0.4928 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1515, allocations: 4 kB / 0.4929 GB, free: 6.457 MB / 382.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 0.000106/0.1516, allocations: 121.7 kB / 0.493 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.1516, allocations: 11.94 kB / 0.493 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.1519, allocations: 93.62 kB / 0.4931 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1519, allocations: 0 / 0.4931 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1519, allocations: 3.938 kB / 0.4931 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1519, allocations: 0 / 0.4931 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.1523, allocations: 354.5 kB / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1523, allocations: 0 / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.296e-05/0.1524, allocations: 19.98 kB / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.1524, allocations: 0 / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1524, allocations: 4 kB / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.1524, allocations: 4.125 kB / 0.4934 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1525, allocations: 4 kB / 0.4934 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.1527, allocations: 183.4 kB / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.1528, allocations: 77.11 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.1528, allocations: 8 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-05/0.1529, allocations: 7.922 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.1529, allocations: 8 kB / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.1529, allocations: 0 / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.621e-05/0.153, allocations: 103.3 kB / 0.4938 GB, free: 5.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.153, allocations: 0 / 0.4938 GB, free: 5.363 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1533, allocations: 27.86 kB / 0.4938 GB, free: 5.336 MB / 382.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.0009993/0.1543, allocations: 455.6 kB / 0.4943 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.1545, allocations: 51.91 kB / 0.4943 GB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1545, allocations: 0 / 0.4943 GB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.589e-05/0.1546, allocations: 27.97 kB / 0.4943 GB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.1549, allocations: 19.86 kB / 0.4944 GB, free: 4.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.1553, allocations: 173.2 kB / 0.4945 GB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.1557, allocations: 0.6885 MB / 0.4952 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.106e-05/0.1558, allocations: 15.97 kB / 0.4952 GB, free: 3.906 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.1558, allocations: 15.38 kB / 0.4952 GB, free: 3.891 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1558, allocations: 4 kB / 0.4952 GB, free: 3.887 MB / 382.1 MB Notification: Performance of Templates: time 0.004217/0.16, allocations: 1.361 MB / 0.4966 GB, free: 2.527 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches