Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31") translateModel(ModelicaTest.Tables.CombiTable1D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002183/0.002183, allocations: 188.4 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.994/1.994, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 92.42 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.503/0.503, allocations: 43.54 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004702, allocations: 16 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1218, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4761/0.598, allocations: 86.48 MB / 0.5632 GB, free: 244 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.5982, allocations: 79.95 kB / 0.5633 GB, free: 164 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01729/0.6156, allocations: 4.172 MB / 0.5673 GB, free: 12.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6156, allocations: 0 / 0.5673 GB, free: 12.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.6156, allocations: 0 / 0.5673 GB, free: 12.03 MB / 394.7 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.00056/0.6162, allocations: 433.7 kB / 0.5677 GB, free: 11.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.6163, allocations: 15.95 kB / 0.5678 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.6163, allocations: 15.25 kB / 0.5678 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.6166, allocations: 212.2 kB / 0.568 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.6167, allocations: 0 / 0.568 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.6167, allocations: 8 kB / 0.568 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.6169, allocations: 49.67 kB / 0.568 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.6169, allocations: 4 kB / 0.568 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.6169, allocations: 2.5 kB / 0.568 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.617, allocations: 1.031 kB / 0.568 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.6171, allocations: 27.92 kB / 0.5681 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.6177, allocations: 316.7 kB / 0.5684 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.618, allocations: 46.56 kB / 0.5684 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.618, allocations: 0 / 0.5684 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.618, allocations: 38.5 kB / 0.5685 GB, free: 10.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.924e-06/0.618, allocations: 0 / 0.5685 GB, free: 10.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008883/0.6189, allocations: 177.2 kB / 0.5686 GB, free: 10.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.619, allocations: 59.34 kB / 0.5687 GB, free: 10.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.6194, allocations: 234.5 kB / 0.5689 GB, free: 10.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.6194, allocations: 33.7 kB / 0.5689 GB, free: 10.21 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.928e-05/0.6196, allocations: 166.6 kB / 0.5691 GB, free: 10.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.6196, allocations: 19.69 kB / 0.5691 GB, free: 10.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.6196, allocations: 0 / 0.5691 GB, free: 10.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.6197, allocations: 311.1 kB / 0.5694 GB, free: 9.711 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.6199, allocations: 27.97 kB / 0.5694 GB, free: 9.684 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.62, allocations: 27.98 kB / 0.5695 GB, free: 9.656 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.6202, allocations: 27.98 kB / 0.5695 GB, free: 9.629 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6202, allocations: 0 / 0.5695 GB, free: 9.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003217/0.6205, allocations: 85.67 kB / 0.5696 GB, free: 9.539 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.6205, allocations: 11.98 kB / 0.5696 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.6206, allocations: 0 / 0.5696 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.6206, allocations: 4 kB / 0.5696 GB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.6207, allocations: 11.94 kB / 0.5696 GB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.6207, allocations: 7.953 kB / 0.5696 GB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.963e-05/0.6208, allocations: 8.797 kB / 0.5696 GB, free: 9.496 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.6209, allocations: 0 / 0.5696 GB, free: 9.496 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.621, allocations: 133.8 kB / 0.5697 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.6211, allocations: 19.81 kB / 0.5698 GB, free: 9.336 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003992/0.6215, allocations: 110.6 kB / 0.5699 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.6215, allocations: 0 / 0.5699 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.6215, allocations: 4.312 kB / 0.5699 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.6215, allocations: 3.953 kB / 0.5699 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007319/0.6223, allocations: 406.5 kB / 0.5703 GB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6223, allocations: 7.938 kB / 0.5703 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.6224, allocations: 11.98 kB / 0.5703 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.6224, allocations: 4 kB / 0.5703 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.6225, allocations: 4 kB / 0.5703 GB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.6225, allocations: 3.953 kB / 0.5703 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6225, allocations: 0 / 0.5703 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.6229, allocations: 203.3 kB / 0.5705 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.505e-05/0.623, allocations: 105.2 kB / 0.5706 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.623, allocations: 0 / 0.5706 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.6232, allocations: 8 kB / 0.5706 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.6232, allocations: 11.94 kB / 0.5706 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.6232, allocations: 3.984 kB / 0.5706 GB, free: 8.371 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003236/0.6236, allocations: 204.2 kB / 0.5708 GB, free: 8.172 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.224e-06/0.6236, allocations: 0 / 0.5708 GB, free: 8.172 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003615/0.624, allocations: 23.94 kB / 0.5708 GB, free: 8.148 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001165/0.6251, allocations: 411 kB / 0.5712 GB, free: 7.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003664/0.6255, allocations: 63.91 kB / 0.5713 GB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.6255, allocations: 0 / 0.5713 GB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.6257, allocations: 31.98 kB / 0.5713 GB, free: 7.746 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.626, allocations: 16.17 kB / 0.5713 GB, free: 7.727 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007609/0.6268, allocations: 333.7 kB / 0.5716 GB, free: 7.375 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.6271, allocations: 0.7199 MB / 0.5723 GB, free: 6.629 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.6272, allocations: 15.44 kB / 0.5724 GB, free: 6.613 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6272, allocations: 0 / 0.5724 GB, free: 6.613 MB / 394.7 MB Notification: Performance of Templates: time 0.005012/0.6322, allocations: 1.764 MB / 0.5741 GB, free: 4.848 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches