Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009863/0.0009865, allocations: 93.61 kB / 18 MB, free: 5.738 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.00119/0.001191, allocations: 175.7 kB / 18.91 MB, free: 4.871 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.453/1.453, allocations: 223.3 MB / 243 MB, free: 204 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.196/0.196, allocations: 44.24 MB / 338.3 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003152, allocations: 12 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1212, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.001962/0.1232, allocations: 1.294 MB / 474.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008653/0.1241, allocations: 407.4 kB / 474.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.007e-05/0.1242, allocations: 0 / 474.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.1245, allocations: 75.77 kB / 474.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.1247, allocations: 59.88 kB / 474.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.1251, allocations: 95.45 kB / 474.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.1253, allocations: 71.81 kB / 474.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1254, allocations: 16.17 kB / 474.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.513e-05/0.1255, allocations: 35.78 kB / 474.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.1256, allocations: 47.89 kB / 475 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.1257, allocations: 0 / 475 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.1258, allocations: 47.97 kB / 475 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/0.1259, allocations: 15.92 kB / 475.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.1259, allocations: 53.45 kB / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.1261, allocations: 76.16 kB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1261, allocations: 0 / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1261, allocations: 0 / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1262, allocations: 0 / 475.2 MB, free: 11.05 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.0005696/0.1267, allocations: 403 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.1268, allocations: 8.031 kB / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.1268, allocations: 8.844 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.1271, allocations: 192.1 kB / 475.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.1271, allocations: 4.375 kB / 475.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.1271, allocations: 4.375 kB / 475.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.1273, allocations: 61.61 kB / 475.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1273, allocations: 7.906 kB / 475.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1273, allocations: 3.938 kB / 475.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1274, allocations: 0 / 475.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1275, allocations: 39.89 kB / 475.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.128, allocations: 300.8 kB / 476.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.1281, allocations: 50.56 kB / 476.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.1282, allocations: 16.95 kB / 476.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.1282, allocations: 7.984 kB / 476.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1282, allocations: 34.5 kB / 476.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.1282, allocations: 0 / 476.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009933/0.1292, allocations: 261.1 kB / 476.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.1293, allocations: 59.39 kB / 476.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.1295, allocations: 206.1 kB / 476.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.1295, allocations: 33.7 kB / 476.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.1296, allocations: 104 kB / 477 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.1296, allocations: 31.7 kB / 477 MB, free: 9.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.1297, allocations: 9.719 kB / 477 MB, free: 9.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1298, allocations: 330.8 kB / 477.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.1299, allocations: 31.97 kB / 477.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.86e-05/0.13, allocations: 36.05 kB / 477.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.1302, allocations: 84.81 kB / 477.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.1302, allocations: 3.938 kB / 477.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000242/0.1304, allocations: 125.5 kB / 477.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1305, allocations: 4 kB / 477.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1305, allocations: 0 / 477.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1305, allocations: 4 kB / 477.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.1306, allocations: 19.98 kB / 477.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1306, allocations: 3.938 kB / 477.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/0.1307, allocations: 4 kB / 477.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1307, allocations: 4 kB / 477.6 MB, free: 8.379 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.0001018/0.1308, allocations: 134.3 kB / 477.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.1308, allocations: 7.906 kB / 477.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.1312, allocations: 138.3 kB / 477.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1312, allocations: 0 / 477.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1312, allocations: 3.938 kB / 477.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1312, allocations: 8 kB / 477.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.1318, allocations: 419.2 kB / 478.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1318, allocations: 0 / 478.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/0.1319, allocations: 23.97 kB / 478.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1319, allocations: 0 / 478.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1319, allocations: 8 kB / 478.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.1319, allocations: 7.922 kB / 478.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1319, allocations: 0 / 478.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.1322, allocations: 224.6 kB / 478.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.1323, allocations: 88.95 kB / 478.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.1323, allocations: 3.984 kB / 478.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.1324, allocations: 8 kB / 478.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.1324, allocations: 8.406 kB / 478.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.1324, allocations: 8 kB / 478.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.1326, allocations: 159.2 kB / 478.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1326, allocations: 0 / 478.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1329, allocations: 16 kB / 478.9 MB, free: 7.027 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.001098/0.134, allocations: 465.8 kB / 479.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.1342, allocations: 79.95 kB / 479.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1342, allocations: 0 / 479.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.1343, allocations: 47.97 kB / 479.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1347, allocations: 23.94 kB / 479.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.1353, allocations: 311.9 kB / 479.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.1356, allocations: 0.716 MB / 480.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.1356, allocations: 19.42 kB / 480.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1356, allocations: 0 / 480.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of Templates: time 0.004026/0.1397, allocations: 1.729 MB / 482.2 MB, free: 3.766 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches