Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,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.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 104 kB / 17.63 MB, free: 5.523 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.001147/0.001147, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.353/1.353, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.1964/0.1964, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 67.86 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1471, allocations: 60.83 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003524/0.1507, allocations: 1.541 MB / 470.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007365/0.1515, allocations: 399.3 kB / 471.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.626e-05/0.1515, allocations: 4 kB / 471.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.1517, allocations: 23.84 kB / 471.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.1519, allocations: 31.84 kB / 471.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.1522, allocations: 90.91 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.1523, allocations: 59.84 kB / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1524, allocations: 15.97 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.175e-05/0.1525, allocations: 15.94 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.527e-05/0.1526, allocations: 19.86 kB / 471.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.1526, allocations: 4 kB / 471.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.356e-05/0.1527, allocations: 35.92 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.968e-05/0.1527, allocations: 15.92 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.1528, allocations: 19.86 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.1529, allocations: 67.8 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1529, allocations: 4 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1529, allocations: 0 / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1529, allocations: 3.938 kB / 471.6 MB, free: 12.02 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.0004828/0.1534, allocations: 367.6 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1535, allocations: 8.031 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.1535, allocations: 12.84 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.1537, allocations: 188.2 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1538, allocations: 4.375 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.1538, allocations: 12.3 kB / 472.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1539, allocations: 57.75 kB / 472.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.154, allocations: 3.906 kB / 472.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.154, allocations: 0 / 472.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.154, allocations: 4 kB / 472.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.108e-05/0.1541, allocations: 23.97 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.1545, allocations: 264.9 kB / 472.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.1547, allocations: 50.5 kB / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/0.1548, allocations: 20.94 kB / 472.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1548, allocations: 0 / 472.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.1548, allocations: 30.56 kB / 472.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.1548, allocations: 0 / 472.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005406/0.1554, allocations: 141.3 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.1554, allocations: 51.41 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.1556, allocations: 149.4 kB / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.1556, allocations: 29.7 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.1557, allocations: 88.14 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.1557, allocations: 15.81 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.1558, allocations: 21.7 kB / 473.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1559, allocations: 318.8 kB / 473.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.761e-05/0.156, allocations: 19.98 kB / 473.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.405e-05/0.156, allocations: 19.98 kB / 473.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.1562, allocations: 44.77 kB / 473.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1562, allocations: 0 / 473.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001701/0.1563, allocations: 85.58 kB / 473.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1564, allocations: 4 kB / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1564, allocations: 0 / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1564, allocations: 4 kB / 473.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.702e-05/0.1565, allocations: 11.98 kB / 473.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.1565, allocations: 3.984 kB / 473.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.678e-05/0.1565, allocations: 7.984 kB / 473.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.1565, allocations: 0 / 473.6 MB, free: 9.77 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.917e-05/0.1566, allocations: 125.7 kB / 473.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.1567, allocations: 11.91 kB / 473.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.1569, allocations: 94.22 kB / 473.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1569, allocations: 0 / 473.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1569, allocations: 7.875 kB / 473.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.1569, allocations: 0 / 473.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.1573, allocations: 342.5 kB / 474.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1574, allocations: 4 kB / 474.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.968e-05/0.1574, allocations: 11.98 kB / 474.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1574, allocations: 4 kB / 474.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1574, allocations: 0 / 474.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.1574, allocations: 3.938 kB / 474.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1574, allocations: 0 / 474.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.1577, allocations: 179.4 kB / 474.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.1577, allocations: 85.02 kB / 474.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.1577, allocations: 4 kB / 474.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.1578, allocations: 3.938 kB / 474.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.1579, allocations: 12.2 kB / 474.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.1579, allocations: 0 / 474.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.392e-05/0.158, allocations: 107.3 kB / 474.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.158, allocations: 0 / 474.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.1583, allocations: 23.98 kB / 474.6 MB, free: 8.664 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 (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.001179/0.1595, allocations: 413.8 kB / 475 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.1597, allocations: 43.97 kB / 475.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1597, allocations: 0 / 475.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.599e-05/0.1598, allocations: 23.92 kB / 475.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.1602, allocations: 15.98 kB / 475.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005175/0.1607, allocations: 169.5 kB / 475.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006256/0.1614, allocations: 0.6885 MB / 475.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.576e-05/0.1614, allocations: 4 kB / 476 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.1615, allocations: 15.44 kB / 476 MB, free: 7.398 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1615, allocations: 4 kB / 476 MB, free: 7.395 MB / 350.1 MB Notification: Performance of Templates: time 0.004578/0.1661, allocations: 1.084 MB / 477.1 MB, free: 6.32 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches