Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 104.2 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.001119/0.001119, allocations: 191.9 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.329/1.329, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.1933/0.1933, allocations: 44.19 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 64.98 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1476, allocations: 60.82 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003385/0.1511, allocations: 1.576 MB / 470.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000766/0.1519, allocations: 399.3 kB / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.736e-05/0.1519, allocations: 4 kB / 471.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.1523, allocations: 127.6 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.1525, allocations: 87.77 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.1528, allocations: 99.19 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.153, allocations: 79.88 kB / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1531, allocations: 20.16 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.407e-05/0.1532, allocations: 39.84 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.1534, allocations: 83.78 kB / 471.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1534, allocations: 4 kB / 471.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.481e-05/0.1535, allocations: 47.97 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.1536, allocations: 31.86 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.1536, allocations: 35.69 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.1538, allocations: 112 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.1538, allocations: 3.938 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1539, allocations: 0 / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.1539, allocations: 3.938 kB / 472 MB, free: 11.64 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005881/0.1545, allocations: 422.8 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.1545, allocations: 12.03 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.1546, allocations: 12.84 kB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.1548, allocations: 207.9 kB / 472.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.1549, allocations: 4.375 kB / 472.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.1549, allocations: 4.312 kB / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.1551, allocations: 57.61 kB / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1551, allocations: 0 / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.1551, allocations: 7.984 kB / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1551, allocations: 3.984 kB / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.1552, allocations: 27.98 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.1557, allocations: 300.7 kB / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.96e-05/0.1558, allocations: 46.5 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.1558, allocations: 16.94 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1559, allocations: 0 / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.1559, allocations: 38.56 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1559, allocations: 0 / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008924/0.1568, allocations: 217.1 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.1569, allocations: 67.34 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.1571, allocations: 270.2 kB / 473.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.1572, allocations: 29.7 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.1573, allocations: 116 kB / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.1573, allocations: 27.64 kB / 473.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.1574, allocations: 21.72 kB / 473.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1575, allocations: 322.8 kB / 474.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.937e-05/0.1576, allocations: 27.98 kB / 474.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.471e-05/0.1577, allocations: 27.97 kB / 474.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.1578, allocations: 56.84 kB / 474.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1578, allocations: 3.984 kB / 474.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000187/0.158, allocations: 101.5 kB / 474.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.158, allocations: 8 kB / 474.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1581, allocations: 0 / 474.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1581, allocations: 4 kB / 474.4 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1582, allocations: 19.92 kB / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.1582, allocations: 7.938 kB / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.651e-05/0.1582, allocations: 0 / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1583, allocations: 7.984 kB / 474.4 MB, free: 8.965 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 (8): * Single equations (assignments): 8 * 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.0001167/0.1584, allocations: 133.8 kB / 474.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.1584, allocations: 11.81 kB / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.1587, allocations: 127.3 kB / 474.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1587, allocations: 3.984 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.1587, allocations: 7.875 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1587, allocations: 4 kB / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004867/0.1592, allocations: 407.3 kB / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1592, allocations: 0 / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.084e-05/0.1593, allocations: 27.95 kB / 475.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1593, allocations: 0 / 475.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1593, allocations: 4 kB / 475.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1593, allocations: 0 / 475.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1593, allocations: 0 / 475.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.1596, allocations: 208.1 kB / 475.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.1596, allocations: 93.28 kB / 475.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.1597, allocations: 4 kB / 475.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.1597, allocations: 7.938 kB / 475.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.1598, allocations: 7.984 kB / 475.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.1598, allocations: 4 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001717/0.16, allocations: 199.2 kB / 475.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.16, allocations: 0 / 475.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.1602, allocations: 23.98 kB / 475.7 MB, free: 7.609 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001068/0.1613, allocations: 463.1 kB / 476.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002375/0.1616, allocations: 71.91 kB / 476.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1616, allocations: 0 / 476.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-05/0.1617, allocations: 35.91 kB / 476.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.162, allocations: 19.94 kB / 476.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.1626, allocations: 307.4 kB / 476.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.1628, allocations: 0.7119 MB / 477.3 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.36e-05/0.1629, allocations: 12.97 kB / 477.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.1629, allocations: 27.31 kB / 477.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1629, allocations: 0 / 477.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of Templates: time 0.003942/0.1669, allocations: 1.346 MB / 478.6 MB, free: 4.762 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches