Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 104.1 kB / 16.41 MB, free: 6.504 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.001117/0.001117, allocations: 192.2 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.433/1.433, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2191/0.2191, 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.001542/0.001542, allocations: 69.88 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1563, allocations: 57.8 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003432/0.1598, allocations: 1.615 MB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1614, allocations: 0.973 MB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.776e-05/0.1614, allocations: 0 / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.1617, allocations: 27.84 kB / 0.4904 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.162, allocations: 43.78 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.1624, allocations: 147.7 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.1625, allocations: 71.75 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.1627, allocations: 19.98 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.633e-05/0.1627, allocations: 23.92 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.1629, allocations: 35.83 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1629, allocations: 4 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.163, allocations: 55.92 kB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/0.1631, allocations: 23.91 kB / 0.4909 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/0.1632, allocations: 23.81 kB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.1634, allocations: 91.77 kB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1634, allocations: 0 / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1634, allocations: 4 kB / 0.491 GB, free: 8.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1634, allocations: 0 / 0.491 GB, free: 8.609 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005666/0.164, allocations: 391.2 kB / 0.4913 GB, free: 8.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.164, allocations: 11.89 kB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.1641, allocations: 12.84 kB / 0.4914 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.1643, allocations: 192.1 kB / 0.4915 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1643, allocations: 4.375 kB / 0.4916 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.1644, allocations: 384 / 0.4916 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.1646, allocations: 83.5 kB / 0.4916 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1646, allocations: 0 / 0.4916 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1646, allocations: 0 / 0.4916 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1646, allocations: 4 kB / 0.4916 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.1647, allocations: 35.97 kB / 0.4917 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.1652, allocations: 312.6 kB / 0.492 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1654, allocations: 42.56 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.447e-05/0.1654, allocations: 28.94 kB / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.1655, allocations: 3.984 kB / 0.492 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.1655, allocations: 34.56 kB / 0.4921 GB, free: 7.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.1655, allocations: 0 / 0.4921 GB, free: 7.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008042/0.1663, allocations: 217.4 kB / 0.4923 GB, free: 7.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.1664, allocations: 85.11 kB / 0.4924 GB, free: 6.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1666, allocations: 133.7 kB / 0.4925 GB, free: 6.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1666, allocations: 29.7 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.1667, allocations: 92.05 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.1667, allocations: 23.7 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.1668, allocations: 21.66 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1669, allocations: 330.8 kB / 0.493 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.167, allocations: 39.97 kB / 0.493 GB, free: 6.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.1672, allocations: 49.69 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.1674, allocations: 84.8 kB / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1674, allocations: 4.031 kB / 0.4931 GB, free: 6.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002721/0.1677, allocations: 125.5 kB / 0.4933 GB, free: 6.023 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1677, allocations: 8 kB / 0.4933 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1677, allocations: 3.938 kB / 0.4933 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1677, allocations: 0 / 0.4933 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1678, allocations: 19.98 kB / 0.4933 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1678, allocations: 0 / 0.4933 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.735e-05/0.1679, allocations: 19.86 kB / 0.4933 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1679, allocations: 4 kB / 0.4933 GB, free: 5.969 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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 9.59e-05/0.168, allocations: 121.8 kB / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.1681, allocations: 15.84 kB / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/0.1684, allocations: 138.2 kB / 0.4936 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1684, allocations: 4.281 kB / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1684, allocations: 0 / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1684, allocations: 3.938 kB / 0.4936 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.169, allocations: 402.5 kB / 0.494 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.169, allocations: 3.984 kB / 0.494 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.499e-05/0.1691, allocations: 15.98 kB / 0.494 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1691, allocations: 4 kB / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1691, allocations: 15.88 kB / 0.494 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1691, allocations: 0 / 0.494 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1691, allocations: 0 / 0.494 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.1694, allocations: 215.4 kB / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.1695, allocations: 81.02 kB / 0.4943 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1695, allocations: 11.94 kB / 0.4943 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.753e-05/0.1696, allocations: 7.984 kB / 0.4943 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.1697, allocations: 11.98 kB / 0.4943 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.1697, allocations: 0 / 0.4943 GB, free: 4.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.869e-05/0.1697, allocations: 103.3 kB / 0.4944 GB, free: 4.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1697, allocations: 0 / 0.4944 GB, free: 4.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.17, allocations: 31.98 kB / 0.4944 GB, free: 4.695 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.0009594/0.171, allocations: 452.6 kB / 0.4949 GB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003007/0.1713, allocations: 83.94 kB / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1713, allocations: 0 / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.1714, allocations: 51.95 kB / 0.495 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.1718, allocations: 23.78 kB / 0.495 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005265/0.1723, allocations: 198.3 kB / 0.4952 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.1727, allocations: 0.6963 MB / 0.4959 GB, free: 3.188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.958e-05/0.1728, allocations: 28.28 kB / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.1728, allocations: 23.42 kB / 0.4959 GB, free: 3.137 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1728, allocations: 0 / 0.4959 GB, free: 3.137 MB / 382.1 MB Notification: Performance of Templates: time 0.00453/0.1774, allocations: 1.533 MB / 0.4974 GB, free: 1.605 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches