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.001136/0.001136, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 221.5 MB / 230.7 MB, free: 7.559 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.0009001/0.0009001, allocations: 94.05 kB / 281.6 MB, free: 5.312 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.2422/0.2422, allocations: 44.14 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.138e-05/2.144e-05, allocations: 4.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1562, allocations: 61.92 MB / 0.4947 GB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4338/0.59, allocations: 88.79 MB / 0.5814 GB, free: 7.711 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.5903, allocations: 71.97 kB / 0.5815 GB, free: 7.641 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02352/0.6138, allocations: 9.219 MB / 0.5905 GB, free: 14.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.6139, allocations: 0 / 0.5905 GB, free: 14.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.737e-05/0.6139, allocations: 12 kB / 0.5905 GB, free: 14.39 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.0008786/0.6148, allocations: 0.6492 MB / 0.5911 GB, free: 13.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.6149, allocations: 12.03 kB / 0.5911 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.615, allocations: 55.25 kB / 0.5912 GB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.6157, allocations: 475 kB / 0.5916 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.6157, allocations: 4 kB / 0.5916 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.6158, allocations: 4 kB / 0.5916 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001614/0.6159, allocations: 63.98 kB / 0.5917 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.6161, allocations: 116.6 kB / 0.5918 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.6162, allocations: 3.938 kB / 0.5918 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.6162, allocations: 0 / 0.5918 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.6162, allocations: 4 kB / 0.5918 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.6172, allocations: 0.6922 MB / 0.5925 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.6174, allocations: 101.2 kB / 0.5926 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.703e-05/0.6175, allocations: 45.84 kB / 0.5926 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.6175, allocations: 3.984 kB / 0.5926 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.6176, allocations: 46.45 kB / 0.5927 GB, free: 11.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.6176, allocations: 0 / 0.5927 GB, free: 11.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001327/0.6189, allocations: 0.5175 MB / 0.5932 GB, free: 11.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.619, allocations: 81.11 kB / 0.5933 GB, free: 11.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008714/0.6198, allocations: 0.7482 MB / 0.594 GB, free: 10.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.6199, allocations: 29.69 kB / 0.594 GB, free: 10.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.6201, allocations: 256.4 kB / 0.5943 GB, free: 10.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.789e-05/0.6201, allocations: 63.02 kB / 0.5943 GB, free: 10.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/0.6202, allocations: 0 / 0.5943 GB, free: 10.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.6203, allocations: 374.8 kB / 0.5947 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.563e-05/0.6204, allocations: 55.95 kB / 0.5947 GB, free: 9.797 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.6206, allocations: 72.11 kB / 0.5948 GB, free: 9.723 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.6207, allocations: 59.91 kB / 0.5949 GB, free: 9.664 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.6207, allocations: 0 / 0.5949 GB, free: 9.664 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000322/0.621, allocations: 225.2 kB / 0.5951 GB, free: 9.438 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.621, allocations: 4.094 kB / 0.5951 GB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.621, allocations: 3.938 kB / 0.5951 GB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.6211, allocations: 4 kB / 0.5951 GB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.6214, allocations: 64.09 kB / 0.5951 GB, free: 9.363 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.6214, allocations: 0 / 0.5951 GB, free: 9.363 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.6216, allocations: 35.92 kB / 0.5952 GB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.6216, allocations: 7.984 kB / 0.5952 GB, free: 9.32 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.289e-05/0.6217, allocations: 104.9 kB / 0.5953 GB, free: 9.211 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.6218, allocations: 59.25 kB / 0.5953 GB, free: 9.152 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004875/0.6223, allocations: 270.2 kB / 0.5956 GB, free: 8.883 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.6223, allocations: 7.984 kB / 0.5956 GB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6223, allocations: 0 / 0.5956 GB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.6224, allocations: 0 / 0.5956 GB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.6235, allocations: 0.8454 MB / 0.5964 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.6235, allocations: 4 kB / 0.5964 GB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.6237, allocations: 63.89 kB / 0.5965 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.6238, allocations: 0 / 0.5965 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.6238, allocations: 7.984 kB / 0.5965 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.6238, allocations: 0 / 0.5965 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6238, allocations: 384 / 0.5965 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004158/0.6242, allocations: 427.5 kB / 0.5969 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/0.6244, allocations: 172.4 kB / 0.5971 GB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.477e-05/0.6245, allocations: 7.984 kB / 0.5971 GB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.6248, allocations: 23.98 kB / 0.5971 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.6248, allocations: 24.34 kB / 0.5971 GB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.6249, allocations: 7.984 kB / 0.5971 GB, free: 7.219 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006708/0.6255, allocations: 0.5887 MB / 0.5977 GB, free: 6.633 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6255, allocations: 0 / 0.5977 GB, free: 6.633 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003975/0.6259, allocations: 83.88 kB / 0.5978 GB, free: 6.551 MB / 410.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.0009028/0.6269, allocations: 335.7 kB / 0.5981 GB, free: 6.293 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000289/0.6272, allocations: 151.8 kB / 0.5983 GB, free: 6.145 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6272, allocations: 4 kB / 0.5983 GB, free: 6.141 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.6273, allocations: 83.92 kB / 0.5983 GB, free: 6.059 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.6278, allocations: 67.19 kB / 0.5984 GB, free: 5.988 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.6289, allocations: 0.7275 MB / 0.5991 GB, free: 5.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.6293, allocations: 0.8696 MB / 0.6 GB, free: 4.336 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002188/0.6296, allocations: 95.22 kB / 0.6001 GB, free: 4.242 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.6297, allocations: 51.34 kB / 0.6001 GB, free: 4.191 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.6297, allocations: 0 / 0.6001 GB, free: 4.191 MB / 410.7 MB Notification: Performance of Templates: time 0.007884/0.6376, allocations: 4.028 MB / 0.604 GB, free: 188 kB / 410.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