Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 102.3 kB / 15.98 MB, free: 6.352 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.001698/0.001698, allocations: 189.5 kB / 16.91 MB, free: 6.191 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.766/1.766, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3974/0.3974, allocations: 43.5 MB / 313.6 MB, free: 8.535 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.001478/0.001478, allocations: 67.91 kB / 382.2 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1504, allocations: 57.79 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.003323/0.1538, allocations: 1.664 MB / 441.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1552, allocations: 0.922 MB / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.302e-05/0.1553, allocations: 0 / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.1555, allocations: 23.92 kB / 442.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.1557, allocations: 35.91 kB / 442.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.1561, allocations: 103.8 kB / 442.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.1562, allocations: 59.78 kB / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1563, allocations: 20.16 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.915e-05/0.1564, allocations: 19.92 kB / 442.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.1565, allocations: 27.86 kB / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.1565, allocations: 4 kB / 442.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.1567, allocations: 59.95 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.1567, allocations: 19.88 kB / 443 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.1568, allocations: 23.86 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1569, allocations: 95.98 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.157, allocations: 0 / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.027e-06/0.157, allocations: 3.984 kB / 443.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.157, allocations: 0 / 443.1 MB, free: 11.63 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.0005401/0.1575, allocations: 390.6 kB / 443.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1576, allocations: 15.89 kB / 443.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.1576, allocations: 4.844 kB / 443.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.1578, allocations: 192.2 kB / 443.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.914e-06/0.1578, allocations: 4.375 kB / 443.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.1579, allocations: 4.375 kB / 443.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.1581, allocations: 79.25 kB / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1581, allocations: 4 kB / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1581, allocations: 0 / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.1581, allocations: 3.984 kB / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.1582, allocations: 35.97 kB / 443.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.1586, allocations: 280.8 kB / 444.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.1588, allocations: 46.55 kB / 444.1 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.73e-05/0.1589, allocations: 24.94 kB / 444.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.1589, allocations: 4 kB / 444.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.1589, allocations: 34.56 kB / 444.2 MB, free: 10.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1589, allocations: 0 / 444.2 MB, free: 10.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007313/0.1596, allocations: 205.2 kB / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.1597, allocations: 77.19 kB / 444.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.1599, allocations: 133.8 kB / 444.6 MB, free: 9.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1599, allocations: 29.7 kB / 444.6 MB, free: 9.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.1599, allocations: 92.12 kB / 444.7 MB, free: 9.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.16, allocations: 27.55 kB / 444.7 MB, free: 9.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.16, allocations: 21.72 kB / 444.8 MB, free: 9.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1601, allocations: 318.8 kB / 445.1 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.1603, allocations: 31.98 kB / 445.1 MB, free: 9.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1604, allocations: 53.61 kB / 445.2 MB, free: 9.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.1606, allocations: 68.81 kB / 445.2 MB, free: 9.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1606, allocations: 32 / 445.2 MB, free: 9.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00025/0.1608, allocations: 113.9 kB / 445.3 MB, free: 9.145 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1609, allocations: 4 kB / 445.3 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1609, allocations: 3.938 kB / 445.3 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1609, allocations: 4 kB / 445.3 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.161, allocations: 15.98 kB / 445.4 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.161, allocations: 3.938 kB / 445.4 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.943e-05/0.1611, allocations: 19.92 kB / 445.4 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.1611, allocations: 0 / 445.4 MB, free: 9.094 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 8.56e-05/0.1612, allocations: 121.8 kB / 445.5 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.1612, allocations: 7.906 kB / 445.5 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.1615, allocations: 122 kB / 445.6 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1615, allocations: 0 / 445.6 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1616, allocations: 4 kB / 445.6 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1616, allocations: 3.938 kB / 445.6 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.1621, allocations: 390.4 kB / 446 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1621, allocations: 4 kB / 446 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.433e-05/0.1622, allocations: 23.91 kB / 446 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1622, allocations: 4 kB / 446 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.1622, allocations: 7.938 kB / 446.1 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1622, allocations: 0 / 446.1 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1622, allocations: 0 / 446.1 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.1625, allocations: 207.4 kB / 446.3 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.1626, allocations: 81.02 kB / 446.3 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.1626, allocations: 7.938 kB / 446.3 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-05/0.1627, allocations: 11.98 kB / 446.4 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.1627, allocations: 7.984 kB / 446.4 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.1627, allocations: 4 kB / 446.4 MB, free: 8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.147e-05/0.1628, allocations: 99.77 kB / 446.5 MB, free: 7.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1628, allocations: 0 / 446.5 MB, free: 7.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.1631, allocations: 24 kB / 446.5 MB, free: 7.879 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.001001/0.1641, allocations: 450.8 kB / 446.9 MB, free: 7.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002824/0.1644, allocations: 83.88 kB / 447 MB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1644, allocations: 0 / 447 MB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.1645, allocations: 43.97 kB / 447.1 MB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.1649, allocations: 27.72 kB / 447.1 MB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.1653, allocations: 209.9 kB / 447.3 MB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.1657, allocations: 0.6963 MB / 448 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.214e-05/0.1658, allocations: 7.984 kB / 448 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.1658, allocations: 15.44 kB / 448 MB, free: 6.336 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1658, allocations: 0 / 448 MB, free: 6.336 MB / 382.1 MB Notification: Performance of Templates: time 0.003893/0.1697, allocations: 1.444 MB / 449.4 MB, free: 4.891 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches