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.001109/0.001109, allocations: 117 kB / 17.08 MB, free: 6.012 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.001261/0.001261, allocations: 195 kB / 18.01 MB, free: 5.094 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.511/1.511, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2113/0.2113, allocations: 43.53 MB / 314.8 MB, free: 456 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.001683/0.001684, allocations: 71.84 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1198, allocations: 57.8 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.004078/0.124, allocations: 2.033 MB / 0.4905 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.1258, allocations: 0.9755 MB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.126, allocations: 4 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.1263, allocations: 47.64 kB / 0.4915 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005156/0.1269, allocations: 151.3 kB / 0.4917 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009502/0.1279, allocations: 399.2 kB / 0.4921 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.1284, allocations: 287.1 kB / 0.4923 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.1286, allocations: 60.58 kB / 0.4924 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.1289, allocations: 135.5 kB / 0.4925 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.1292, allocations: 187.3 kB / 0.4927 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.039e-05/0.1292, allocations: 16 kB / 0.4927 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1294, allocations: 43.92 kB / 0.4928 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.1296, allocations: 139.6 kB / 0.4929 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.1297, allocations: 166.7 kB / 0.4931 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004555/0.1302, allocations: 370.5 kB / 0.4934 GB, free: 6.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1302, allocations: 0 / 0.4934 GB, free: 6.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1302, allocations: 0 / 0.4934 GB, free: 6.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.1302, allocations: 0 / 0.4934 GB, free: 6.793 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.001102/0.1313, allocations: 0.7618 MB / 0.4942 GB, free: 5.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1314, allocations: 15.89 kB / 0.4942 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.1315, allocations: 52.28 kB / 0.4942 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005516/0.1321, allocations: 443.9 kB / 0.4946 GB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1321, allocations: 8.375 kB / 0.4946 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.1321, allocations: 16.12 kB / 0.4947 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.1325, allocations: 143.1 kB / 0.4948 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.1325, allocations: 3.906 kB / 0.4948 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.1325, allocations: 12 kB / 0.4948 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1325, allocations: 0 / 0.4948 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.1328, allocations: 99.86 kB / 0.4949 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009234/0.1337, allocations: 0.6605 MB / 0.4956 GB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.134, allocations: 121.2 kB / 0.4957 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.1342, allocations: 61.75 kB / 0.4957 GB, free: 4.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.1342, allocations: 11.98 kB / 0.4957 GB, free: 4.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.1343, allocations: 38.5 kB / 0.4958 GB, free: 4.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.1343, allocations: 0 / 0.4958 GB, free: 4.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002011/0.1363, allocations: 0.6621 MB / 0.4964 GB, free: 3.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.1364, allocations: 81.11 kB / 0.4965 GB, free: 3.402 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009237/0.1373, allocations: 0.8426 MB / 0.4973 GB, free: 2.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.1373, allocations: 33.7 kB / 0.4974 GB, free: 2.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.1375, allocations: 252.3 kB / 0.4976 GB, free: 2.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.334e-05/0.1376, allocations: 67 kB / 0.4977 GB, free: 2.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.63e-05/0.1377, allocations: 45.91 kB / 0.4977 GB, free: 2.141 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1379, allocations: 366.7 kB / 0.4981 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.1381, allocations: 87.88 kB / 0.4981 GB, free: 1.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.1384, allocations: 113.6 kB / 0.4982 GB, free: 1.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005038/0.1389, allocations: 205.5 kB / 0.4984 GB, free: 1.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1389, allocations: 4 kB / 0.4984 GB, free: 1.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006604/0.1396, allocations: 300.9 kB / 0.4987 GB, free: 1.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1396, allocations: 8 kB / 0.4987 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1396, allocations: 0 / 0.4987 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1396, allocations: 0 / 0.4987 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.1399, allocations: 55.95 kB / 0.4988 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1399, allocations: 0 / 0.4988 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.1401, allocations: 27.91 kB / 0.4988 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.1402, allocations: 11.97 kB / 0.4988 GB, free: 0.957 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.0002064/0.1404, allocations: 213.6 kB / 0.499 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.1405, allocations: 51.34 kB / 0.4991 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007777/0.1413, allocations: 357.7 kB / 0.4994 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1413, allocations: 0 / 0.4994 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1413, allocations: 0.5625 kB / 0.4994 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1413, allocations: 4 kB / 0.4994 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.1426, allocations: 0.8649 MB / 0.5003 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1426, allocations: 0 / 0.5003 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.1429, allocations: 63.88 kB / 0.5003 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1429, allocations: 4 kB / 0.5003 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.1429, allocations: 8 kB / 0.5003 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1429, allocations: 3.938 kB / 0.5004 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1429, allocations: 0 / 0.5004 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007167/0.1437, allocations: 470 kB / 0.5008 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.1438, allocations: 136.4 kB / 0.5009 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.092e-05/0.1439, allocations: 4 kB / 0.5009 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.1441, allocations: 27.91 kB / 0.501 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/0.1442, allocations: 23.91 kB / 0.501 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.1442, allocations: 4 kB / 0.501 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006542/0.1449, allocations: 0.6237 MB / 0.5016 GB, free: 14.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1449, allocations: 3.938 kB / 0.5016 GB, free: 14.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003667/0.1453, allocations: 56 kB / 0.5017 GB, free: 13.96 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.0009443/0.1462, allocations: 404 kB / 0.502 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006174/0.1468, allocations: 223.7 kB / 0.5023 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1469, allocations: 0 / 0.5023 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.1472, allocations: 123.9 kB / 0.5024 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006333/0.1478, allocations: 73.48 kB / 0.5024 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.1492, allocations: 0.929 MB / 0.5033 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.1497, allocations: 0.8499 MB / 0.5042 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.1498, allocations: 43.42 kB / 0.5042 GB, free: 11.29 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1499, allocations: 0 / 0.5042 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Templates: time 0.009221/0.1591, allocations: 5.789 MB / 0.5099 GB, free: 5.504 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","/var/lib/jenkins1/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