Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001524, allocations: 185.7 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.898/1.898, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001113/0.001113, allocations: 85.55 kB / 270.9 MB, free: 8.383 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.5553/0.5553, allocations: 43.56 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000629/0.0006291, allocations: 12 kB / 431.4 MB, free: 5.938 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1631, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.455/0.6182, allocations: 86.42 MB / 0.5631 GB, free: 144 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.6185, allocations: 78.95 kB / 0.5632 GB, free: 68 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01872/0.6372, allocations: 4.227 MB / 0.5673 GB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6373, allocations: 0 / 0.5673 GB, free: 11.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.6373, allocations: 4 kB / 0.5673 GB, free: 11.87 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005714/0.6379, allocations: 414.4 kB / 0.5677 GB, free: 11.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.638, allocations: 12.56 kB / 0.5677 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.638, allocations: 11.81 kB / 0.5678 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.6384, allocations: 206.3 kB / 0.5679 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.6384, allocations: 4 kB / 0.568 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.6384, allocations: 4 kB / 0.568 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.6387, allocations: 69.53 kB / 0.568 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.6387, allocations: 4 kB / 0.568 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.6387, allocations: 0 / 0.568 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.6387, allocations: 0 / 0.568 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.6389, allocations: 43.31 kB / 0.5681 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005383/0.6395, allocations: 304.7 kB / 0.5684 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.6397, allocations: 63.89 kB / 0.5684 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.6397, allocations: 0 / 0.5684 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.6398, allocations: 34.56 kB / 0.5685 GB, free: 10.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.6398, allocations: 0 / 0.5685 GB, free: 10.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009948/0.6408, allocations: 201.5 kB / 0.5686 GB, free: 10.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.6408, allocations: 59.34 kB / 0.5687 GB, free: 10.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.6412, allocations: 206.5 kB / 0.5689 GB, free: 10.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.6412, allocations: 25.7 kB / 0.5689 GB, free: 10.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.263e-05/0.6413, allocations: 170.6 kB / 0.5691 GB, free: 9.895 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.6414, allocations: 27.64 kB / 0.5691 GB, free: 9.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.6414, allocations: 0 / 0.5691 GB, free: 9.867 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.6416, allocations: 310.8 kB / 0.5694 GB, free: 9.555 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.6417, allocations: 27.98 kB / 0.5694 GB, free: 9.527 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.6419, allocations: 35.97 kB / 0.5695 GB, free: 9.492 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.642, allocations: 24.86 kB / 0.5695 GB, free: 9.469 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.6421, allocations: 6.703 kB / 0.5695 GB, free: 9.465 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003977/0.6425, allocations: 101.5 kB / 0.5696 GB, free: 9.359 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.6425, allocations: 4 kB / 0.5696 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.6425, allocations: 4 kB / 0.5696 GB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.6426, allocations: 0 / 0.5696 GB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.6427, allocations: 19.98 kB / 0.5696 GB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.6428, allocations: 4.734 kB / 0.5696 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.6429, allocations: 19.98 kB / 0.5696 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.6429, allocations: 0 / 0.5696 GB, free: 9.309 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 (8): * Single equations (assignments): 8 * 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.0001526/0.6431, allocations: 121.8 kB / 0.5698 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.707e-05/0.6431, allocations: 19.89 kB / 0.5698 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006084/0.6438, allocations: 139.1 kB / 0.5699 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.6438, allocations: 4.797 kB / 0.5699 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.6438, allocations: 4 kB / 0.5699 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.6438, allocations: 7.891 kB / 0.5699 GB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000817/0.6447, allocations: 422.4 kB / 0.5703 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.6447, allocations: 0 / 0.5703 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.6448, allocations: 16.38 kB / 0.5703 GB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.6449, allocations: 0 / 0.5703 GB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.6449, allocations: 7.984 kB / 0.5704 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.6449, allocations: 7.953 kB / 0.5704 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6449, allocations: 0 / 0.5704 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/0.6453, allocations: 207.3 kB / 0.5706 GB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.6455, allocations: 97.02 kB / 0.5707 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.6455, allocations: 4 kB / 0.5707 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.6456, allocations: 7.984 kB / 0.5707 GB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.6457, allocations: 11.94 kB / 0.5707 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.6457, allocations: 4 kB / 0.5707 GB, free: 8.148 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002666/0.646, allocations: 170.5 kB / 0.5708 GB, free: 7.984 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.646, allocations: 0.75 kB / 0.5708 GB, free: 7.984 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003448/0.6464, allocations: 24 kB / 0.5709 GB, free: 7.961 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 (8): * Single equations (assignments): 8 * 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.001218/0.6476, allocations: 412.5 kB / 0.5713 GB, free: 7.652 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000386/0.648, allocations: 79.88 kB / 0.5713 GB, free: 7.574 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.648, allocations: 0 / 0.5713 GB, free: 7.574 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.6482, allocations: 39.98 kB / 0.5714 GB, free: 7.535 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.6485, allocations: 15.98 kB / 0.5714 GB, free: 7.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007667/0.6493, allocations: 314.5 kB / 0.5717 GB, free: 7.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.6498, allocations: 0.7082 MB / 0.5724 GB, free: 6.445 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.6499, allocations: 23.42 kB / 0.5724 GB, free: 6.426 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6499, allocations: 0 / 0.5724 GB, free: 6.426 MB / 394.7 MB Notification: Performance of Templates: time 0.005847/0.6558, allocations: 1.764 MB / 0.5741 GB, free: 4.664 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches