Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 197.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 226.5 MB / 245.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008285/0.0008284, allocations: 99.09 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.372/0.372, allocations: 44.83 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003834, allocations: 8.219 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.362, allocations: 62.95 MB / 0.5184 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.4968, allocations: 90.86 MB / 0.6071 GB, free: 14.45 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/0.4972, allocations: 83.94 kB / 0.6072 GB, free: 14.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03127/0.5285, allocations: 10.48 MB / 0.6175 GB, free: 3.855 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.877e-06/0.5285, allocations: 4 kB / 0.6175 GB, free: 3.852 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.494e-05/0.5286, allocations: 8 kB / 0.6175 GB, free: 3.844 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.001545/0.5302, allocations: 0.806 MB / 0.6183 GB, free: 2.984 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5302, allocations: 12.03 kB / 0.6183 GB, free: 2.973 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005069/0.5307, allocations: 112.1 kB / 0.6184 GB, free: 2.863 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008745/0.5316, allocations: 0.5198 MB / 0.6189 GB, free: 2.305 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.5317, allocations: 8.375 kB / 0.6189 GB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.5317, allocations: 12.38 kB / 0.6189 GB, free: 2.285 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.532, allocations: 160.6 kB / 0.6191 GB, free: 2.117 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.5321, allocations: 4.094 kB / 0.6191 GB, free: 2.113 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.5321, allocations: 3.938 kB / 0.6191 GB, free: 2.109 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.5321, allocations: 4 kB / 0.6191 GB, free: 2.105 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.5324, allocations: 119.8 kB / 0.6192 GB, free: 1.988 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.5337, allocations: 0.739 MB / 0.6199 GB, free: 1.195 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.534, allocations: 129.2 kB / 0.62 GB, free: 1.051 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.5341, allocations: 69.8 kB / 0.6201 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.5342, allocations: 11.94 kB / 0.6201 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.5342, allocations: 38.5 kB / 0.6201 GB, free: 0.918 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.422e-06/0.5342, allocations: 0 / 0.6201 GB, free: 0.918 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.001977/0.5362, allocations: 0.7631 MB / 0.6209 GB, free: 148 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.5362, allocations: 89.05 kB / 0.621 GB, free: 40 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.5374, allocations: 0.8947 MB / 0.6218 GB, free: 15.13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.5374, allocations: 25.7 kB / 0.6219 GB, free: 15.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.5376, allocations: 276.2 kB / 0.6221 GB, free: 14.83 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.711e-05/0.5377, allocations: 67 kB / 0.6222 GB, free: 14.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/0.5377, allocations: 0 / 0.6222 GB, free: 14.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.5378, allocations: 374.8 kB / 0.6226 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.5381, allocations: 107.9 kB / 0.6227 GB, free: 14.28 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.5384, allocations: 127.5 kB / 0.6228 GB, free: 14.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/0.5389, allocations: 245.5 kB / 0.623 GB, free: 13.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5389, allocations: 192 / 0.623 GB, free: 13.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007356/0.5397, allocations: 340.6 kB / 0.6233 GB, free: 13.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.5397, allocations: 10.66 kB / 0.6233 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5397, allocations: 0 / 0.6233 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5398, allocations: 7.938 kB / 0.6234 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.5401, allocations: 59.94 kB / 0.6234 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.5401, allocations: 224 / 0.6234 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.5403, allocations: 35.98 kB / 0.6234 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.5403, allocations: 11.92 kB / 0.6235 GB, free: 13.45 MB / 442.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 (20): * Single equations (assignments): 20 * 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.000299/0.5407, allocations: 213.7 kB / 0.6237 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.5408, allocations: 63.19 kB / 0.6237 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008486/0.5417, allocations: 395 kB / 0.6241 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.5417, allocations: 4 kB / 0.6241 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5417, allocations: 0 / 0.6241 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.5417, allocations: 0 / 0.6241 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.5433, allocations: 1.013 MB / 0.6251 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5433, allocations: 0 / 0.6251 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.5435, allocations: 67.89 kB / 0.6252 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.5435, allocations: 4 kB / 0.6252 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.5436, allocations: 7.984 kB / 0.6252 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.5436, allocations: 4 kB / 0.6252 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5436, allocations: 0 / 0.6252 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007618/0.5443, allocations: 0.5018 MB / 0.6257 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.5446, allocations: 188.3 kB / 0.6258 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.5446, allocations: 8 kB / 0.6259 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.5449, allocations: 27.98 kB / 0.6259 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.293e-05/0.545, allocations: 23.91 kB / 0.6259 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.545, allocations: 11.92 kB / 0.6259 GB, free: 10.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008132/0.5458, allocations: 0.6552 MB / 0.6266 GB, free: 10.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5458, allocations: 0 / 0.6266 GB, free: 10.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004188/0.5463, allocations: 87.94 kB / 0.6266 GB, free: 10.08 MB / 442.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 (20): * Single equations (assignments): 20 * 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.0009879/0.5473, allocations: 412.2 kB / 0.627 GB, free: 9.816 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006853/0.5479, allocations: 255.7 kB / 0.6273 GB, free: 9.566 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.548, allocations: 0 / 0.6273 GB, free: 9.566 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.5483, allocations: 144.4 kB / 0.6274 GB, free: 9.426 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006411/0.5489, allocations: 70.94 kB / 0.6275 GB, free: 9.355 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.5509, allocations: 1.07 MB / 0.6285 GB, free: 8.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005801/0.5515, allocations: 0.8695 MB / 0.6294 GB, free: 7.355 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002648/0.5518, allocations: 95.16 kB / 0.6295 GB, free: 7.262 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.552, allocations: 47.42 kB / 0.6295 GB, free: 7.215 MB / 442.7 MB Notification: Performance of SimCode: time 4.31e-07/0.552, allocations: 4 kB / 0.6295 GB, free: 7.211 MB / 442.7 MB Notification: Performance of Templates: time 0.00927/0.5613, allocations: 4.679 MB / 0.6341 GB, free: 2.547 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches