Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.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.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00134/0.001345, allocations: 117 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 216.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2289/0.2289, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 75.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3375, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003382/0.3409, allocations: 2.033 MB / 0.5337 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.343, allocations: 1.238 MB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.3432, allocations: 6.156 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.3434, allocations: 48.77 kB / 0.5349 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004845/0.3439, allocations: 209.6 kB / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009547/0.3449, allocations: 443.9 kB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003537/0.3453, allocations: 297 kB / 0.5358 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.3455, allocations: 62.38 kB / 0.5359 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.3457, allocations: 134.1 kB / 0.536 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.346, allocations: 182.6 kB / 0.5362 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.346, allocations: 13.09 kB / 0.5362 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.3462, allocations: 69.25 kB / 0.5363 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.3463, allocations: 139.1 kB / 0.5364 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.3465, allocations: 168.8 kB / 0.5366 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004535/0.347, allocations: 387.8 kB / 0.5369 GB, free: 9.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.347, allocations: 1.125 kB / 0.5369 GB, free: 9.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.347, allocations: 0 / 0.5369 GB, free: 9.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.347, allocations: 4 kB / 0.5369 GB, free: 9.711 MB / 398.1 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.0009914/0.348, allocations: 0.7614 MB / 0.5377 GB, free: 9.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.348, allocations: 10.64 kB / 0.5377 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00028/0.3483, allocations: 75.38 kB / 0.5378 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006143/0.349, allocations: 456.8 kB / 0.5382 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.349, allocations: 12.59 kB / 0.5382 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.349, allocations: 18.19 kB / 0.5382 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.3493, allocations: 129 kB / 0.5383 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3493, allocations: 1.062 kB / 0.5383 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3493, allocations: 5.156 kB / 0.5383 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3494, allocations: 2.969 kB / 0.5384 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.3496, allocations: 79.09 kB / 0.5384 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000911/0.3505, allocations: 0.6671 MB / 0.5391 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.3507, allocations: 104.4 kB / 0.5392 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.842e-05/0.3508, allocations: 45.03 kB / 0.5392 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.3509, allocations: 10.2 kB / 0.5392 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.3509, allocations: 39.53 kB / 0.5393 GB, free: 7.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.3509, allocations: 224 / 0.5393 GB, free: 7.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001377/0.3523, allocations: 0.5091 MB / 0.5398 GB, free: 7.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.3523, allocations: 86.48 kB / 0.5398 GB, free: 7.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.3534, allocations: 0.8887 MB / 0.5407 GB, free: 6.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.3534, allocations: 30.8 kB / 0.5407 GB, free: 6.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.3536, allocations: 251.7 kB / 0.541 GB, free: 6.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.363e-05/0.3537, allocations: 54.36 kB / 0.541 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.44e-05/0.3537, allocations: 32.11 kB / 0.5411 GB, free: 6.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3539, allocations: 380.8 kB / 0.5414 GB, free: 6.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.3541, allocations: 51.31 kB / 0.5415 GB, free: 6.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.3543, allocations: 74.47 kB / 0.5416 GB, free: 6.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.3546, allocations: 138 kB / 0.5417 GB, free: 6.113 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.3546, allocations: 1.188 kB / 0.5417 GB, free: 6.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004813/0.3551, allocations: 217.5 kB / 0.5419 GB, free: 5.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3551, allocations: 6.031 kB / 0.5419 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3551, allocations: 3.984 kB / 0.5419 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3552, allocations: 1.188 kB / 0.5419 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.3554, allocations: 40.66 kB / 0.5419 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3554, allocations: 9.156 kB / 0.5419 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.3555, allocations: 14.78 kB / 0.542 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.3556, allocations: 13.27 kB / 0.542 GB, free: 5.957 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002277/0.3558, allocations: 208.4 kB / 0.5422 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.3559, allocations: 52.06 kB / 0.5422 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005756/0.3565, allocations: 271.2 kB / 0.5425 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3565, allocations: 2.219 kB / 0.5425 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3565, allocations: 1.094 kB / 0.5425 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3565, allocations: 0 / 0.5425 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.3577, allocations: 0.7787 MB / 0.5432 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3577, allocations: 1.219 kB / 0.5432 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.3578, allocations: 34.78 kB / 0.5433 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3578, allocations: 1.219 kB / 0.5433 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.3579, allocations: 6.5 kB / 0.5433 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3579, allocations: 5.062 kB / 0.5433 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3579, allocations: 1.094 kB / 0.5433 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005242/0.3584, allocations: 409.8 kB / 0.5437 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.3586, allocations: 132.7 kB / 0.5438 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.3586, allocations: 1.188 kB / 0.5438 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.3588, allocations: 19.17 kB / 0.5438 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.3589, allocations: 10.42 kB / 0.5438 GB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.3589, allocations: 3.844 kB / 0.5438 GB, free: 4.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007915/0.3597, allocations: 0.6629 MB / 0.5445 GB, free: 4.207 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3597, allocations: 0 / 0.5445 GB, free: 4.207 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000379/0.3601, allocations: 55.03 kB / 0.5445 GB, free: 4.184 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009716/0.3611, allocations: 409.1 kB / 0.5449 GB, free: 3.914 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003974/0.3615, allocations: 143.8 kB / 0.5451 GB, free: 3.773 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3615, allocations: 0 / 0.5451 GB, free: 3.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.3617, allocations: 79.89 kB / 0.5451 GB, free: 3.695 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.3623, allocations: 80.75 kB / 0.5452 GB, free: 3.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.3637, allocations: 0.9136 MB / 0.5461 GB, free: 2.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.3641, allocations: 0.8526 MB / 0.547 GB, free: 1.789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.3643, allocations: 47.41 kB / 0.547 GB, free: 1.746 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3643, allocations: 0 / 0.547 GB, free: 1.746 MB / 398.1 MB Notification: Performance of Templates: time 0.008224/0.3725, allocations: 5.608 MB / 0.5525 GB, free: 12.14 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches