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.0009992/0.0009992, allocations: 103.9 kB / 16.41 MB, free: 6.508 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.00102/0.00102, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.497/1.497, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.2364/0.2364, allocations: 43.52 MB / 314.1 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.001317/0.001317, allocations: 83.83 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1237, allocations: 57.78 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.003186/0.1269, allocations: 1.942 MB / 0.4898 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1283, allocations: 0.9794 MB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.378e-05/0.1284, allocations: 4 kB / 0.4908 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.1287, allocations: 43.66 kB / 0.4908 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.129, allocations: 155.3 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007546/0.1297, allocations: 387.2 kB / 0.4913 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.13, allocations: 251.3 kB / 0.4916 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.1302, allocations: 64.22 kB / 0.4916 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.1304, allocations: 119.5 kB / 0.4917 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.1306, allocations: 175.4 kB / 0.4919 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.1306, allocations: 12 kB / 0.4919 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-05/0.1307, allocations: 43.92 kB / 0.4919 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.1309, allocations: 135.6 kB / 0.4921 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.131, allocations: 150.8 kB / 0.4922 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.1313, allocations: 346.6 kB / 0.4926 GB, free: 6.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1313, allocations: 0 / 0.4926 GB, free: 6.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1313, allocations: 3.938 kB / 0.4926 GB, free: 6.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1314, allocations: 0 / 0.4926 GB, free: 6.973 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.0008481/0.1322, allocations: 0.7425 MB / 0.4933 GB, free: 6.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1323, allocations: 11.89 kB / 0.4933 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.545e-05/0.1323, allocations: 48.38 kB / 0.4933 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.1328, allocations: 443.9 kB / 0.4938 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1328, allocations: 4.375 kB / 0.4938 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.1329, allocations: 16.12 kB / 0.4938 GB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.1332, allocations: 127.2 kB / 0.4939 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1332, allocations: 0 / 0.4939 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1332, allocations: 12 kB / 0.4939 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1332, allocations: 0 / 0.4939 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.1334, allocations: 79.88 kB / 0.494 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008328/0.1342, allocations: 0.6526 MB / 0.4946 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.1345, allocations: 113.2 kB / 0.4947 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.149e-05/0.1346, allocations: 37.83 kB / 0.4948 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.1346, allocations: 7.984 kB / 0.4948 GB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.1346, allocations: 38.5 kB / 0.4948 GB, free: 4.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1346, allocations: 3.938 kB / 0.4948 GB, free: 4.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001297/0.1359, allocations: 0.4982 MB / 0.4953 GB, free: 3.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.136, allocations: 77.11 kB / 0.4954 GB, free: 3.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008352/0.1368, allocations: 0.8427 MB / 0.4962 GB, free: 3.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1369, allocations: 37.69 kB / 0.4962 GB, free: 2.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.137, allocations: 244.2 kB / 0.4965 GB, free: 2.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.1371, allocations: 51.2 kB / 0.4965 GB, free: 2.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.1371, allocations: 33.7 kB / 0.4966 GB, free: 2.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1373, allocations: 366.7 kB / 0.4969 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.1375, allocations: 59.91 kB / 0.497 GB, free: 2.199 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.1376, allocations: 73.67 kB / 0.497 GB, free: 2.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.1379, allocations: 133.7 kB / 0.4972 GB, free: 1.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.138, allocations: 0.75 kB / 0.4972 GB, free: 1.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004226/0.1384, allocations: 224.9 kB / 0.4974 GB, free: 1.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1384, allocations: 6.5 kB / 0.4974 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1384, allocations: 0 / 0.4974 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1384, allocations: 0 / 0.4974 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.1386, allocations: 35.97 kB / 0.4974 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1386, allocations: 4 kB / 0.4974 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.1388, allocations: 15.98 kB / 0.4974 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.1388, allocations: 4 kB / 0.4974 GB, free: 1.695 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 (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.0001793/0.139, allocations: 221.6 kB / 0.4976 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.624e-05/0.1391, allocations: 51.34 kB / 0.4977 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005301/0.1396, allocations: 266.1 kB / 0.4979 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1396, allocations: 0 / 0.4979 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1396, allocations: 0 / 0.4979 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1397, allocations: 8 kB / 0.498 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009626/0.1406, allocations: 0.7514 MB / 0.4987 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1406, allocations: 0 / 0.4987 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.1408, allocations: 39.91 kB / 0.4987 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1408, allocations: 4 kB / 0.4987 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.1408, allocations: 7.969 kB / 0.4987 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.1409, allocations: 11.94 kB / 0.4988 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1409, allocations: 0 / 0.4988 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004929/0.1414, allocations: 390.2 kB / 0.4991 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.1415, allocations: 136.4 kB / 0.4993 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.1416, allocations: 11.94 kB / 0.4993 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.1417, allocations: 15.92 kB / 0.4993 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.1418, allocations: 15.98 kB / 0.4993 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.1418, allocations: 4 kB / 0.4993 GB, free: 15.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006158/0.1424, allocations: 0.6198 MB / 0.4999 GB, free: 15.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1424, allocations: 0 / 0.4999 GB, free: 15.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003241/0.1428, allocations: 51.94 kB / 0.5 GB, free: 15 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 (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.0008989/0.1437, allocations: 407.3 kB / 0.5003 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000391/0.1441, allocations: 139.8 kB / 0.5005 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1441, allocations: 0 / 0.5005 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.1443, allocations: 80.2 kB / 0.5006 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.1449, allocations: 70.56 kB / 0.5006 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.146, allocations: 0.8639 MB / 0.5015 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.1465, allocations: 0.8536 MB / 0.5023 GB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.1466, allocations: 74.91 kB / 0.5024 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.745e-05/0.1467, allocations: 35.42 kB / 0.5024 GB, free: 12.47 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1467, allocations: 3.938 kB / 0.5024 GB, free: 12.46 MB / 398.1 MB Notification: Performance of Templates: time 0.007598/0.1543, allocations: 3.955 MB / 0.5063 GB, free: 8.512 MB / 398.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","/var/lib/jenkins/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