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.001058/0.001058, allocations: 108.7 kB / 16.41 MB, free: 6.449 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.001205/0.001205, 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.475/1.475, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2168/0.2168, allocations: 43.53 MB / 314.1 MB, free: 452 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.001553/0.001553, allocations: 64.38 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1258, allocations: 57.8 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.003723/0.1296, allocations: 1.946 MB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1314, allocations: 0.9755 MB / 0.4908 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.1316, allocations: 0 / 0.4908 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.1319, allocations: 39.67 kB / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004532/0.1323, allocations: 151.3 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009365/0.1333, allocations: 387.2 kB / 0.4913 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004188/0.1337, allocations: 255.3 kB / 0.4915 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.1339, allocations: 60.23 kB / 0.4916 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.1342, allocations: 127.5 kB / 0.4917 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.1344, allocations: 171.3 kB / 0.4919 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.1345, allocations: 12 kB / 0.4919 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.1346, allocations: 39.98 kB / 0.4919 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.1348, allocations: 135.6 kB / 0.4921 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.1349, allocations: 158.7 kB / 0.4922 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.1354, allocations: 350.6 kB / 0.4926 GB, free: 6.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.1354, allocations: 0 / 0.4926 GB, free: 6.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1354, allocations: 3.938 kB / 0.4926 GB, free: 6.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.1354, 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.0009634/0.1364, allocations: 0.7347 MB / 0.4933 GB, free: 6.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1364, allocations: 11.89 kB / 0.4933 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.1366, allocations: 48.38 kB / 0.4933 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005545/0.1371, allocations: 431.9 kB / 0.4937 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1372, allocations: 12.38 kB / 0.4938 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.1372, allocations: 20.11 kB / 0.4938 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.1375, allocations: 127.1 kB / 0.4939 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.1375, allocations: 8 kB / 0.4939 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1375, allocations: 0 / 0.4939 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.1375, allocations: 4 kB / 0.4939 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.1377, allocations: 71.95 kB / 0.494 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009344/0.1387, allocations: 0.6643 MB / 0.4946 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.1389, allocations: 105.2 kB / 0.4947 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.139, allocations: 49.81 kB / 0.4948 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.1391, allocations: 0 / 0.4948 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1391, allocations: 38.44 kB / 0.4948 GB, free: 4.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.1391, allocations: 4 kB / 0.4948 GB, free: 4.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001365/0.1405, allocations: 0.5023 MB / 0.4953 GB, free: 3.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.1405, allocations: 85.05 kB / 0.4954 GB, free: 3.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009115/0.1414, allocations: 0.8388 MB / 0.4962 GB, free: 3.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.1415, allocations: 29.7 kB / 0.4962 GB, free: 2.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.1417, allocations: 244.2 kB / 0.4965 GB, free: 2.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.1417, allocations: 51.14 kB / 0.4965 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.1418, allocations: 37.7 kB / 0.4966 GB, free: 2.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.142, allocations: 370.7 kB / 0.4969 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.1422, allocations: 55.95 kB / 0.497 GB, free: 2.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.1423, allocations: 77.66 kB / 0.497 GB, free: 2.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.1427, allocations: 133.7 kB / 0.4972 GB, free: 1.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1427, allocations: 3.938 kB / 0.4972 GB, free: 1.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004398/0.1431, allocations: 217 kB / 0.4974 GB, free: 1.762 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1431, allocations: 4 kB / 0.4974 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1432, allocations: 0 / 0.4974 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.1432, allocations: 7.984 kB / 0.4974 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.1434, allocations: 43.91 kB / 0.4974 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.1434, allocations: 0 / 0.4974 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.1435, allocations: 15.98 kB / 0.4974 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.1436, allocations: 4 kB / 0.4974 GB, free: 1.688 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.0002129/0.1438, allocations: 209.7 kB / 0.4976 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.861e-05/0.1439, allocations: 51.34 kB / 0.4977 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005651/0.1445, allocations: 262.1 kB / 0.4979 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.1445, allocations: 3.984 kB / 0.4979 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.1445, allocations: 4.562 kB / 0.4979 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1445, allocations: 0 / 0.4979 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.1456, allocations: 0.7591 MB / 0.4987 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1456, allocations: 4 kB / 0.4987 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.1458, allocations: 43.97 kB / 0.4987 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1458, allocations: 0 / 0.4987 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1458, allocations: 0 / 0.4987 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1458, allocations: 7.938 kB / 0.4987 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1458, allocations: 0 / 0.4987 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005532/0.1464, allocations: 398 kB / 0.4991 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.1465, allocations: 136.4 kB / 0.4993 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.1466, allocations: 4 kB / 0.4993 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.1468, allocations: 15.92 kB / 0.4993 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.1469, allocations: 11.98 kB / 0.4993 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.1469, allocations: 15.98 kB / 0.4993 GB, free: 15.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006503/0.1475, allocations: 0.612 MB / 0.4999 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1476, allocations: 0 / 0.4999 GB, free: 15.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003543/0.1479, allocations: 52 kB / 0.4999 GB, free: 15.02 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.001033/0.149, allocations: 405.4 kB / 0.5003 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004487/0.1494, allocations: 151.8 kB / 0.5005 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.1494, allocations: 0 / 0.5005 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.1496, allocations: 84.3 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.000682/0.1503, allocations: 74.34 kB / 0.5006 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.1517, allocations: 0.8484 MB / 0.5015 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.1522, allocations: 0.8613 MB / 0.5023 GB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001775/0.1524, 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 9.36e-05/0.1525, allocations: 31.44 kB / 0.5024 GB, free: 12.47 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1525, allocations: 0 / 0.5024 GB, free: 12.47 MB / 398.1 MB Notification: Performance of Templates: time 0.009357/0.1619, allocations: 3.962 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