Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 177.9 kB / 17.06 MB, free: 5.098 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.229/1.229, allocations: 223.2 MB / 241 MB, free: 10.14 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.0008802/0.0008802, allocations: 92.58 kB / 292.2 MB, free: 10.71 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.3384/0.3384, allocations: 44.21 MB / 387.5 MB, free: 38.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003541, allocations: 12 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3258, allocations: 61.89 MB / 0.5096 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.4481, allocations: 90.03 MB / 0.5975 GB, free: 5.121 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.4484, allocations: 87.91 kB / 0.5976 GB, free: 5.039 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02293/0.4714, allocations: 9.084 MB / 0.6064 GB, free: 11.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4714, allocations: 0 / 0.6064 GB, free: 11.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.052e-05/0.4714, allocations: 15.94 kB / 0.6064 GB, free: 11.92 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001003/0.4725, allocations: 0.7556 MB / 0.6072 GB, free: 11.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/0.4725, allocations: 8.031 kB / 0.6072 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.153e-05/0.4726, allocations: 55.25 kB / 0.6072 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007308/0.4734, allocations: 482.9 kB / 0.6077 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.4734, allocations: 7.984 kB / 0.6077 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.4734, allocations: 12 kB / 0.6077 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.4737, allocations: 161.3 kB / 0.6079 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4738, allocations: 0 / 0.6079 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.4738, allocations: 8 kB / 0.6079 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.4738, allocations: 0 / 0.6079 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.474, allocations: 99.92 kB / 0.608 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.4751, allocations: 0.7345 MB / 0.6087 GB, free: 9.453 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.4753, allocations: 125.2 kB / 0.6088 GB, free: 9.312 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.4754, allocations: 0 / 0.6088 GB, free: 9.312 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.4754, allocations: 38.5 kB / 0.6089 GB, free: 9.266 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.4754, allocations: 0 / 0.6089 GB, free: 9.266 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.001443/0.4769, allocations: 0.5768 MB / 0.6094 GB, free: 8.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.4769, allocations: 81.11 kB / 0.6095 GB, free: 8.582 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009164/0.4778, allocations: 0.7952 MB / 0.6103 GB, free: 7.777 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.4779, allocations: 29.7 kB / 0.6103 GB, free: 7.742 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.4781, allocations: 256.2 kB / 0.6105 GB, free: 7.484 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.4781, allocations: 51.27 kB / 0.6106 GB, free: 7.434 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.657e-06/0.4781, allocations: 0 / 0.6106 GB, free: 7.434 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4783, allocations: 374.8 kB / 0.611 GB, free: 7.059 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.4784, allocations: 67.95 kB / 0.611 GB, free: 6.992 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.4786, allocations: 97.61 kB / 0.6111 GB, free: 6.891 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.4788, allocations: 88.05 kB / 0.6112 GB, free: 6.805 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4788, allocations: 3.938 kB / 0.6112 GB, free: 6.801 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004878/0.4793, allocations: 256.8 kB / 0.6114 GB, free: 6.543 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4794, allocations: 12 kB / 0.6115 GB, free: 6.531 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4794, allocations: 0 / 0.6115 GB, free: 6.531 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.4794, allocations: 3.984 kB / 0.6115 GB, free: 6.527 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.4796, allocations: 39.97 kB / 0.6115 GB, free: 6.488 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.4796, allocations: 3.938 kB / 0.6115 GB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.4798, allocations: 16 kB / 0.6115 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.4798, allocations: 15.98 kB / 0.6115 GB, free: 6.453 MB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0002086/0.48, allocations: 211.6 kB / 0.6117 GB, free: 6.238 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.802e-05/0.4801, allocations: 51.34 kB / 0.6118 GB, free: 6.188 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006098/0.4807, allocations: 318.3 kB / 0.6121 GB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4807, allocations: 4 kB / 0.6121 GB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4807, allocations: 3.984 kB / 0.6121 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4808, allocations: 0 / 0.6121 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.4821, allocations: 0.8956 MB / 0.613 GB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4821, allocations: 0 / 0.613 GB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.4823, allocations: 47.91 kB / 0.613 GB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.4823, allocations: 0 / 0.613 GB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.4823, allocations: 4 kB / 0.613 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4823, allocations: 0 / 0.613 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4823, allocations: 0 / 0.613 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000548/0.4828, allocations: 453.5 kB / 0.6134 GB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.4831, allocations: 180.4 kB / 0.6136 GB, free: 4.199 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.364e-05/0.4832, allocations: 8 kB / 0.6136 GB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.4834, allocations: 15.98 kB / 0.6136 GB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.4834, allocations: 11.98 kB / 0.6137 GB, free: 4.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.4835, allocations: 11.95 kB / 0.6137 GB, free: 4.152 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006831/0.4842, allocations: 0.6315 MB / 0.6143 GB, free: 3.523 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4842, allocations: 0 / 0.6143 GB, free: 3.523 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003832/0.4846, allocations: 83.92 kB / 0.6144 GB, free: 3.441 MB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0008564/0.4854, allocations: 407.5 kB / 0.6148 GB, free: 3.199 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004207/0.4858, allocations: 183.8 kB / 0.6149 GB, free: 3.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4859, allocations: 0 / 0.6149 GB, free: 3.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.4861, allocations: 92.34 kB / 0.615 GB, free: 2.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.4865, allocations: 76.19 kB / 0.6151 GB, free: 2.855 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.4878, allocations: 1.007 MB / 0.6161 GB, free: 1.812 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.4882, allocations: 0.8733 MB / 0.6169 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002207/0.4885, allocations: 107.1 kB / 0.617 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.4886, allocations: 43.42 kB / 0.6171 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4886, allocations: 0 / 0.6171 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of Templates: time 0.008462/0.4971, allocations: 4.389 MB / 0.6214 GB, free: 12.39 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches