Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 93.39 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.0029/0.0029, allocations: 176.8 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.512/1.512, allocations: 223.3 MB / 241.9 MB, free: 14.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2211/0.2211, allocations: 44.24 MB / 337.3 MB, free: 2.539 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004451/0.0004451, allocations: 10.94 kB / 409.7 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1501, allocations: 61.94 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002215/0.1524, allocations: 1.251 MB / 472.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007639/0.1532, allocations: 379.7 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.802e-05/0.1533, allocations: 0 / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.1535, allocations: 19.92 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.1537, allocations: 27.91 kB / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.154, allocations: 91.81 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.1541, allocations: 47.84 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1542, allocations: 15.94 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.44e-05/0.1543, allocations: 23.86 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.656e-05/0.1544, allocations: 11.92 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.1544, allocations: 0 / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.718e-05/0.1545, allocations: 35.92 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.61e-05/0.1545, allocations: 4 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.1546, allocations: 33.64 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.1547, allocations: 55.91 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1547, allocations: 4 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1547, allocations: 0 / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.1547, allocations: 0 / 473.6 MB, free: 11.65 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.0005615/0.1553, allocations: 363.4 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.1554, allocations: 12.56 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.1554, allocations: 7.906 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1556, allocations: 187 kB / 474.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1557, allocations: 0 / 474.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1557, allocations: 3.953 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1558, allocations: 57.62 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1559, allocations: 0 / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1559, allocations: 4 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1559, allocations: 4 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.372e-05/0.156, allocations: 27.97 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.1564, allocations: 284.8 kB / 474.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.1566, allocations: 46.5 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.635e-05/0.1567, allocations: 20.94 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.1567, allocations: 4 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1568, allocations: 34.56 kB / 474.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1568, allocations: 0 / 474.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000577/0.1573, allocations: 165.3 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.1574, allocations: 55.41 kB / 474.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.1576, allocations: 138.1 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1576, allocations: 25.7 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.1576, allocations: 100 kB / 475.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.1577, allocations: 7.812 kB / 475.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.1577, allocations: 0 / 475.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1578, allocations: 330.8 kB / 475.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.191e-05/0.1579, allocations: 23.98 kB / 475.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.057e-05/0.158, allocations: 27.92 kB / 475.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.869e-05/0.158, allocations: 27.98 kB / 475.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.158, allocations: 0 / 475.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001905/0.1582, allocations: 101.5 kB / 475.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1583, allocations: 4 kB / 475.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1583, allocations: 3.938 kB / 475.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.1583, allocations: 288 / 475.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.93e-05/0.1584, allocations: 12 kB / 475.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1584, allocations: 7.984 kB / 475.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.597e-05/0.1584, allocations: 8 kB / 475.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.1584, allocations: 0 / 475.6 MB, free: 9.379 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 9.257e-05/0.1585, allocations: 121.7 kB / 475.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.1586, allocations: 11.89 kB / 475.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.1588, allocations: 109.9 kB / 475.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.1588, allocations: 4 kB / 475.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1588, allocations: 0 / 475.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1588, allocations: 0 / 475.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.1593, allocations: 366.8 kB / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1593, allocations: 0 / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.1593, allocations: 20 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1593, allocations: 0 / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1593, allocations: 3.984 kB / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1594, allocations: 0 / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1594, allocations: 0 / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.1596, allocations: 191.4 kB / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.1596, allocations: 89 kB / 476.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.1597, allocations: 0 / 476.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.443e-05/0.1597, allocations: 8 kB / 476.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.1598, allocations: 3.984 kB / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.1598, allocations: 0 / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.443e-05/0.1599, allocations: 117.8 kB / 476.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1599, allocations: 0 / 476.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000241/0.1601, allocations: 20 kB / 476.7 MB, free: 8.23 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.0009844/0.1611, allocations: 408.8 kB / 477.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.1613, allocations: 59.97 kB / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1613, allocations: 0 / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.1614, allocations: 27.98 kB / 477.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.1617, allocations: 19.94 kB / 477.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00046/0.1622, allocations: 188.6 kB / 477.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.1625, allocations: 0.6887 MB / 478.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.625e-05/0.1626, allocations: 15.97 kB / 478.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.1626, allocations: 11.44 kB / 478.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1626, allocations: 0 / 478.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of Templates: time 0.00425/0.1669, allocations: 1.02 MB / 479.1 MB, free: 5.914 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches