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.001284/0.001284, allocations: 177 kB / 17.06 MB, free: 5.094 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: 11.89 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.0009117/0.0009117, allocations: 92.52 kB / 292.2 MB, free: 10.93 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.359/0.359, allocations: 44.23 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.0004677, allocations: 11.98 kB / 459.9 MB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3082, allocations: 61.9 MB / 0.5096 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.421, allocations: 89.53 MB / 0.597 GB, free: 5.621 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.4213, allocations: 79.94 kB / 0.5971 GB, free: 5.547 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02389/0.4452, allocations: 9.303 MB / 0.6062 GB, free: 12.22 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4453, allocations: 0 / 0.6062 GB, free: 12.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.921e-05/0.4453, allocations: 12 kB / 0.6062 GB, free: 12.21 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.001043/0.4464, allocations: 0.7788 MB / 0.6069 GB, free: 11.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.4464, allocations: 12.03 kB / 0.6069 GB, free: 11.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.578e-05/0.4465, allocations: 51.34 kB / 0.607 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007302/0.4472, allocations: 474.9 kB / 0.6074 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.4473, allocations: 4 kB / 0.6074 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.4473, allocations: 15.84 kB / 0.6075 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.4476, allocations: 157.4 kB / 0.6076 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4476, allocations: 0 / 0.6076 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.4477, allocations: 8 kB / 0.6076 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4477, allocations: 0 / 0.6076 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.448, allocations: 115.9 kB / 0.6077 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.4491, allocations: 0.7385 MB / 0.6084 GB, free: 9.711 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.4494, allocations: 133.2 kB / 0.6086 GB, free: 9.562 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.4494, allocations: 3.953 kB / 0.6086 GB, free: 9.559 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.4494, allocations: 38.5 kB / 0.6086 GB, free: 9.512 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.4494, allocations: 0 / 0.6086 GB, free: 9.512 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.001924/0.4514, allocations: 0.744 MB / 0.6093 GB, free: 8.758 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.4514, allocations: 81.11 kB / 0.6094 GB, free: 8.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009133/0.4523, allocations: 0.7834 MB / 0.6102 GB, free: 7.867 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.4524, allocations: 33.7 kB / 0.6102 GB, free: 7.828 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.4526, allocations: 252.3 kB / 0.6105 GB, free: 7.578 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.184e-05/0.4526, allocations: 70.95 kB / 0.6105 GB, free: 7.508 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.4527, allocations: 0 / 0.6105 GB, free: 7.508 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.4528, allocations: 386.7 kB / 0.6109 GB, free: 7.121 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.4531, allocations: 103.9 kB / 0.611 GB, free: 7.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.4534, allocations: 125.6 kB / 0.6111 GB, free: 6.891 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.4536, allocations: 112.1 kB / 0.6112 GB, free: 6.781 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.4537, allocations: 4 kB / 0.6112 GB, free: 6.777 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006483/0.4543, allocations: 336.8 kB / 0.6115 GB, free: 6.441 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.4543, allocations: 4 kB / 0.6115 GB, free: 6.438 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.4543, allocations: 0 / 0.6115 GB, free: 6.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4544, allocations: 0 / 0.6115 GB, free: 6.438 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.4547, allocations: 67.95 kB / 0.6116 GB, free: 6.371 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4547, allocations: 0 / 0.6116 GB, free: 6.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.4549, allocations: 31.97 kB / 0.6116 GB, free: 6.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.4549, allocations: 15.94 kB / 0.6117 GB, free: 6.324 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 (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.0002136/0.4551, allocations: 214.2 kB / 0.6119 GB, free: 6.105 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.4553, allocations: 63.22 kB / 0.6119 GB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000792/0.4561, allocations: 378 kB / 0.6123 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.4561, allocations: 8.375 kB / 0.6123 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.4561, allocations: 0 / 0.6123 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4561, allocations: 0 / 0.6123 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.4576, allocations: 0.9971 MB / 0.6133 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4577, allocations: 0 / 0.6133 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.4579, allocations: 63.89 kB / 0.6133 GB, free: 4.543 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.4579, allocations: 4 kB / 0.6133 GB, free: 4.539 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.458, allocations: 3.984 kB / 0.6133 GB, free: 4.535 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.458, allocations: 11.95 kB / 0.6133 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.458, allocations: 0 / 0.6133 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007533/0.4587, allocations: 0.5137 MB / 0.6138 GB, free: 3.988 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.459, allocations: 184.3 kB / 0.614 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.566e-05/0.4591, allocations: 4.75 kB / 0.614 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.4593, allocations: 27.98 kB / 0.6141 GB, free: 3.758 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.252e-05/0.4594, allocations: 23.92 kB / 0.6141 GB, free: 3.734 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.4594, allocations: 15.98 kB / 0.6141 GB, free: 3.719 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00075/0.4602, allocations: 0.6237 MB / 0.6147 GB, free: 3.098 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4602, allocations: 0 / 0.6147 GB, free: 3.098 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004094/0.4606, allocations: 79.94 kB / 0.6148 GB, free: 3.02 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 (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.001008/0.4616, allocations: 421.5 kB / 0.6152 GB, free: 2.758 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006842/0.4623, allocations: 259.8 kB / 0.6154 GB, free: 2.504 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.4623, allocations: 0 / 0.6154 GB, free: 2.504 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003139/0.4627, allocations: 139.9 kB / 0.6156 GB, free: 2.367 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.4631, allocations: 72.03 kB / 0.6156 GB, free: 2.297 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.4648, allocations: 1.024 MB / 0.6166 GB, free: 1.238 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.4652, allocations: 0.8809 MB / 0.6175 GB, free: 344 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002305/0.4655, allocations: 98.84 kB / 0.6176 GB, free: 248 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.4656, allocations: 43.41 kB / 0.6176 GB, free: 204 kB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4656, allocations: 0 / 0.6176 GB, free: 204 kB / 426.7 MB Notification: Performance of Templates: time 0.008664/0.4743, allocations: 4.586 MB / 0.6221 GB, free: 11.64 MB / 442.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