Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001332, allocations: 185.1 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.32/1.32, allocations: 223.2 MB / 241 MB, free: 10.15 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.00117/0.00117, allocations: 106.6 kB / 292.2 MB, free: 10.7 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.3612/0.3612, allocations: 44.21 MB / 387.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002929, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2938, allocations: 61.89 MB / 0.5096 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.4054, allocations: 89.02 MB / 0.5965 GB, free: 6.113 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4057, allocations: 79.92 kB / 0.5966 GB, free: 6.039 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01864/0.4243, allocations: 8.517 MB / 0.6049 GB, free: 13.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.4244, allocations: 0 / 0.6049 GB, free: 13.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.4244, allocations: 4 kB / 0.6049 GB, free: 13.5 MB / 426.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.0007686/0.4252, allocations: 0.6415 MB / 0.6055 GB, free: 12.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.4252, allocations: 8.562 kB / 0.6055 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.398e-05/0.4253, allocations: 43.44 kB / 0.6056 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005454/0.4259, allocations: 343.2 kB / 0.6059 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.4259, allocations: 7.922 kB / 0.6059 GB, free: 12.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.4259, allocations: 4 kB / 0.6059 GB, free: 12.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.4261, allocations: 77.61 kB / 0.606 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4261, allocations: 0 / 0.606 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4262, allocations: 0 / 0.606 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.4262, allocations: 0 / 0.606 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.4264, allocations: 51.95 kB / 0.606 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008017/0.4272, allocations: 476.5 kB / 0.6065 GB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.4274, allocations: 58.55 kB / 0.6065 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.4275, allocations: 8.219 kB / 0.6065 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.4275, allocations: 42.48 kB / 0.6066 GB, free: 11.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.4275, allocations: 0 / 0.6066 GB, free: 11.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001559/0.4291, allocations: 0.5621 MB / 0.6071 GB, free: 11.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.4291, allocations: 56.69 kB / 0.6072 GB, free: 10.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.4304, allocations: 0.7785 MB / 0.6079 GB, free: 10.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.4304, allocations: 29.7 kB / 0.608 GB, free: 10.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.4307, allocations: 212 kB / 0.6082 GB, free: 9.926 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.4307, allocations: 39.45 kB / 0.6082 GB, free: 9.887 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/0.4307, allocations: 4 kB / 0.6082 GB, free: 9.883 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.431, allocations: 362.8 kB / 0.6086 GB, free: 9.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.4312, allocations: 59.95 kB / 0.6086 GB, free: 9.461 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.4314, allocations: 67.89 kB / 0.6087 GB, free: 9.395 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.4317, allocations: 72.23 kB / 0.6088 GB, free: 9.324 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4317, allocations: 3.938 kB / 0.6088 GB, free: 9.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005955/0.4323, allocations: 209 kB / 0.609 GB, free: 9.109 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.4323, allocations: 9.406 kB / 0.609 GB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4323, allocations: 0 / 0.609 GB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.4324, allocations: 0 / 0.609 GB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.4326, allocations: 35.94 kB / 0.609 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.4326, allocations: 0 / 0.609 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.4327, allocations: 19.92 kB / 0.609 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.4328, allocations: 0 / 0.609 GB, free: 9.047 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 0.0003091/0.4331, allocations: 225.7 kB / 0.6092 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.4332, allocations: 43.44 kB / 0.6093 GB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006861/0.4339, allocations: 245.4 kB / 0.6095 GB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.434, allocations: 0 / 0.6095 GB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.434, allocations: 3.953 kB / 0.6095 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.434, allocations: 4 kB / 0.6095 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.4357, allocations: 0.7496 MB / 0.6103 GB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4357, allocations: 0 / 0.6103 GB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.4359, allocations: 31.97 kB / 0.6103 GB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/0.4359, allocations: 7.953 kB / 0.6103 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.4359, allocations: 4.5 kB / 0.6103 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.436, allocations: 0 / 0.6103 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.436, allocations: 8.062 kB / 0.6103 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006508/0.4366, allocations: 344 kB / 0.6106 GB, free: 7.281 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.437, allocations: 160.5 kB / 0.6108 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/0.437, allocations: 8 kB / 0.6108 GB, free: 7.098 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.4373, allocations: 19.98 kB / 0.6108 GB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/0.4374, allocations: 15.92 kB / 0.6108 GB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.4374, allocations: 0 / 0.6108 GB, free: 7.062 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001112/0.4385, allocations: 0.6394 MB / 0.6114 GB, free: 6.426 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4385, allocations: 0 / 0.6114 GB, free: 6.426 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005777/0.4391, allocations: 67.94 kB / 0.6115 GB, free: 6.359 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.001603/0.4407, allocations: 466.2 kB / 0.612 GB, free: 6.082 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005342/0.4413, allocations: 147.8 kB / 0.6121 GB, free: 5.938 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4413, allocations: 0 / 0.6121 GB, free: 5.938 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.4415, allocations: 75.89 kB / 0.6122 GB, free: 5.863 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.442, allocations: 31.77 kB / 0.6122 GB, free: 5.836 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.4441, allocations: 0.9991 MB / 0.6132 GB, free: 4.801 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005805/0.4447, allocations: 0.8457 MB / 0.614 GB, free: 3.926 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001909/0.4449, allocations: 64.75 kB / 0.6141 GB, free: 3.859 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.445, allocations: 23.44 kB / 0.6141 GB, free: 3.836 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4451, allocations: 0 / 0.6141 GB, free: 3.836 MB / 426.7 MB Notification: Performance of Templates: time 0.009993/0.4551, allocations: 2.817 MB / 0.6168 GB, free: 1.016 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches