Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008823/0.0008824, allocations: 175.6 kB / 16.76 MB, free: 5.051 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.689/1.689, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0009248/0.0009248, allocations: 86.02 kB / 271.3 MB, free: 8.242 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.4045/0.4045, allocations: 43.56 MB / 363.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004241/0.0004242, allocations: 12 kB / 432.6 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1475, allocations: 58.84 MB / 491.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3955/0.543, allocations: 87.76 MB / 0.5657 GB, free: 14.05 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.5434, allocations: 75.97 kB / 0.5657 GB, free: 13.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02059/0.564, allocations: 5.434 MB / 0.571 GB, free: 8.598 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.564, allocations: 0 / 0.571 GB, free: 8.598 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.056e-05/0.5641, allocations: 8 kB / 0.571 GB, free: 8.59 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007316/0.5648, allocations: 423 kB / 0.5714 GB, free: 8.129 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.5649, allocations: 8.031 kB / 0.5715 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.726e-05/0.565, allocations: 12.75 kB / 0.5715 GB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.5654, allocations: 228.7 kB / 0.5717 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.5654, allocations: 4.375 kB / 0.5717 GB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.5654, allocations: 384 / 0.5717 GB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.5656, allocations: 54.23 kB / 0.5717 GB, free: 7.781 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.5657, allocations: 4.188 kB / 0.5717 GB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.5657, allocations: 3.938 kB / 0.5718 GB, free: 7.773 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.5657, allocations: 0 / 0.5718 GB, free: 7.773 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.5658, allocations: 19.98 kB / 0.5718 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/0.5663, allocations: 297.8 kB / 0.5721 GB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.5666, allocations: 58.62 kB / 0.5721 GB, free: 7.348 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.759e-05/0.5667, allocations: 24.84 kB / 0.5721 GB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.5667, allocations: 3.938 kB / 0.5721 GB, free: 7.316 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.5669, allocations: 83.23 kB / 0.5722 GB, free: 7.223 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.5669, allocations: 0 / 0.5722 GB, free: 7.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007485/0.5677, allocations: 173.2 kB / 0.5724 GB, free: 7.047 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.5677, allocations: 59.34 kB / 0.5724 GB, free: 6.977 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.568, allocations: 193.7 kB / 0.5726 GB, free: 6.777 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.5681, allocations: 29.7 kB / 0.5727 GB, free: 6.742 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.5682, allocations: 104.1 kB / 0.5728 GB, free: 6.637 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.663e-05/0.5683, allocations: 27.64 kB / 0.5728 GB, free: 6.609 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/0.5683, allocations: 8 kB / 0.5728 GB, free: 6.602 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002357/0.5686, allocations: 326.8 kB / 0.5731 GB, free: 6.273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.276e-05/0.5687, allocations: 19.98 kB / 0.5731 GB, free: 6.254 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.5688, allocations: 38.45 kB / 0.5732 GB, free: 6.211 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.569, allocations: 57.64 kB / 0.5732 GB, free: 6.148 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.569, allocations: 0 / 0.5732 GB, free: 6.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000315/0.5693, allocations: 105.6 kB / 0.5733 GB, free: 6.039 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.5693, allocations: 4 kB / 0.5733 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.5694, allocations: 4 kB / 0.5733 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.5694, allocations: 192 / 0.5733 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.5695, allocations: 19.92 kB / 0.5733 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.5696, allocations: 3.938 kB / 0.5733 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.413e-05/0.5697, allocations: 8 kB / 0.5733 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.5697, allocations: 4 kB / 0.5734 GB, free: 5.996 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked 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 0.0001955/0.5699, allocations: 130.6 kB / 0.5735 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.5699, allocations: 15.81 kB / 0.5735 GB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004068/0.5704, allocations: 123 kB / 0.5736 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.5704, allocations: 0 / 0.5736 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.5704, allocations: 0 / 0.5736 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.5704, allocations: 0 / 0.5736 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008613/0.5713, allocations: 419.2 kB / 0.574 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5713, allocations: 4.031 kB / 0.574 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.311e-05/0.5714, allocations: 12 kB / 0.574 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.5714, allocations: 0 / 0.574 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.5714, allocations: 4 kB / 0.574 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.5714, allocations: 0 / 0.574 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/0.5714, allocations: 3.938 kB / 0.574 GB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.5719, allocations: 216.1 kB / 0.5742 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.5721, allocations: 97.02 kB / 0.5743 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.5721, allocations: 3.984 kB / 0.5743 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.5722, allocations: 4 kB / 0.5743 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.698e-05/0.5723, allocations: 11.88 kB / 0.5743 GB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.5724, allocations: 11.98 kB / 0.5744 GB, free: 4.852 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002492/0.5726, allocations: 152.9 kB / 0.5745 GB, free: 4.703 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5726, allocations: 0 / 0.5745 GB, free: 4.703 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004581/0.5731, allocations: 31.94 kB / 0.5745 GB, free: 4.672 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001664/0.5748, allocations: 485.1 kB / 0.575 GB, free: 4.293 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.5751, allocations: 67.84 kB / 0.5751 GB, free: 4.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5751, allocations: 0 / 0.5751 GB, free: 4.227 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.5752, allocations: 39.98 kB / 0.5751 GB, free: 4.188 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005251/0.5757, allocations: 23.98 kB / 0.5751 GB, free: 4.164 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007124/0.5765, allocations: 256.4 kB / 0.5754 GB, free: 3.895 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.5769, allocations: 0.7121 MB / 0.5761 GB, free: 3.156 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.159e-05/0.577, allocations: 8.562 kB / 0.5761 GB, free: 3.148 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.092e-05/0.577, allocations: 19.42 kB / 0.5761 GB, free: 3.133 MB / 394.7 MB Notification: Performance of SimCode: time 3.2e-07/0.577, allocations: 0 / 0.5761 GB, free: 3.133 MB / 394.7 MB Notification: Performance of Templates: time 0.006306/0.5833, allocations: 1.715 MB / 0.5778 GB, free: 1.43 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches