Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.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.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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") translateModel(ModelicaTest.Tables.CombiTable2D.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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 104.2 kB / 16.27 MB, free: 5.93 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.001303/0.001304, allocations: 190.6 kB / 17.2 MB, free: 5.574 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.793/1.793, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2475/0.2475, allocations: 43.53 MB / 313.9 MB, free: 0.5195 MB / 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.001405/0.001405, allocations: 65.77 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1363, allocations: 57.79 MB / 440.5 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.003106/0.1395, allocations: 2.013 MB / 442.5 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1407, allocations: 0.9911 MB / 443.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.099e-05/0.1408, allocations: 0 / 443.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.1411, allocations: 47.58 kB / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.1414, allocations: 151.3 kB / 443.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007065/0.1421, allocations: 398.3 kB / 444.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.1424, allocations: 283.1 kB / 444.4 MB, free: 3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.1425, allocations: 72.61 kB / 444.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.1427, allocations: 123.5 kB / 444.6 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.1429, allocations: 187.2 kB / 444.8 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.143, allocations: 16 kB / 444.8 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.462e-05/0.1431, allocations: 43.98 kB / 444.8 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.1432, allocations: 139.5 kB / 445 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1433, allocations: 170.6 kB / 445.1 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.1436, allocations: 354.7 kB / 445.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1436, allocations: 0 / 445.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1436, allocations: 0 / 445.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1436, allocations: 4 kB / 445.5 MB, free: 1.91 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.0008307/0.1445, allocations: 0.7579 MB / 446.2 MB, free: 1.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1445, allocations: 11.89 kB / 446.2 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.519e-05/0.1446, allocations: 56.22 kB / 446.3 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.145, allocations: 439.9 kB / 446.7 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.145, allocations: 8.375 kB / 446.7 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.145, allocations: 20.03 kB / 446.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.1453, allocations: 153.2 kB / 446.9 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1453, allocations: 0 / 446.9 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.1453, allocations: 4 kB / 446.9 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.1454, allocations: 4 kB / 446.9 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.1456, allocations: 99.92 kB / 447 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008544/0.1465, allocations: 0.6682 MB / 447.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.1468, allocations: 121.2 kB / 447.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.1469, allocations: 57.81 kB / 447.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.147, allocations: 7.984 kB / 447.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.147, allocations: 38.5 kB / 447.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.147, allocations: 0 / 447.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.001922/0.1489, allocations: 0.6626 MB / 448.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.149, allocations: 81.11 kB / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000898/0.1499, allocations: 0.8426 MB / 449.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.1499, allocations: 29.86 kB / 449.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.1501, allocations: 248.4 kB / 449.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.353e-05/0.1502, allocations: 74.94 kB / 449.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.137e-05/0.1503, allocations: 37.7 kB / 449.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1505, allocations: 378.7 kB / 450.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.1507, allocations: 91.95 kB / 450.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.151, allocations: 114.8 kB / 450.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005/0.1515, allocations: 205.7 kB / 450.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1515, allocations: 0 / 450.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006751/0.1522, allocations: 292.8 kB / 450.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1522, allocations: 7.984 kB / 450.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1522, allocations: 4 kB / 450.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.1522, allocations: 0 / 450.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.1525, allocations: 63.89 kB / 451 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1526, allocations: 0 / 451 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.1527, allocations: 19.97 kB / 451 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.1528, allocations: 4 kB / 451 MB, free: 12.09 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 (20): * Single equations (assignments): 20 * 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.0002253/0.153, allocations: 221.6 kB / 451.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-05/0.1531, allocations: 51.34 kB / 451.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008012/0.1539, allocations: 349.9 kB / 451.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1539, allocations: 4 kB / 451.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1539, allocations: 0 / 451.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-05/0.154, allocations: 7.969 kB / 451.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.1553, allocations: 0.8722 MB / 452.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1553, allocations: 0 / 452.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.1556, allocations: 59.95 kB / 452.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1556, allocations: 0 / 452.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.1556, allocations: 7.984 kB / 452.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.1556, allocations: 11.88 kB / 452.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1556, allocations: 0 / 452.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007435/0.1564, allocations: 473.1 kB / 453.1 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.1565, allocations: 136.4 kB / 453.2 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.1566, allocations: 8 kB / 453.2 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.1568, allocations: 19.92 kB / 453.2 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.1569, allocations: 27.91 kB / 453.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.1569, allocations: 11.98 kB / 453.2 MB, free: 9.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006606/0.1576, allocations: 0.6159 MB / 453.9 MB, free: 9.137 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1576, allocations: 0 / 453.9 MB, free: 9.137 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003755/0.158, allocations: 64 kB / 453.9 MB, free: 9.074 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 (20): * Single equations (assignments): 20 * 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.0009491/0.1589, allocations: 394 kB / 454.3 MB, free: 8.758 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006432/0.1596, allocations: 239.7 kB / 454.5 MB, free: 8.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1596, allocations: 0 / 454.5 MB, free: 8.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.1599, allocations: 115.9 kB / 454.7 MB, free: 8.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007091/0.1606, allocations: 86.53 kB / 454.7 MB, free: 8.328 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.1622, allocations: 0.9202 MB / 455.7 MB, free: 7.371 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.1627, allocations: 0.8652 MB / 456.5 MB, free: 6.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001864/0.1629, allocations: 74.91 kB / 456.6 MB, free: 6.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.163, allocations: 39.42 kB / 456.6 MB, free: 6.371 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.163, allocations: 3.938 kB / 456.6 MB, free: 6.367 MB / 334.1 MB Notification: Performance of Templates: time 0.009108/0.1721, allocations: 4.261 MB / 460.9 MB, free: 2.105 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches