Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29") translateModel(ModelicaTest.Tables.CombiTable1D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001436/0.001436, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 88.69 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2957/0.2957, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.154e-05/2.162e-05, allocations: 4.219 kB / 418.2 MB, free: 41.06 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.434, allocations: 58.86 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.5962, allocations: 85.84 MB / 0.5497 GB, free: 13.48 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.5965, allocations: 79.89 kB / 0.5498 GB, free: 13.41 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01718/0.6137, allocations: 3.921 MB / 0.5536 GB, free: 9.488 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.6138, allocations: 0 / 0.5536 GB, free: 9.488 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.6138, allocations: 0 / 0.5536 GB, free: 9.488 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005418/0.6144, allocations: 378.2 kB / 0.554 GB, free: 9.074 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.6144, allocations: 12.03 kB / 0.554 GB, free: 9.062 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.6145, allocations: 7.906 kB / 0.554 GB, free: 9.055 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.6148, allocations: 198.8 kB / 0.5542 GB, free: 8.82 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.6149, allocations: 4 kB / 0.5542 GB, free: 8.816 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.6149, allocations: 0 / 0.5542 GB, free: 8.816 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000119/0.615, allocations: 27.92 kB / 0.5542 GB, free: 8.789 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.6152, allocations: 67.39 kB / 0.5543 GB, free: 8.711 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.6152, allocations: 0 / 0.5543 GB, free: 8.711 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.6153, allocations: 3.938 kB / 0.5543 GB, free: 8.707 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.6153, allocations: 4 kB / 0.5543 GB, free: 8.703 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006546/0.6159, allocations: 373.5 kB / 0.5547 GB, free: 8.297 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.6163, allocations: 77.14 kB / 0.5547 GB, free: 8.203 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.6e-05/0.6164, allocations: 25.89 kB / 0.5548 GB, free: 8.172 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.6165, allocations: 4 kB / 0.5548 GB, free: 8.168 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.6165, allocations: 34.66 kB / 0.5548 GB, free: 8.125 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.404e-06/0.6165, allocations: 0 / 0.5548 GB, free: 8.125 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008016/0.6173, allocations: 169.1 kB / 0.555 GB, free: 7.953 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.6174, allocations: 85.06 kB / 0.555 GB, free: 7.852 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.6176, allocations: 139.3 kB / 0.5552 GB, free: 7.707 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.6176, allocations: 25.7 kB / 0.5552 GB, free: 7.676 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/0.6177, allocations: 162.6 kB / 0.5554 GB, free: 7.516 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.6178, allocations: 27.56 kB / 0.5554 GB, free: 7.488 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.6178, allocations: 0 / 0.5554 GB, free: 7.488 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.618, allocations: 318.8 kB / 0.5557 GB, free: 7.168 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.11e-05/0.6181, allocations: 27.94 kB / 0.5557 GB, free: 7.141 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.101e-05/0.6182, allocations: 41.64 kB / 0.5557 GB, free: 7.094 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.334e-05/0.6183, allocations: 28.11 kB / 0.5558 GB, free: 7.066 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6183, allocations: 0 / 0.5558 GB, free: 7.066 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002297/0.6185, allocations: 89.58 kB / 0.5559 GB, free: 6.973 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.6185, allocations: 8 kB / 0.5559 GB, free: 6.965 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6186, allocations: 0 / 0.5559 GB, free: 6.965 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.6186, allocations: 0 / 0.5559 GB, free: 6.965 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.6188, allocations: 27.92 kB / 0.5559 GB, free: 6.938 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.6188, allocations: 4 kB / 0.5559 GB, free: 6.934 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.637e-05/0.6189, allocations: 7.953 kB / 0.5559 GB, free: 6.926 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.6189, allocations: 11.98 kB / 0.5559 GB, free: 6.914 MB / 395.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: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.532e-05/0.619, allocations: 101 kB / 0.556 GB, free: 6.809 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-05/0.6191, allocations: 7.906 kB / 0.556 GB, free: 6.801 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.6195, allocations: 114 kB / 0.5561 GB, free: 6.684 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.6195, allocations: 4 kB / 0.5561 GB, free: 6.68 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.6195, allocations: 4 kB / 0.5561 GB, free: 6.676 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.6195, allocations: 0 / 0.5561 GB, free: 6.676 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007661/0.6203, allocations: 459 kB / 0.5566 GB, free: 6.18 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.6203, allocations: 4.312 kB / 0.5566 GB, free: 6.176 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.6205, allocations: 31.86 kB / 0.5566 GB, free: 6.145 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.6205, allocations: 8.031 kB / 0.5566 GB, free: 6.137 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.6205, allocations: 4 kB / 0.5566 GB, free: 6.133 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.6205, allocations: 0 / 0.5566 GB, free: 6.133 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.535e-06/0.6205, allocations: 7.953 kB / 0.5566 GB, free: 6.125 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.6209, allocations: 298.9 kB / 0.5569 GB, free: 5.801 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.91e-05/0.621, allocations: 85.34 kB / 0.557 GB, free: 5.699 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.621, allocations: 3.953 kB / 0.557 GB, free: 5.695 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.6212, allocations: 7.984 kB / 0.557 GB, free: 5.688 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.6213, allocations: 11.97 kB / 0.557 GB, free: 5.676 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.6213, allocations: 4 kB / 0.557 GB, free: 5.672 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.6214, allocations: 112.8 kB / 0.5571 GB, free: 5.562 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6214, allocations: 0 / 0.5571 GB, free: 5.562 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004282/0.6219, allocations: 23.94 kB / 0.5572 GB, free: 5.539 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001021/0.6229, allocations: 345.9 kB / 0.5575 GB, free: 5.242 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.6231, allocations: 55.98 kB / 0.5575 GB, free: 5.188 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.6231, allocations: 0 / 0.5575 GB, free: 5.188 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.703e-05/0.6232, allocations: 31.94 kB / 0.5576 GB, free: 5.156 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.6236, allocations: 23.19 kB / 0.5576 GB, free: 5.137 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.6241, allocations: 187.6 kB / 0.5578 GB, free: 4.918 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.6245, allocations: 0.7196 MB / 0.5585 GB, free: 4.172 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.6246, allocations: 19.38 kB / 0.5585 GB, free: 4.152 MB / 395.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6246, allocations: 0 / 0.5585 GB, free: 4.152 MB / 395.1 MB Notification: Performance of Templates: time 0.004964/0.6296, allocations: 1.648 MB / 0.5601 GB, free: 2.508 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches