Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,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.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000746/0.000746, allocations: 95.91 kB / 17.35 MB, free: 6.375 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.0008526/0.0008527, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.431/1.431, allocations: 223.3 MB / 242.3 MB, free: 212 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.2008/0.2008, allocations: 44.25 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.0004081, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1396, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002169/0.1419, allocations: 1.293 MB / 473.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008303/0.1427, allocations: 407.4 kB / 473.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.1428, allocations: 4 kB / 473.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.1431, allocations: 63.84 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.1433, allocations: 67.73 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.1436, allocations: 95.08 kB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.1438, allocations: 71.88 kB / 474.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1439, allocations: 20.17 kB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.184e-05/0.144, allocations: 23.86 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.1441, allocations: 55.81 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.1441, allocations: 0 / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1442, allocations: 43.97 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.224e-05/0.1443, allocations: 15.92 kB / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.758e-05/0.1444, allocations: 57.45 kB / 474.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.1446, allocations: 95.97 kB / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1446, allocations: 0 / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1446, allocations: 0 / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1446, allocations: 0 / 474.5 MB, free: 11.03 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.0005244/0.1451, allocations: 395.1 kB / 474.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1452, allocations: 8.031 kB / 474.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.1452, allocations: 16.78 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.1454, allocations: 196 kB / 475.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1455, allocations: 8.375 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1455, allocations: 8.375 kB / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.1457, allocations: 61.59 kB / 475.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1457, allocations: 3.906 kB / 475.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1457, allocations: 4 kB / 475.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1457, allocations: 0 / 475.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.1458, allocations: 27.98 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.1463, allocations: 304.8 kB / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.1464, allocations: 46.56 kB / 475.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.1465, allocations: 20.94 kB / 475.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.1465, allocations: 4 kB / 475.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.1465, allocations: 34.56 kB / 475.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1465, allocations: 0 / 475.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009326/0.1475, allocations: 265 kB / 475.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1475, allocations: 55.41 kB / 476 MB, free: 9.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.1477, allocations: 214.1 kB / 476.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1478, allocations: 25.7 kB / 476.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.1478, allocations: 108 kB / 476.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.1479, allocations: 27.72 kB / 476.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.1479, allocations: 17.7 kB / 476.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.148, allocations: 318.8 kB / 476.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-05/0.1481, allocations: 39.97 kB / 476.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-05/0.1482, allocations: 31.98 kB / 476.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.1484, allocations: 80.81 kB / 476.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1484, allocations: 0 / 476.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002293/0.1486, allocations: 121.4 kB / 476.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1487, allocations: 8 kB / 476.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1487, allocations: 3.938 kB / 476.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1487, allocations: 0 / 476.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.1488, allocations: 19.98 kB / 477 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1488, allocations: 7.938 kB / 477 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.1489, allocations: 11.98 kB / 477 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1489, allocations: 4 kB / 477 MB, free: 8.359 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.0001197/0.149, allocations: 122.4 kB / 477.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.1491, allocations: 12.31 kB / 477.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.1494, allocations: 146.6 kB / 477.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1494, allocations: 4 kB / 477.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.1494, allocations: 7.922 kB / 477.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1494, allocations: 0 / 477.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005785/0.15, allocations: 431.2 kB / 477.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.15, allocations: 3.938 kB / 477.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.1501, allocations: 23.92 kB / 477.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1501, allocations: 0 / 477.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1501, allocations: 0 / 477.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.1501, allocations: 0 / 477.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1501, allocations: 4 kB / 477.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.1504, allocations: 216.2 kB / 477.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.1505, allocations: 100.9 kB / 478 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.1505, allocations: 4 kB / 478 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.1506, allocations: 8 kB / 478 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.1506, allocations: 7.984 kB / 478.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1507, allocations: 0 / 478.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.1508, allocations: 155.2 kB / 478.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1508, allocations: 4 kB / 478.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1511, allocations: 16 kB / 478.2 MB, free: 7.008 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.001056/0.1521, allocations: 454.3 kB / 478.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.1524, allocations: 79.89 kB / 478.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1524, allocations: 4 kB / 478.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1525, allocations: 47.91 kB / 478.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.1529, allocations: 27.58 kB / 478.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005187/0.1534, allocations: 282.4 kB / 479.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.1537, allocations: 0.7083 MB / 479.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.867e-05/0.1538, allocations: 24.94 kB / 479.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.1539, allocations: 15.44 kB / 479.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1539, allocations: 0 / 479.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of Templates: time 0.004151/0.158, allocations: 1.295 MB / 481.1 MB, free: 4.211 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches