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.001007/0.001007, allocations: 106.8 kB / 16.41 MB, free: 6.461 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.001046/0.001047, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.515/1.515, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2317/0.2317, allocations: 43.53 MB / 314.1 MB, free: 440 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.001353/0.001353, allocations: 73.45 kB / 441.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.119, allocations: 57.8 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.003297/0.1224, allocations: 2.02 MB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1239, allocations: 0.9833 MB / 0.4908 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.854e-05/0.124, allocations: 4 kB / 0.4908 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.1243, allocations: 51.58 kB / 0.4909 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.1247, allocations: 151.3 kB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008241/0.1255, allocations: 403.1 kB / 0.4914 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.1258, allocations: 275.2 kB / 0.4917 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.1261, allocations: 68.55 kB / 0.4917 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.1263, allocations: 131.5 kB / 0.4919 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.1266, allocations: 191.2 kB / 0.492 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.1266, allocations: 20 kB / 0.4921 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.1267, allocations: 35.98 kB / 0.4921 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.1269, allocations: 139.6 kB / 0.4922 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.127, allocations: 166.6 kB / 0.4924 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003824/0.1274, allocations: 374.5 kB / 0.4928 GB, free: 6.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1274, allocations: 0 / 0.4928 GB, free: 6.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1275, allocations: 0 / 0.4928 GB, free: 6.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1275, allocations: 0 / 0.4928 GB, free: 6.75 MB / 382.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.0009569/0.1284, allocations: 0.7541 MB / 0.4935 GB, free: 5.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1285, allocations: 23.83 kB / 0.4935 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.135e-05/0.1286, allocations: 52.28 kB / 0.4936 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.1291, allocations: 435.9 kB / 0.494 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1291, allocations: 8.375 kB / 0.494 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.1291, allocations: 12.12 kB / 0.494 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.1295, allocations: 147.1 kB / 0.4941 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.1296, allocations: 7.891 kB / 0.4941 GB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1296, allocations: 15.98 kB / 0.4942 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1296, allocations: 0 / 0.4942 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000277/0.1299, allocations: 99.92 kB / 0.4943 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000885/0.1308, allocations: 0.6605 MB / 0.4949 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.1311, allocations: 125.2 kB / 0.495 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.1312, allocations: 61.81 kB / 0.4951 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.1312, allocations: 7.938 kB / 0.4951 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.1313, allocations: 38.56 kB / 0.4951 GB, free: 4.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.1313, allocations: 0 / 0.4951 GB, free: 4.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001973/0.1333, allocations: 0.6619 MB / 0.4958 GB, free: 3.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.1333, allocations: 81.11 kB / 0.4958 GB, free: 3.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008404/0.1342, allocations: 0.8465 MB / 0.4967 GB, free: 2.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.1342, allocations: 33.7 kB / 0.4967 GB, free: 2.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.1344, allocations: 248.4 kB / 0.4969 GB, free: 2.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.776e-05/0.1344, allocations: 63.02 kB / 0.497 GB, free: 2.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.1345, allocations: 41.69 kB / 0.497 GB, free: 2.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1347, allocations: 370.9 kB / 0.4974 GB, free: 1.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.135, allocations: 87.92 kB / 0.4975 GB, free: 1.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.1352, allocations: 117.5 kB / 0.4976 GB, free: 1.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005005/0.1357, allocations: 209.5 kB / 0.4978 GB, free: 1.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1358, allocations: 4.188 kB / 0.4978 GB, free: 1.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006342/0.1364, allocations: 288.8 kB / 0.4981 GB, free: 1.023 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1364, allocations: 8 kB / 0.4981 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1364, allocations: 0 / 0.4981 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1365, allocations: 0 / 0.4981 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.1368, allocations: 67.88 kB / 0.4981 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1368, allocations: 3.984 kB / 0.4981 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.137, allocations: 19.92 kB / 0.4982 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.137, allocations: 15.98 kB / 0.4982 GB, free: 0.9102 MB / 382.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.0002043/0.1372, allocations: 209.7 kB / 0.4984 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.1373, allocations: 51.34 kB / 0.4984 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007513/0.1381, allocations: 350.4 kB / 0.4988 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1381, allocations: 0 / 0.4988 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.1381, allocations: 8 kB / 0.4988 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1381, allocations: 0 / 0.4988 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.1394, allocations: 0.8687 MB / 0.4996 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1394, allocations: 3.984 kB / 0.4996 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.1397, allocations: 55.95 kB / 0.4997 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1397, allocations: 4 kB / 0.4997 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1397, allocations: 4 kB / 0.4997 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1397, allocations: 3.938 kB / 0.4997 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1397, allocations: 0 / 0.4997 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007034/0.1404, allocations: 477.9 kB / 0.5001 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.1405, allocations: 136.4 kB / 0.5003 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.1406, allocations: 7.984 kB / 0.5003 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.1408, allocations: 23.92 kB / 0.5003 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.1409, allocations: 23.95 kB / 0.5003 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.1409, allocations: 4 kB / 0.5003 GB, free: 14.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006946/0.1416, allocations: 0.6237 MB / 0.5009 GB, free: 13.97 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.374e-06/0.1417, allocations: 0 / 0.5009 GB, free: 13.97 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003494/0.142, allocations: 59.94 kB / 0.501 GB, free: 13.91 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 (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.000968/0.143, allocations: 414.6 kB / 0.5014 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006212/0.1436, allocations: 223.8 kB / 0.5016 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1436, allocations: 4 kB / 0.5016 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000295/0.1439, allocations: 119.8 kB / 0.5017 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006227/0.1446, allocations: 74.14 kB / 0.5018 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.1459, allocations: 0.9117 MB / 0.5027 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.1464, allocations: 0.8614 MB / 0.5035 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.1465, allocations: 78.91 kB / 0.5036 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.1467, allocations: 35.42 kB / 0.5036 GB, free: 11.18 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1467, allocations: 0 / 0.5036 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Templates: time 0.008337/0.155, allocations: 4.306 MB / 0.5078 GB, free: 6.879 MB / 398.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