Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22") translateModel(ModelicaTest.Tables.CombiTable2D.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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 110.7 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 196 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2497/0.2497, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001784, allocations: 68.95 kB / 384.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1389, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.003698/0.1426, allocations: 1.938 MB / 443.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.1443, allocations: 0.9755 MB / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.1444, allocations: 0 / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.1448, allocations: 39.66 kB / 444.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.1451, allocations: 155.3 kB / 445.1 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007356/0.1459, allocations: 386.1 kB / 445.5 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.1461, allocations: 251.3 kB / 445.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.1463, allocations: 64.28 kB / 445.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.1465, allocations: 131.4 kB / 445.9 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.1467, allocations: 167.4 kB / 446.1 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.1467, allocations: 12 kB / 446.1 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1469, allocations: 47.97 kB / 446.1 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.147, allocations: 131.6 kB / 446.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.1471, allocations: 158.7 kB / 446.4 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.1474, allocations: 346.6 kB / 446.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1474, allocations: 0 / 446.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1474, allocations: 4 kB / 446.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.1475, allocations: 0 / 446.7 MB, free: 1.367 MB / 318.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.0008229/0.1483, allocations: 0.7347 MB / 447.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1483, allocations: 15.88 kB / 447.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.42e-05/0.1484, allocations: 48.38 kB / 447.5 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/0.1489, allocations: 431.9 kB / 448 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.1489, allocations: 8.375 kB / 448 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.1489, allocations: 20.11 kB / 448 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.1492, allocations: 125.4 kB / 448.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1493, allocations: 3.938 kB / 448.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.1493, allocations: 8 kB / 448.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.1493, allocations: 0 / 448.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.1495, allocations: 71.95 kB / 448.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009286/0.1504, allocations: 0.6642 MB / 448.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.1506, allocations: 105.2 kB / 449 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.174e-05/0.1507, allocations: 49.75 kB / 449 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.221e-05/0.1508, allocations: 8 kB / 449 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1508, allocations: 34.5 kB / 449 MB, free: 14.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 3.136e-06/0.1508, allocations: 0 / 449 MB, free: 14.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001367/0.1522, allocations: 0.4989 MB / 449.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.1523, allocations: 81.05 kB / 449.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008946/0.1532, allocations: 0.8466 MB / 450.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.1532, allocations: 25.7 kB / 450.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.1534, allocations: 236.3 kB / 450.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.1534, allocations: 59.19 kB / 450.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.1535, allocations: 33.7 kB / 450.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.1537, allocations: 370.7 kB / 451.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.1539, allocations: 59.95 kB / 451.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.154, allocations: 69.67 kB / 451.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.1543, allocations: 137.8 kB / 451.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1543, allocations: 4 kB / 451.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004148/0.1548, allocations: 216.9 kB / 451.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1548, allocations: 8 kB / 451.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1548, allocations: 4.062 kB / 451.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.1548, allocations: 0 / 451.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.1551, allocations: 39.91 kB / 451.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1551, allocations: 4 kB / 451.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.1552, allocations: 15.92 kB / 451.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.1552, allocations: 8 kB / 451.7 MB, free: 12.1 MB / 334.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.0002029/0.1554, allocations: 209.7 kB / 451.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.956e-05/0.1555, allocations: 51.34 kB / 452 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005486/0.1561, allocations: 266.1 kB / 452.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1561, allocations: 7.984 kB / 452.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1561, allocations: 0 / 452.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1561, allocations: 3.984 kB / 452.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.1572, allocations: 0.7552 MB / 453 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1572, allocations: 4 kB / 453 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.1574, allocations: 35.97 kB / 453.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1574, allocations: 0 / 453.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1574, allocations: 8 kB / 453.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1574, allocations: 3.938 kB / 453.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1574, allocations: 4 kB / 453.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005108/0.1579, allocations: 394 kB / 453.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.1581, allocations: 140.4 kB / 453.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.1582, allocations: 0 / 453.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.1584, allocations: 23.92 kB / 453.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/0.1585, allocations: 7.984 kB / 453.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.872e-05/0.1585, allocations: 15.92 kB / 453.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007428/0.1592, allocations: 0.6159 MB / 454.3 MB, free: 9.469 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1593, allocations: 4 kB / 454.3 MB, free: 9.465 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003803/0.1596, allocations: 48 kB / 454.3 MB, free: 9.418 MB / 334.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.001178/0.1608, allocations: 407.1 kB / 454.7 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004311/0.1613, allocations: 139.8 kB / 454.8 MB, free: 8.957 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1613, allocations: 4 kB / 454.8 MB, free: 8.953 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.1615, allocations: 79.89 kB / 454.9 MB, free: 8.875 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006519/0.1621, allocations: 78.44 kB / 455 MB, free: 8.801 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.1635, allocations: 0.8528 MB / 455.9 MB, free: 7.914 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.164, allocations: 0.8612 MB / 456.7 MB, free: 7.027 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001538/0.1641, allocations: 74.91 kB / 456.8 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.991e-05/0.1642, allocations: 39.44 kB / 456.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1642, allocations: 0 / 456.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of Templates: time 0.008366/0.1726, allocations: 3.915 MB / 460.7 MB, free: 3.008 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches