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.001153/0.001153, allocations: 113.7 kB / 17.04 MB, free: 6.129 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.001098/0.001098, allocations: 195.1 kB / 17.98 MB, free: 5.227 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.589/1.589, allocations: 205.1 MB / 223.8 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.253/0.253, allocations: 43.52 MB / 314.7 MB, free: 480 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.00142/0.00142, allocations: 71.88 kB / 442.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1421, allocations: 57.8 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.003538/0.1457, allocations: 1.939 MB / 0.4904 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1474, allocations: 0.9794 MB / 0.4913 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.965e-05/0.1475, allocations: 0 / 0.4913 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.1478, allocations: 43.64 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.1482, allocations: 143.4 kB / 0.4915 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008579/0.149, allocations: 395.1 kB / 0.4919 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.1494, allocations: 251.3 kB / 0.4921 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.1496, allocations: 60.23 kB / 0.4922 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.1498, allocations: 123.5 kB / 0.4923 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.1501, allocations: 171.4 kB / 0.4925 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.1501, allocations: 12 kB / 0.4925 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.1502, allocations: 51.92 kB / 0.4925 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.1504, allocations: 127.6 kB / 0.4927 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.1505, allocations: 158.8 kB / 0.4928 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.1509, allocations: 346.6 kB / 0.4931 GB, free: 7.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1509, allocations: 3.938 kB / 0.4932 GB, free: 7.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1509, allocations: 0 / 0.4932 GB, free: 7.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.1509, allocations: 0 / 0.4932 GB, free: 7.016 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.000932/0.1519, allocations: 0.7386 MB / 0.4939 GB, free: 6.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.1519, allocations: 11.89 kB / 0.4939 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.094e-05/0.152, allocations: 56.36 kB / 0.4939 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004892/0.1525, allocations: 435.9 kB / 0.4944 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1525, allocations: 8.375 kB / 0.4944 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.1526, allocations: 16.12 kB / 0.4944 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.1529, allocations: 119.3 kB / 0.4945 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1529, allocations: 0 / 0.4945 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.1529, allocations: 8 kB / 0.4945 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1529, allocations: 0 / 0.4945 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.1531, allocations: 79.89 kB / 0.4946 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008716/0.154, allocations: 0.6604 MB / 0.4952 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.1542, allocations: 109.2 kB / 0.4953 GB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.94e-05/0.1543, allocations: 45.81 kB / 0.4954 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.1544, allocations: 7.938 kB / 0.4954 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.1544, allocations: 34.5 kB / 0.4954 GB, free: 4.512 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.1544, allocations: 0 / 0.4954 GB, free: 4.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.00141/0.1558, allocations: 0.5026 MB / 0.4959 GB, free: 4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.1559, allocations: 81.11 kB / 0.496 GB, free: 3.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009613/0.1569, allocations: 0.8427 MB / 0.4968 GB, free: 3.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.1569, allocations: 25.7 kB / 0.4968 GB, free: 3.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.1571, allocations: 248.2 kB / 0.4971 GB, free: 2.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.459e-05/0.1572, allocations: 55.19 kB / 0.4971 GB, free: 2.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.1573, allocations: 33.7 kB / 0.4971 GB, free: 2.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.1575, allocations: 370.7 kB / 0.4975 GB, free: 2.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.1576, allocations: 55.95 kB / 0.4976 GB, free: 2.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.1578, allocations: 77.8 kB / 0.4976 GB, free: 2.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.1581, allocations: 133.7 kB / 0.4978 GB, free: 2.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1581, allocations: 4 kB / 0.4978 GB, free: 2.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004478/0.1586, allocations: 220.9 kB / 0.498 GB, free: 1.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1586, allocations: 4 kB / 0.498 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.1586, allocations: 4 kB / 0.498 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.1587, allocations: 0 / 0.498 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.1589, allocations: 35.97 kB / 0.498 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.1589, allocations: 4 kB / 0.498 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.159, allocations: 7.984 kB / 0.498 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.1591, allocations: 8 kB / 0.498 GB, free: 1.738 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.0002134/0.1593, allocations: 213.6 kB / 0.4982 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.263e-05/0.1594, allocations: 55.34 kB / 0.4983 GB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005787/0.16, allocations: 266.1 kB / 0.4985 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.16, allocations: 0 / 0.4985 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.16, allocations: 0 / 0.4985 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.16, allocations: 4.109 kB / 0.4985 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.161, allocations: 0.7552 MB / 0.4993 GB, free: 392 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.161, allocations: 0 / 0.4993 GB, free: 392 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.1612, allocations: 39.91 kB / 0.4993 GB, free: 352 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.1612, allocations: 7.984 kB / 0.4993 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.1612, allocations: 4 kB / 0.4993 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.1612, allocations: 7.938 kB / 0.4993 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1612, allocations: 4 kB / 0.4993 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005398/0.1618, allocations: 386 kB / 0.4997 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.1619, allocations: 144.4 kB / 0.4998 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.162, allocations: 0 / 0.4998 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.1622, allocations: 23.92 kB / 0.4999 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.1622, allocations: 15.92 kB / 0.4999 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.1622, allocations: 7.984 kB / 0.4999 GB, free: 15.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006408/0.1629, allocations: 0.6198 MB / 0.5005 GB, free: 15.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1629, allocations: 0 / 0.5005 GB, free: 15.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003414/0.1632, allocations: 48 kB / 0.5005 GB, free: 15.05 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.0009787/0.1642, allocations: 397.4 kB / 0.5009 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004171/0.1647, allocations: 151.8 kB / 0.5011 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1647, allocations: 0 / 0.5011 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.1649, allocations: 79.89 kB / 0.5011 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000634/0.1655, allocations: 82.03 kB / 0.5012 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.1668, allocations: 0.8696 MB / 0.5021 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.1672, allocations: 0.838 MB / 0.5029 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.1673, allocations: 43.36 kB / 0.5029 GB, free: 12.58 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1673, allocations: 4 kB / 0.5029 GB, free: 12.58 MB / 398.1 MB Notification: Performance of Templates: time 0.007939/0.1752, allocations: 5.345 MB / 0.5082 GB, free: 7.23 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","/var/lib/jenkins1/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