Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 104.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.4 MB / 246.3 MB, free: 10.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2311/0.2311, allocations: 46.11 MB / 343.7 MB, free: 11.77 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 79.61 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1465, allocations: 62.44 MB / 479.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003544/0.1501, allocations: 1.736 MB / 481.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1513, allocations: 0.5806 MB / 481.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.822e-05/0.1514, allocations: 4 kB / 481.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.1517, allocations: 47.83 kB / 481.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.1519, allocations: 79.78 kB / 481.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.1524, allocations: 159.5 kB / 482 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.1526, allocations: 83.75 kB / 482.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1527, allocations: 24.23 kB / 482.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.29e-05/0.1528, allocations: 35.78 kB / 482.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.1529, allocations: 43.83 kB / 482.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1529, allocations: 0 / 482.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.153, allocations: 51.92 kB / 482.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.285e-05/0.1531, allocations: 23.91 kB / 482.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.1532, allocations: 35.73 kB / 482.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1534, allocations: 107.7 kB / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1534, allocations: 0 / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.1534, allocations: 0 / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1534, allocations: 0 / 482.4 MB, free: 2.633 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005925/0.154, allocations: 415.3 kB / 482.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.154, allocations: 8.031 kB / 482.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.1541, allocations: 12.84 kB / 482.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.1543, allocations: 200.1 kB / 483 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1544, allocations: 4.375 kB / 483 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.1544, allocations: 4.359 kB / 483 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.1546, allocations: 73.72 kB / 483.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1546, allocations: 8 kB / 483.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1547, allocations: 0 / 483.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.1547, allocations: 4 kB / 483.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.1548, allocations: 43.91 kB / 483.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000587/0.1554, allocations: 316.7 kB / 483.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.1557, allocations: 62.58 kB / 483.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.572e-05/0.1558, allocations: 32.95 kB / 483.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.1559, allocations: 0 / 483.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.1559, allocations: 34.56 kB / 483.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1559, allocations: 0 / 483.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001578/0.1575, allocations: 425.2 kB / 484 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.1576, allocations: 55.34 kB / 484 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.1578, allocations: 181.5 kB / 484.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.1578, allocations: 25.7 kB / 484.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.448e-05/0.1579, allocations: 108 kB / 484.3 MB, free: 476 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.158, allocations: 39.45 kB / 484.4 MB, free: 436 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.221e-05/0.1581, allocations: 29.7 kB / 484.4 MB, free: 400 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.1583, allocations: 322.8 kB / 484.7 MB, free: 68 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.1584, allocations: 51.95 kB / 484.8 MB, free: 16 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.1586, allocations: 59.91 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.1589, allocations: 129 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.159, allocations: 0 / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003901/0.1594, allocations: 165.4 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.1594, allocations: 8 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1594, allocations: 0 / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1594, allocations: 0 / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.1596, allocations: 39.91 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.1596, allocations: 0 / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.772e-05/0.1597, allocations: 15.92 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.1597, allocations: 0 / 485.2 MB, free: 15.6 MB / 366.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 (11): * Single equations (assignments): 11 * 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.0001419/0.1598, allocations: 125.8 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.1599, allocations: 11.81 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005759/0.1605, allocations: 194.2 kB / 485.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.1605, allocations: 3.938 kB / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.1605, allocations: 4 kB / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1605, allocations: 0 / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009035/0.1614, allocations: 0.4922 MB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1614, allocations: 0 / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.1615, allocations: 23.98 kB / 486 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.1616, allocations: 0 / 486 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.1616, allocations: 8 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.1616, allocations: 0 / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.1616, allocations: 4 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004574/0.1621, allocations: 276.9 kB / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.51e-05/0.1622, allocations: 85.2 kB / 486.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.1622, allocations: 11.98 kB / 486.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.611e-05/0.1623, allocations: 8 kB / 486.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.1624, allocations: 11.98 kB / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1624, allocations: 4 kB / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001565/0.1626, allocations: 143.1 kB / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1626, allocations: 0 / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.1629, allocations: 28 kB / 486.6 MB, free: 14.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001936/0.1648, allocations: 454.5 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004434/0.1653, allocations: 127.8 kB / 487.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1653, allocations: 0 / 487.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.1655, allocations: 75.89 kB / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.166, allocations: 19.92 kB / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008108/0.1668, allocations: 338.2 kB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.1673, allocations: 0.7237 MB / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.1674, allocations: 36.5 kB / 488.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.845e-05/0.1675, allocations: 15.44 kB / 488.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1675, allocations: 0 / 488.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of Templates: time 0.00559/0.1731, allocations: 1.538 MB / 489.9 MB, free: 10.86 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches