Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007759/0.0007761, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.0009534/0.0009536, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.33/1.33, allocations: 223.2 MB / 242.3 MB, free: 220 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.1966/0.1966, allocations: 44.24 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004, allocations: 19.98 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1422, allocations: 61.92 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002658/0.145, allocations: 1.417 MB / 473.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.1466, allocations: 0.8421 MB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.1468, allocations: 3.938 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000372/0.1471, allocations: 43.88 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.1474, allocations: 55.81 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.1478, allocations: 95.02 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.148, allocations: 91.7 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.1481, allocations: 16.22 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.1483, allocations: 39.78 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.1484, allocations: 27.86 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.1484, allocations: 0 / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.1486, allocations: 39.98 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.544e-05/0.1487, allocations: 35.83 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.1488, allocations: 57.45 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.149, allocations: 115.8 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.149, allocations: 4 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.1491, allocations: 0 / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1491, allocations: 4 kB / 475.1 MB, free: 10.43 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006475/0.1497, allocations: 403.1 kB / 475.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.1498, allocations: 12.03 kB / 475.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.1498, allocations: 8.844 kB / 475.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.1501, allocations: 220.4 kB / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.1501, allocations: 8.312 kB / 475.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1502, allocations: 8.125 kB / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1503, allocations: 53.67 kB / 475.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1504, allocations: 4 kB / 475.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1504, allocations: 0 / 475.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1504, allocations: 4 kB / 475.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.367e-05/0.1505, allocations: 15.98 kB / 475.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.1509, allocations: 288.8 kB / 476.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.1511, allocations: 66.61 kB / 476.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.226e-05/0.1511, allocations: 16.86 kB / 476.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.1512, allocations: 0 / 476.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.1514, allocations: 75.38 kB / 476.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1514, allocations: 0 / 476.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005657/0.1519, allocations: 173.1 kB / 476.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.152, allocations: 59.41 kB / 476.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.1522, allocations: 226.6 kB / 476.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.1522, allocations: 25.7 kB / 476.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.1523, allocations: 108.1 kB / 476.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.1524, allocations: 31.62 kB / 476.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.1524, allocations: 13.72 kB / 476.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1525, allocations: 326.8 kB / 477.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.042e-05/0.1526, allocations: 27.92 kB / 477.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.529e-05/0.1527, allocations: 37.7 kB / 477.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.1528, allocations: 57.72 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1528, allocations: 0 / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00019/0.153, allocations: 101.4 kB / 477.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.153, allocations: 10.66 kB / 477.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.153, allocations: 0 / 477.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.153, allocations: 0 / 477.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.125e-05/0.1531, allocations: 20.02 kB / 477.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1531, allocations: 4 kB / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.1532, allocations: 8.312 kB / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1532, allocations: 4 kB / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001044/0.1533, allocations: 133.8 kB / 477.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.1533, allocations: 19.75 kB / 477.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.41e-05/0.1534, allocations: 17.56 kB / 477.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1534, allocations: 4 kB / 477.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.1534, allocations: 7.984 kB / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1535, allocations: 7.938 kB / 477.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.1539, allocations: 395.3 kB / 478.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1539, allocations: 0 / 478.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.1539, allocations: 8 kB / 478.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.154, allocations: 0 / 478.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.154, allocations: 11.92 kB / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.154, allocations: 0 / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.154, allocations: 0 / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.1542, allocations: 208.2 kB / 478.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.1543, allocations: 85.02 kB / 478.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.1543, allocations: 15.92 kB / 478.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.1544, allocations: 0 / 478.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.1544, allocations: 4 kB / 478.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.1545, allocations: 8.172 kB / 478.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.1546, allocations: 176.3 kB / 478.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1546, allocations: 3.938 kB / 478.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1549, allocations: 20 kB / 478.6 MB, free: 6.617 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00108/0.156, allocations: 473.8 kB / 479.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.1561, allocations: 55.91 kB / 479.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1561, allocations: 0 / 479.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.631e-05/0.1562, allocations: 35.92 kB / 479.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.1566, allocations: 23.11 kB / 479.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.1571, allocations: 290.3 kB / 479.5 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1574, allocations: 0.7121 MB / 480.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.587e-05/0.1574, allocations: 21.17 kB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.1575, allocations: 15.44 kB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1575, allocations: 0 / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of Templates: time 0.004431/0.1619, allocations: 1.631 MB / 481.8 MB, free: 3.516 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches