Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009405/0.0009406, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.251/1.251, allocations: 221.3 MB / 236 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000922/0.0009219, allocations: 95.59 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1769/0.1769, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.61e-05/2.613e-05, allocations: 4.219 kB / 451.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 61.92 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3792/0.4934, allocations: 89.45 MB / 0.5891 GB, free: 15.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/0.4937, allocations: 75.95 kB / 0.5891 GB, free: 15.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0225/0.5162, allocations: 9.299 MB / 0.5982 GB, free: 6.496 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5162, allocations: 4 kB / 0.5982 GB, free: 6.492 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.029e-05/0.5163, allocations: 12 kB / 0.5982 GB, free: 6.48 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007517/0.517, allocations: 0.6415 MB / 0.5988 GB, free: 5.793 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.5171, allocations: 8.031 kB / 0.5989 GB, free: 5.785 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.303e-05/0.5172, allocations: 55.25 kB / 0.5989 GB, free: 5.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006597/0.5178, allocations: 475 kB / 0.5994 GB, free: 5.223 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.5179, allocations: 8 kB / 0.5994 GB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.5179, allocations: 12 kB / 0.5994 GB, free: 5.203 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.5181, allocations: 134.4 kB / 0.5995 GB, free: 5.062 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.5181, allocations: 3.938 kB / 0.5995 GB, free: 5.059 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.5182, allocations: 4 kB / 0.5995 GB, free: 5.055 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.5182, allocations: 4 kB / 0.5995 GB, free: 5.051 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.5183, allocations: 63.98 kB / 0.5996 GB, free: 4.988 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009648/0.5193, allocations: 0.7268 MB / 0.6003 GB, free: 4.207 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.5195, allocations: 113.2 kB / 0.6004 GB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.806e-05/0.5195, allocations: 45.8 kB / 0.6004 GB, free: 4.027 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.5196, allocations: 0 / 0.6004 GB, free: 4.027 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.5196, allocations: 34.56 kB / 0.6005 GB, free: 3.984 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 9.81e-07/0.5196, allocations: 0 / 0.6005 GB, free: 3.984 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001269/0.5209, allocations: 0.545 MB / 0.601 GB, free: 3.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.5209, allocations: 77.11 kB / 0.6011 GB, free: 3.336 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009154/0.5219, allocations: 0.7898 MB / 0.6019 GB, free: 2.539 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.5219, allocations: 33.7 kB / 0.6019 GB, free: 2.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.5221, allocations: 248.4 kB / 0.6021 GB, free: 2.254 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/0.5221, allocations: 67 kB / 0.6022 GB, free: 2.188 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/0.5222, allocations: 4.219 kB / 0.6022 GB, free: 2.184 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.5223, allocations: 370.7 kB / 0.6025 GB, free: 1.812 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.5224, allocations: 63.92 kB / 0.6026 GB, free: 1.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.5226, allocations: 79.59 kB / 0.6027 GB, free: 1.668 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.5227, allocations: 64.05 kB / 0.6027 GB, free: 1.605 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5227, allocations: 0 / 0.6027 GB, free: 1.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003539/0.5231, allocations: 232.9 kB / 0.603 GB, free: 1.371 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.5231, allocations: 4 kB / 0.603 GB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5231, allocations: 4 kB / 0.603 GB, free: 1.363 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.5231, allocations: 0 / 0.603 GB, free: 1.363 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.5234, allocations: 63.89 kB / 0.603 GB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.5234, allocations: 7.984 kB / 0.603 GB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.5236, allocations: 31.92 kB / 0.6031 GB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.5237, allocations: 8 kB / 0.6031 GB, free: 1.254 MB / 410.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 () * 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 8.464e-05/0.5238, allocations: 112.9 kB / 0.6032 GB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.5239, allocations: 71.22 kB / 0.6033 GB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004935/0.5244, allocations: 274.4 kB / 0.6035 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.5244, allocations: 0 / 0.6035 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5244, allocations: 0 / 0.6035 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5244, allocations: 4 kB / 0.6035 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.5256, allocations: 0.8994 MB / 0.6044 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5256, allocations: 0 / 0.6044 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.5259, allocations: 63.94 kB / 0.6045 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5259, allocations: 0 / 0.6045 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.5259, allocations: 8 kB / 0.6045 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.5259, allocations: 3.953 kB / 0.6045 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5259, allocations: 7.938 kB / 0.6045 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005077/0.5265, allocations: 419.7 kB / 0.6049 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.5267, allocations: 180.4 kB / 0.605 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.5267, allocations: 4 kB / 0.6051 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.527, allocations: 35.97 kB / 0.6051 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.914e-05/0.5271, allocations: 23.92 kB / 0.6051 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.5271, allocations: 4 kB / 0.6051 GB, free: 15.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006963/0.5278, allocations: 0.6186 MB / 0.6057 GB, free: 14.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5278, allocations: 3.938 kB / 0.6057 GB, free: 14.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003717/0.5282, allocations: 79.94 kB / 0.6058 GB, free: 14.35 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 () * 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.0008783/0.5291, allocations: 377 kB / 0.6062 GB, free: 14.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.5294, allocations: 162.1 kB / 0.6063 GB, free: 13.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5294, allocations: 0 / 0.6063 GB, free: 13.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.5295, allocations: 87.92 kB / 0.6064 GB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.53, allocations: 75.06 kB / 0.6065 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.5311, allocations: 0.7329 MB / 0.6072 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.5315, allocations: 0.8813 MB / 0.608 GB, free: 12.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002126/0.5318, allocations: 94.84 kB / 0.6081 GB, free: 12.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.5319, allocations: 43.42 kB / 0.6082 GB, free: 11.97 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5319, allocations: 0 / 0.6082 GB, free: 11.97 MB / 426.7 MB Notification: Performance of Templates: time 0.008578/0.5405, allocations: 4.589 MB / 0.6127 GB, free: 7.391 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches