Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 184.2 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000796/0.0007961, allocations: 100.6 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3304/0.3304, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003266, allocations: 8 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3249, allocations: 61.9 MB / 0.5096 GB, free: 38.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1124/0.4373, allocations: 89.01 MB / 0.5965 GB, free: 6.129 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.4376, allocations: 79.94 kB / 0.5966 GB, free: 6.055 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01154/0.4492, allocations: 4.657 MB / 0.6011 GB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.4492, allocations: 0 / 0.6011 GB, free: 1.395 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.4492, allocations: 3.938 kB / 0.6011 GB, free: 1.391 MB / 410.7 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.0004213/0.4496, allocations: 422.8 kB / 0.6015 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.4497, allocations: 12.56 kB / 0.6015 GB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.4497, allocations: 7.906 kB / 0.6015 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.45, allocations: 202.9 kB / 0.6017 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.45, allocations: 11.95 kB / 0.6017 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.45, allocations: 0 / 0.6017 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.4502, allocations: 69.61 kB / 0.6018 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4502, allocations: 0 / 0.6018 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.4502, allocations: 4 kB / 0.6018 GB, free: 0.582 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.4503, allocations: 8 kB / 0.6018 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.4504, allocations: 47.95 kB / 0.6019 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.4508, allocations: 336.6 kB / 0.6022 GB, free: 152 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.4511, allocations: 62.55 kB / 0.6022 GB, free: 80 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.4511, allocations: 0 / 0.6022 GB, free: 80 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.4511, allocations: 34.69 kB / 0.6023 GB, free: 36 kB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.4511, allocations: 4 kB / 0.6023 GB, free: 32 kB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001493/0.4526, allocations: 0.4891 MB / 0.6028 GB, free: 15.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.4527, allocations: 60.64 kB / 0.6028 GB, free: 15.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.4528, allocations: 179.3 kB / 0.603 GB, free: 15.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.4529, allocations: 29.64 kB / 0.603 GB, free: 15.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.4529, allocations: 104.1 kB / 0.6031 GB, free: 15.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.453, allocations: 39.45 kB / 0.6031 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-06/0.453, allocations: 0 / 0.6031 GB, free: 15.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4531, allocations: 322.8 kB / 0.6035 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.4532, allocations: 63.95 kB / 0.6035 GB, free: 14.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.4534, allocations: 68 kB / 0.6036 GB, free: 14.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.4535, allocations: 63.97 kB / 0.6036 GB, free: 14.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4535, allocations: 0 / 0.6036 GB, free: 14.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003378/0.4539, allocations: 193.3 kB / 0.6038 GB, free: 14.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.4539, allocations: 4 kB / 0.6038 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4539, allocations: 0 / 0.6038 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.4539, allocations: 0 / 0.6038 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.454, allocations: 27.98 kB / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.454, allocations: 0 / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.219e-05/0.4541, allocations: 27.94 kB / 0.6039 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.4541, allocations: 4 kB / 0.6039 GB, free: 14.33 MB / 426.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 (11): * Single equations (assignments): 11 * 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 9.864e-05/0.4542, allocations: 125.8 kB / 0.604 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.4543, allocations: 11.91 kB / 0.604 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004031/0.4547, allocations: 198.2 kB / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4547, allocations: 0 / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4547, allocations: 0 / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4547, allocations: 7.984 kB / 0.6042 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006989/0.4554, allocations: 0.5311 MB / 0.6047 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4554, allocations: 0 / 0.6047 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.4555, allocations: 31.97 kB / 0.6048 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4556, allocations: 0.5625 kB / 0.6048 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.4556, allocations: 7.953 kB / 0.6048 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4556, allocations: 0 / 0.6048 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4556, allocations: 0 / 0.6048 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.456, allocations: 320.5 kB / 0.6051 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.456, allocations: 92.91 kB / 0.6052 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.4561, allocations: 8 kB / 0.6052 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/0.4562, allocations: 8 kB / 0.6052 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.4562, allocations: 12.08 kB / 0.6052 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.4563, allocations: 11.92 kB / 0.6052 GB, free: 12.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.4564, allocations: 141 kB / 0.6053 GB, free: 12.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.475e-06/0.4564, allocations: 0 / 0.6053 GB, free: 12.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.4566, allocations: 43.86 kB / 0.6054 GB, free: 12.67 MB / 426.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0009669/0.4576, allocations: 463.2 kB / 0.6058 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.4579, allocations: 143.9 kB / 0.606 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4579, allocations: 0 / 0.606 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.4581, allocations: 75.89 kB / 0.606 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.4583, allocations: 22.5 kB / 0.6061 GB, free: 12.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/0.4589, allocations: 326.5 kB / 0.6064 GB, free: 11.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.4592, allocations: 0.72 MB / 0.6071 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.4593, allocations: 36.5 kB / 0.6071 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.4593, allocations: 11.44 kB / 0.6071 GB, free: 11.02 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4593, allocations: 0 / 0.6071 GB, free: 11.02 MB / 426.7 MB Notification: Performance of Templates: time 0.004242/0.4636, allocations: 1.575 MB / 0.6087 GB, free: 9.453 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches