Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 101.8 kB / 16.26 MB, free: 5.973 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.001226/0.001226, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.661/1.661, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2385/0.2385, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 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.001494/0.001494, allocations: 64 kB / 382.7 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1429, allocations: 57.79 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.003171/0.1461, allocations: 1.651 MB / 442.2 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000624/0.1468, allocations: 351.4 kB / 442.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.357e-05/0.1469, allocations: 0 / 442.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.1471, allocations: 19.86 kB / 442.5 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.1473, allocations: 47.77 kB / 442.6 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.1476, allocations: 123.3 kB / 442.7 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1478, allocations: 75.77 kB / 442.8 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.148, allocations: 24.38 kB / 442.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.452e-05/0.1481, allocations: 35.86 kB / 442.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.188e-05/0.1482, allocations: 39.83 kB / 442.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.1482, allocations: 4 kB / 442.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.1483, allocations: 51.98 kB / 442.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.346e-05/0.1484, allocations: 23.91 kB / 443 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.1485, allocations: 31.8 kB / 443 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.1487, allocations: 107.7 kB / 443.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.1487, allocations: 3.938 kB / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1487, allocations: 0 / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.1487, allocations: 0 / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007219/0.1495, allocations: 415.1 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.1495, allocations: 8.031 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.1496, allocations: 12.75 kB / 443.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.1498, allocations: 192.2 kB / 443.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1498, allocations: 4.375 kB / 443.7 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.1499, allocations: 384 / 443.7 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.1502, allocations: 107.4 kB / 443.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.1502, allocations: 0 / 443.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1502, allocations: 4 kB / 443.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1502, allocations: 0 / 443.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.1505, allocations: 71.91 kB / 443.9 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.151, allocations: 308.7 kB / 444.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.1512, allocations: 66.47 kB / 444.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.1514, allocations: 44.95 kB / 444.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.1514, allocations: 4 kB / 444.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1515, allocations: 34.55 kB / 444.3 MB, free: 2.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.1515, allocations: 0 / 444.3 MB, free: 2.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.001528/0.153, allocations: 360.9 kB / 444.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.1531, allocations: 85.11 kB / 444.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.1532, allocations: 145.4 kB / 444.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1532, allocations: 25.7 kB / 444.9 MB, free: 2.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.1533, allocations: 96.12 kB / 445 MB, free: 2.172 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.1533, allocations: 31.62 kB / 445.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.1533, allocations: 21.7 kB / 445.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.379e-05/0.1534, allocations: 322.8 kB / 445.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.1537, allocations: 67.94 kB / 445.5 MB, free: 1.723 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.1539, allocations: 85.69 kB / 445.6 MB, free: 1.633 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005039/0.1545, allocations: 144.7 kB / 445.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1545, allocations: 0 / 445.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005447/0.155, allocations: 181.5 kB / 445.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.155, allocations: 7.938 kB / 445.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1551, allocations: 0 / 445.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.1551, allocations: 0 / 445.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.1553, allocations: 35.95 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1553, allocations: 0 / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.1555, allocations: 31.91 kB / 445.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1555, allocations: 4 kB / 446 MB, free: 1.227 MB / 318.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 (8): * Single equations (assignments): 8 * 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.0001095/0.1556, allocations: 125.7 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.1556, allocations: 7.906 kB / 446.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006522/0.1563, allocations: 202.6 kB / 446.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1563, allocations: 0 / 446.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.1563, allocations: 4 kB / 446.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1563, allocations: 3.938 kB / 446.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007704/0.1571, allocations: 474.3 kB / 446.8 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1571, allocations: 0 / 446.8 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.1573, allocations: 35.95 kB / 446.8 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1573, allocations: 7.984 kB / 446.8 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.1573, allocations: 3.938 kB / 446.8 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1573, allocations: 7.938 kB / 446.8 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1574, allocations: 0 / 446.8 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005922/0.1579, allocations: 283.5 kB / 447.1 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.158, allocations: 81.11 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.1581, allocations: 7.922 kB / 447.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.1583, allocations: 27.97 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.796e-05/0.1584, allocations: 7.984 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.1584, allocations: 4 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.1585, allocations: 111.2 kB / 447.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1585, allocations: 4 kB / 447.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.1588, allocations: 31.98 kB / 447.4 MB, free: 15.71 MB / 334.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 (8): * Single equations (assignments): 8 * 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.001242/0.1601, allocations: 440.2 kB / 447.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007022/0.1608, allocations: 159.8 kB / 447.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1608, allocations: 0 / 447.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.1611, allocations: 75.92 kB / 448 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.1615, allocations: 27.86 kB / 448 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000527/0.162, allocations: 198.2 kB / 448.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.1623, allocations: 0.6963 MB / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.579e-05/0.1624, allocations: 20.95 kB / 448.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.1625, allocations: 15.44 kB / 449 MB, free: 14.12 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1625, allocations: 0 / 449 MB, free: 14.12 MB / 334.1 MB Notification: Performance of Templates: time 0.006313/0.1688, allocations: 2.015 MB / 451 MB, free: 12.12 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches