Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007864/0.0007866, allocations: 98.47 kB / 17 MB, free: 6.402 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.0009638/0.0009638, allocations: 177.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 223.3 MB / 241.9 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2344/0.2344, allocations: 44.26 MB / 337.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003082, allocations: 8 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1492, allocations: 61.94 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002686/0.1519, allocations: 1.251 MB / 472.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.1539, allocations: 0.961 MB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.862e-05/0.1539, allocations: 0 / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.1542, allocations: 23.86 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.1544, allocations: 39.84 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.1547, allocations: 87.33 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.1548, allocations: 51.84 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1549, allocations: 11.98 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.052e-05/0.155, allocations: 19.92 kB / 474.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.1551, allocations: 23.86 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1552, allocations: 4 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.675e-05/0.1553, allocations: 35.98 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.222e-05/0.1553, allocations: 19.91 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.1554, allocations: 25.7 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.1555, allocations: 67.84 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1555, allocations: 0 / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1555, allocations: 0 / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1555, allocations: 0 / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005477/0.1561, allocations: 379.4 kB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1561, allocations: 8.562 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.1562, allocations: 4 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.1564, allocations: 186.9 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1564, allocations: 0 / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.1564, allocations: 7.938 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1566, allocations: 63.41 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1566, allocations: 4 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1567, allocations: 0 / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1567, allocations: 4 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.97e-05/0.1568, allocations: 31.91 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.1572, allocations: 276.9 kB / 475.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.1574, allocations: 50.56 kB / 475.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.281e-05/0.1574, allocations: 16.94 kB / 475.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1575, allocations: 0 / 475.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.1575, allocations: 38.5 kB / 475.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.785e-06/0.1575, allocations: 7.938 kB / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005568/0.1581, allocations: 161.3 kB / 475.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.1582, allocations: 89.05 kB / 475.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.1583, allocations: 133.8 kB / 475.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.1583, allocations: 29.7 kB / 475.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.1584, allocations: 88.14 kB / 475.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.1584, allocations: 15.75 kB / 475.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.1584, allocations: 0 / 475.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1586, allocations: 326.8 kB / 476.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.338e-05/0.1587, allocations: 27.98 kB / 476.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.012e-05/0.1587, allocations: 37.69 kB / 476.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.557e-05/0.1588, allocations: 27.92 kB / 476.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1588, allocations: 0 / 476.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001846/0.159, allocations: 93.61 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1591, allocations: 8 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1591, allocations: 0 / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1591, allocations: 0 / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.1592, allocations: 19.92 kB / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.1592, allocations: 0 / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.094e-05/0.1592, allocations: 11.98 kB / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.1592, allocations: 4 kB / 476.3 MB, free: 8.707 MB / 350.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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.1593, allocations: 117.8 kB / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.1594, allocations: 3.906 kB / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.1596, allocations: 109.6 kB / 476.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1596, allocations: 0 / 476.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.1596, allocations: 0 / 476.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.1597, allocations: 288 / 476.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004503/0.1601, allocations: 362.5 kB / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1601, allocations: 4 kB / 476.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.426e-05/0.1602, allocations: 16 kB / 476.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1602, allocations: 3.984 kB / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1602, allocations: 4.359 kB / 476.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1602, allocations: 0 / 476.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1602, allocations: 4 kB / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.1605, allocations: 195.3 kB / 477.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.1605, allocations: 92.94 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1606, allocations: 0 / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-05/0.1606, allocations: 11.98 kB / 477.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.1607, allocations: 0 / 477.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.1607, allocations: 4 kB / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.483e-05/0.1608, allocations: 106.3 kB / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1608, allocations: 0 / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1611, allocations: 27.98 kB / 477.4 MB, free: 7.562 MB / 350.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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001151/0.1622, allocations: 442.6 kB / 477.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.1624, allocations: 67.91 kB / 477.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1625, allocations: 0 / 477.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.053e-05/0.1625, allocations: 31.97 kB / 477.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.1629, allocations: 15.95 kB / 477.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.1633, allocations: 176.8 kB / 478.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.1636, allocations: 0.6848 MB / 478.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.459e-05/0.1637, allocations: 15.98 kB / 478.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.1637, allocations: 19.42 kB / 478.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1638, allocations: 3.938 kB / 478.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of Templates: time 0.004143/0.1679, allocations: 1.282 MB / 480.1 MB, free: 4.953 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches