Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 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.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001188, allocations: 101.2 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 186 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.188/2.188, allocations: 205.4 MB / 223.1 MB, free: 5.766 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.5092/0.5092, allocations: 43.58 MB / 315 MB, free: 8.973 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.0005596/0.0005599, allocations: 16 kB / 384.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1506, allocations: 58.86 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.002102/0.1527, allocations: 1.279 MB / 444.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006596/0.1534, allocations: 319.6 kB / 445 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.224e-05/0.1535, allocations: 0 / 445 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.1537, allocations: 15.92 kB / 445 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.1538, allocations: 27.91 kB / 445.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.1541, allocations: 83.84 kB / 445.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.1542, allocations: 55.89 kB / 445.2 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1544, allocations: 15.97 kB / 445.2 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.877e-05/0.1544, allocations: 23.81 kB / 445.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.412e-05/0.1545, allocations: 11.92 kB / 445.3 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1545, allocations: 4 kB / 445.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.613e-05/0.1546, allocations: 31.98 kB / 445.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.1546, allocations: 11.92 kB / 445.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.1547, allocations: 41.58 kB / 445.4 MB, free: 11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.1548, allocations: 72 kB / 445.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1549, allocations: 4 kB / 445.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1549, allocations: 0 / 445.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.1549, allocations: 0 / 445.4 MB, free: 10.93 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004535/0.1553, allocations: 367.2 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1554, allocations: 12.03 kB / 445.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.1554, allocations: 8.844 kB / 445.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.1556, allocations: 192.2 kB / 446 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1556, allocations: 4.375 kB / 446 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.853e-05/0.1557, allocations: 4.375 kB / 446 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1558, allocations: 49.81 kB / 446 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1558, allocations: 7.906 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1558, allocations: 0 / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1559, allocations: 0 / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.156, allocations: 31.95 kB / 446.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.1564, allocations: 288.8 kB / 446.4 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.1566, allocations: 46.56 kB / 446.4 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.1567, allocations: 20.94 kB / 446.4 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.1567, allocations: 0 / 446.4 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1567, allocations: 34.56 kB / 446.5 MB, free: 9.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.354e-06/0.1567, allocations: 0 / 446.5 MB, free: 9.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005772/0.1573, allocations: 169.3 kB / 446.6 MB, free: 9.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.1574, allocations: 51.41 kB / 446.7 MB, free: 9.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.1575, allocations: 149.6 kB / 446.8 MB, free: 9.332 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.1575, allocations: 25.7 kB / 446.9 MB, free: 9.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.1576, allocations: 96.12 kB / 447 MB, free: 9.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.1576, allocations: 19.75 kB / 447 MB, free: 9.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.1576, allocations: 9.719 kB / 447 MB, free: 9.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1578, allocations: 326.8 kB / 447.3 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.268e-05/0.1578, allocations: 23.98 kB / 447.3 MB, free: 8.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.381e-05/0.1579, allocations: 23.98 kB / 447.3 MB, free: 8.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.1581, allocations: 64.83 kB / 447.4 MB, free: 8.727 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1581, allocations: 0 / 447.4 MB, free: 8.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000189/0.1583, allocations: 93.56 kB / 447.5 MB, free: 8.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1583, allocations: 7.938 kB / 447.5 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1583, allocations: 0 / 447.5 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.1583, allocations: 4 kB / 447.5 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.052e-05/0.1584, allocations: 20.17 kB / 447.5 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1584, allocations: 4 kB / 447.5 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.905e-05/0.1585, allocations: 8 kB / 447.5 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.1585, allocations: 0 / 447.5 MB, free: 8.586 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 (5): * Single equations (assignments): 5 * 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 9.218e-05/0.1586, allocations: 121.8 kB / 447.7 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.1586, allocations: 7.906 kB / 447.7 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.1588, allocations: 106 kB / 447.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1589, allocations: 0 / 447.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1589, allocations: 0 / 447.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1589, allocations: 0 / 447.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.1593, allocations: 370.4 kB / 448.1 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1593, allocations: 0 / 448.1 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.376e-05/0.1594, allocations: 19.92 kB / 448.2 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1594, allocations: 0 / 448.2 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.1594, allocations: 0 / 448.2 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1594, allocations: 3.938 kB / 448.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1594, allocations: 0 / 448.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.1596, allocations: 199.4 kB / 448.4 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.1597, allocations: 81.02 kB / 448.4 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.1597, allocations: 4 kB / 448.4 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.069e-05/0.1598, allocations: 15.92 kB / 448.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.1598, allocations: 0 / 448.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1598, allocations: 4.188 kB / 448.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.308e-05/0.1599, allocations: 115.2 kB / 448.6 MB, free: 7.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1599, allocations: 0 / 448.6 MB, free: 7.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.1602, allocations: 12 kB / 448.6 MB, free: 7.438 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 (5): * Single equations (assignments): 5 * 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.0009371/0.1611, allocations: 406.7 kB / 449 MB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.1613, allocations: 67.91 kB / 449 MB, free: 6.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1613, allocations: 0 / 449 MB, free: 6.996 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.024e-05/0.1614, allocations: 31.97 kB / 449.1 MB, free: 6.965 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.1618, allocations: 11.94 kB / 449.1 MB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.1621, allocations: 192.7 kB / 449.3 MB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.1624, allocations: 0.6887 MB / 450 MB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.814e-05/0.1625, allocations: 24.2 kB / 450 MB, free: 6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.1625, allocations: 19.44 kB / 450 MB, free: 5.984 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1625, allocations: 0 / 450 MB, free: 5.984 MB / 382.1 MB Notification: Performance of Templates: time 0.003708/0.1663, allocations: 1.026 MB / 451 MB, free: 4.957 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches